Function at 0x10060560
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1012b067
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x374], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x38c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x39c]
mov ebp, dword [esp + 0x3a0]
mov esi, ecx
lea ecx, [esp + 0x264]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
call fcn.1005f360
push ebp
lea ebx, [esp + 0x268]
mov dword [esp + 0x398], 0
call fcn.10060ca0
test al, al
je 0x10060620
push 0
push edi
mov ecx, ebx
call fcn.100602f0
test al, al
jne 0x10060620
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x380], 0
jne 0x10060619
mov eax, dword [esp + 0x26c]
lea ecx, [esp + 0x270]
cmp eax, ecx
je 0x10060619
push eax
call fcn.100cf89b
add esp, 4
xor al, al
jmp 0x100607ee
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x1006062f
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
add eax, 4
push eax
call edi
cmp byte [ebp + 0x11c], 0
lea ecx, [ebp + 0xc]
jne 0x1006064f
mov ecx, dword [ebp + 8]
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x1006065e
mov eax, dword [esi + 8]
movzx edx, byte [esp + 0x3a4]
push edx
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10060777
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov edi, eax
call fcn.100619a0
mov esi, eax
call fcn.100621c0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.100619a0
cmp byte [ebp + 0x11c], 0
je 0x100606b6
add ebp, 0xc
jmp 0x100606b9
mov ebp, dword [ebp + 8]
lea edi, [esp + 0x1c]
call fcn.10062500
lea eax, [ebp + 4]
mov edx, edi
call fcn.10062710
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x11c], 0
lea esi, [eax + 0xc]
jne 0x100606df
mov esi, dword [eax + 8]
lea edi, [esp + 0x140]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
mov eax, edi
push eax
push 0x101452c0
mov ecx, ebx
mov byte [esp + 0x39c], 4
call fcn.100619a0
mov esi, eax
lea eax, [esp + 0x24]
call fcn.100623c0
cmp byte [esp + 0x25c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x140], esi
jne 0x10060748
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x14c]
cmp eax, ecx
je 0x10060748
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], esi
jne 0x1006076b
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x1006076b
push eax
call fcn.100cf89b
add esp, 4
mov dword [esp + 0x264], esi
jmp 0x100605f4
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x10060786
mov eax, dword [ebp + 8]
push 0x80
add eax, 4
push eax
call edi
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x100607a0
mov eax, dword [ebp + 8]
push 1
push 0x10000000
add eax, 4
push 1
push eax
call fcn.10064f50
add esp, 0x10
mov eax, ebp
call fcn.10061230
cmp byte [esp + 0x380], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x100607ec
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x100607ec
push eax
call fcn.100cf89b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x374]
xor ecx, esp
call fcn.100cf604
add esp, 0x384
ret 0xc