Function at 0x4372b0
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5c78db
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov edi, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
xor ebx, ebx
mov ebp, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
cmp dword [edi + 0x14], ebp
jb 0x437315
mov esi, dword [edi]
jmp 0x437317
mov esi, edi
cmp dword [eax + 0x14], ebp
jb 0x43731e
mov eax, dword [eax]
xor ecx, ecx
cmp byte [esp + 0x16c], bl
sete cl
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x437808
xor al, al
lea ecx, [ecx]
cmp al, bl
jne 0x43739f
lea edx, [esp + 0x12c]
push 0x5fcf00
push edx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov dword [esp + 0x15c], ebx
cmp dword [0x695aa8], ebx
je 0x437383
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x437383
call fcn.004443b0
jmp 0x437388
mov al, byte [0x68a580]
cmp al, bl
je 0x43739f
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x4373a3
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x15c], 0xffffffff
je 0x4373e3
mov eax, dword [esp + 0x148]
and dword [esp + 0x18], 0xfffffffe
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x140], ebp
jb 0x4373e3
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x437804
push str.Failed_to_copy_the_file__s_to__s
lea ecx, [esp + 0x10c]
call fcn.00402bb0
mov ebp, 7
xor edx, edx
mov dword [esp + 0x15c], 1
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
xor eax, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x15c], 3
call fcn.00425e70
cmp eax, ebx
je 0x43746d
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x110]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x43747d
lea edx, [esp + 0x108]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x15c], 4
call fcn.00420510
mov dword [esp + 0x2c], eax
mov byte [esp + 0x15c], 5
call fcn.00420510
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
push str.wx.sys_error
lea ecx, [esp + 0xe8]
mov byte [esp + 0x160], 6
call fcn.00402bb0
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x90], esp
push eax
mov ecx, edi
call fcn.00406280
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0xa0], esp
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00406280
mov byte [esp + 0x174], 9
mov dword [esp + 0xa4], 1
mov dword [esp + 0xac], str....._srccommon_filefn.cpp
mov dword [esp + 0xb4], str.wxCopyFile
mov dword [esp + 0xb0], 0x389
mov dword [esp + 0xb8], 0x5fcf00
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor edx, edx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], dx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov byte [esp + 0x174], 0xa
call sub.KERNEL32.dll_GetLastError
push 0xffffffffffffffff
mov edi, eax
push ebx
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0xe0]
call fcn.00402610
mov ecx, dword [esp + 0xd0]
cmp ecx, ebx
jne 0x437625
push 0x20
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
mov byte [esp + 0x174], 0xb
cmp esi, ebx
je 0x437614
push 0x64
call fcn.00447710
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call fcn.00585c5e
mov dword [esi], eax
push 0x64
mov byte [esp + 0x184], 0xc
call fcn.00447710
push 4
push eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
call fcn.00585c5e
add esp, 0x18
mov dword [esi + 0x10], eax
mov ecx, esi
jmp 0x437616
xor ecx, ecx
mov byte [esp + 0x174], 0xa
mov dword [esp + 0xd0], ecx
lea edx, [esp + 0xfc]
push edx
call fcn.004775a0
mov dword [eax], edi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 0xd
call fcn.00435570
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0xd0], edi
jb 0x43767b
mov edx, dword [esp + 0xbc]
push edx
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0xb8]
xor eax, eax
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], ax
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4376fa
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
push 0x40b5f0
push ecx
push edx
mov byte [esp + 0x168], 0xe
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0x475ea0
push eax
push ecx
mov byte [esp + 0x178], 7
call fcn.00447740
mov eax, dword [esi]
push eax
mov dword [esi + 8], ebx
call fcn.005844d1
push esi
call fcn.00584768
add esp, 0x24
mov edi, 8
mov edx, dword [esp + 0x100]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf8], edi
jb 0x437723
mov eax, dword [esp + 0xe4]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0xe4], cx
lea ecx, [esp + 0x28]
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0x15c], 3
call fcn.004020c0
mov edx, dword [esp + 0x58]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x50], edi
jb 0x43776c
mov eax, dword [esp + 0x3c]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x7c]
xor ecx, ecx
push edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x74], edi
jb 0x43779b
mov eax, dword [esp + 0x60]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x124]
xor ecx, ecx
push edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
mov dword [esp + 0x160], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x11c], edi
jb 0x4377de
mov eax, dword [esp + 0x108]
push eax
call fcn.00584768
add esp, 4
mov edi, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x11c], ebp
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], cx
mov al, 1
lea ebp, [ecx + 8]
jmp 0x437340
xor al, al
jmp 0x43780a
mov al, 1
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.00585b7b
add esp, 0x14c
ret