Function at 0x4013c8
Capabilities:
Copy file

Disassembly:
mov eax, 0x5e46a4
call fcn.005c3f5c
sub esp, 0x828
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.0040326e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040326e
mov byte [ebp - 4], 1
push 0x62ae34
lea ecx, [ebp - 0x18]
call fcn.004032b0
mov byte [ebp - 4], 2
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004d1830
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401017
test bl, bl
je 0x401438
push dword [ebp - 0x14]
lea ecx, [edi + 0xa4]
call fcn.00402481
push 0x62add4
lea ecx, [ebp + 8]
call fcn.004032b0
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004d17f0
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401017
test bl, bl
je 0x401470
mov dword [edi + 0x114], 1
push 0x62adc0
lea ecx, [ebp + 8]
call fcn.004032b0
mov byte [ebp - 4], 4
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004d17f0
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401017
test bl, bl
je 0x401543
lea eax, [ebp - 0x34]
push eax
call fcn.00406ba8
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x4014bb
mov eax, dword [eax + 4]
jmp 0x4014be
add eax, 4
mov edi, 0x62b268
lea ecx, [ebp - 0x434]
call fcn.0041e9d0
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00403955
and dword [ebp + 8], 0
push 0x62b28c
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00574520
add esp, 0xc
test eax, eax
jne 0x401518
push 0x64
push str.r_d_n
push dword [ebp + 8]
call fcn.00574573
push dword [ebp + 8]
call fcn.00574721
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401017
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401017
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push 0x62ae00
lea ecx, [ebp + 8]
call fcn.004032b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004d1830
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401017
test bl, bl
je 0x40165b
mov esi, 0x200
push esi
lea eax, [ebp - 0x834]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x10]
call fcn.004069eb
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4015c0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jl 0x401597
jmp 0x40163a
xor eax, eax
push 0x3fe
mov word [ebp - 0x434], ax
xor ebx, ebx
lea eax, [ebp - 0x432]
push ebx
push eax
call fcn.00576e90
push 0x62b29c
lea eax, [ebp - 0x434]
push esi
push eax
call fcn.0041ee90
add esp, 0x18
cmp dword [edi + 0xb8], ebx
je 0x401623
lea eax, [edi + 0xa4]
cmp dword [eax + 0x18], 8
jb 0x40160b
mov eax, dword [eax + 4]
jmp 0x40160e
add eax, 4
push eax
mov ecx, esi
push str.__p___s_
lea esi, [ebp - 0x434]
call fcn.0041ebc0
pop ecx
pop ecx
call fcn.0040105e
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x434]
push ebx
push eax
call fcn.004072c0
pop ecx
pop ecx
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401017
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401017
mov al, bl
jmp 0x401532
mov bl, 1
jmp 0x40163c