Function at 0x41600a
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56440a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x58]
call fcn.00418bb8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0054d095
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0054d095
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.00418d12
test eax, eax
je 0x41625f
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.00418d12
test eax, eax
je 0x41625f
lea ecx, [ebp - 0x2c]
call fcn.0054c3ab
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.00417ce1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x416253
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.0041696c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x416253
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
jmp 0x4160de
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jge 0x416253
mov ecx, dword [0x5be480]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
lea ecx, [edx + eax*4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0054d46f
mov edx, dword [ebp - 0x58]
cmp dword [edx + 4], 0
je 0x416121
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx + 4]
call fcn.00551562
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0054d567
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0054d567
mov byte [ebp - 4], 5
push 0
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41622a
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x5a94f8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.0054d567
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0054d5cd
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0054d567
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.0054d567
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.00418bd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
call fcn.0054d328
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0054d328
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.0054d328
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0054d328
jmp 0x4160d5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0054c3de
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0054d328
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8