Function at 0x403c8b
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6f0
push ebx
push esi
push edi
xor edi, edi
push 0x20
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.004189f0
add esp, 0xc
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x40], esi
push edi
mov dword [ebp - 0x50], 1
push dword [ebp + 8]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], edi
push dword [ebp + 0xc]
push eax
call dword [0x4422f0]
test eax, eax
je 0x403cdd
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403f07
lea eax, [ebp - 0x2e8]
push 0x190
push eax
push 0xffffffffffffffff
push esi
push edi
push edi
mov dword [ebp - 0x20], 0x428b50
mov dword [ebp - 0x1c], 0x428b3c
mov dword [ebp - 0x18], 0x428b28
mov dword [ebp - 0x14], 0x428b24
mov dword [ebp - 0x10], 0x428b20
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2e8]
push eax
call dword [0x442180]
test eax, eax
jne 0x403f04
cmp dword [ebp - 8], edi
je 0x403f04
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
mov esi, 0x43246c
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
lea eax, [ebp - 0x158]
push dword [ebp + 0x10]
push 0x428b14
push eax
call fcn.00418f47
add esp, 0x14
lea eax, [ebp - 0x158]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, eax
cmp ebx, edi
jne 0x403dfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x403dd8
lea eax, [ebp - 0x158]
push edi
push eax
call fcn.00419c84
pop ecx
test eax, eax
pop ecx
jne 0x403dd8
call fcn.004191ca
push 0xa
cdq
pop ecx
idiv ecx
lea eax, [ebp - 0x158]
push eax
mov ebx, edx
add bl, 0x30
call fcn.00418970
pop ecx
lea ecx, [ebp - 0x158]
push edi
sub ecx, 5
mov byte [eax + ecx], bl
lea eax, [ebp - 0x158]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, eax
cmp ebx, edi
jne 0x403dfb
inc dword [ebp - 4]
add dword [ebp - 0xc], 4
cmp dword [ebp - 4], 5
jb 0x403d4a
cmp ebx, edi
jne 0x403dfb
push dword [ebp - 8]
call dword [0x4422d8]
jmp 0x403f07
mov ecx, dword [ebp - 8]
push 0x3c
xor edx, edx
pop ebx
mov eax, dword [ecx]
push 0x10
div ebx
xor edx, edx
push edi
sub eax, dword [ecx + 0x18]
mov ecx, 0x5a0
inc eax
inc eax
div ecx
lea eax, [ebp - 0x34]
push eax
mov ebx, edx
call fcn.004189f0
imul ebx, ebx, 0xea60
add esp, 0xc
lea eax, [ebp - 0x6f0]
mov dword [ebp - 0x34], ebx
push 0x208
push eax
push 0xffffffffffffffff
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x6f0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2e8]
push eax
call dword [0x4421c8]
test eax, eax
jne 0x403f04
push 0x43afa4
push dword [ebp + 0xc]
call fcn.00419c00
pop ecx
test eax, eax
pop ecx
mov eax, 0x428b04
je 0x403e87
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push dword [ebp + 8]
push dword [ebp + eax*4 - 0x20]
mov eax, dword [ebp + 0xbc]
imul eax, eax, 0x3c
push dword [ebp + 0x10]
add eax, 0x429e3a
push eax
push 0x428ad0
lea eax, [ebp - 0x4e8]
push 0x200
push eax
call fcn.00418916
add esp, 0x20
cmp dword [ebp + 0xc8], edi
jne 0x403ee2
push edi
lea eax, [ebp - 0x4e8]
push dword [ebp + 0xc4]
push eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x14]
call fcn.0040a474
add esp, 0x14
lea eax, [ebp - 0x4e8]
push eax
call fcn.00405616
mov eax, dword [ebp + 0xbc]
pop ecx
imul eax, eax, 0x3c
inc dword [eax + 0x429e60]
lea eax, [eax + 0x429e60]
push 1
pop edi
push 1
push 1
push dword [ebp + 0x10]
call dword [0x4422b0]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret