Function at 0x4ec504
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4ec50c
push ebx
push esi
push edi
mov eax, 0x4ebf2c
call fcn.00406fc0
xor eax, eax
push ebp
push 0x4ec971
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [0x4f3134]
mov eax, dword [eax]
call fcn.00475048
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040a0fc
mov edx, dword [ebp - 0x14]
mov eax, 0x4f52ec
call fcn.00404cf0
lea edx, [ebp - 0x20]
mov eax, dword [0x4f3134]
mov eax, dword [eax]
call fcn.00475048
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a184
mov edx, dword [ebp - 0x1c]
mov eax, 0x4f52f4
call fcn.00404cf0
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4f52f4
mov cl, 1
mov edx, 0x4ec988
call fcn.0047afb0
mov edx, dword [ebp - 0x24]
mov eax, 0x4f52f0
call fcn.00404cf0
lea edx, [ebp - 0x28]
mov eax, dword [0x4f2d24]
mov eax, dword [eax]
call fcn.004d59c4
mov edx, dword [ebp - 0x28]
mov eax, 0x4f52f4
call fcn.00404cf0
mov eax, dword [0x4f2d20]
mov eax, dword [eax]
call fcn.004ebb08
call fcn.004cbf3c
lea eax, [ebp - 0x2c]
mov ecx, 0x4ec994
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x2c]
call fcn.00409ca8
test al, al
je 0x4ec607
lea eax, [ebp - 0x30]
mov ecx, 0x4ec994
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x30]
call fcn.00409fa4
lea eax, [ebp - 0x34]
mov ecx, 0x4ec9a8
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x34]
call fcn.00409ca8
test al, al
je 0x4ec641
lea eax, [ebp - 0x38]
mov ecx, 0x4ec9a8
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x38]
call fcn.00409fa4
call fcn.004e4f00
xor al, 1
mov edx, dword [0x4f2ebc]
mov byte [edx], al
mov eax, dword [0x4f2ebc]
cmp byte [eax], 0
je 0x4ec7dc
xor eax, eax
push ebp
push 0x4ec71b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
mov ecx, 0x4ec9bc
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x3c]
call fcn.00409ca8
test al, al
je 0x4ec711
lea eax, [ebp - 0x40]
mov ecx, 0x4ec9bc
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x47bf2c]
call fcn.0047bf98
mov dword [0x4f52f8], eax
xor eax, eax
push ebp
push 0x4ec70a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4ec6e8
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [0x4f52f8]
call fcn.0047c078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ec6f2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec711
mov eax, dword [0x4f52f8]
call fcn.00403e4c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ec725
lea eax, [ebp - 0x44]
mov ecx, 0x4ec9a8
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x44]
call fcn.004cc868
lea eax, [ebp - 0x48]
mov ecx, 0x4ec9a8
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x47bcc0]
call fcn.0043808c
mov ebx, eax
mov edx, 0x4ec9d0
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, ebx
call fcn.00403e4c
lea eax, [ebp - 0x4c]
mov ecx, 0x4ec994
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x4c]
call fcn.004cc868
push 0
lea eax, [ebp - 0x50]
mov ecx, 0x4ec9e0
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x50]
call fcn.0040515c
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x4ec9a8
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x54]
call fcn.0040515c
push eax
call sub.kernel32.dll_CopyFileA
mov dl, 1
xor eax, eax
call fcn.004d0450
jmp 0x4ec81b
call fcn.004e4d08
test al, al
je 0x4ec81b
lea eax, [ebp - 0x58]
mov ecx, 0x4ec9a8
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x58]
call fcn.004d03e0
lea eax, [ebp - 0x5c]
mov ecx, 0x4ec9a8
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x5c]
call fcn.00409fa4
mov eax, dword [0x4f3138]
cmp byte [eax], 0
jne 0x4ec956
lea eax, [ebp - 0x60]
mov ecx, 0x4ec9f4
mov edx, dword [0x4f52ec]
call fcn.00404fa8
mov eax, dword [ebp - 0x60]
call fcn.004cbda8
mov eax, dword [0x4f2c40]
cmp dword [eax], 0
setne bl
xor bl, 1
mov eax, dword [0x4f3134]
mov eax, dword [eax]
call fcn.00474970
mov eax, dword [0x4f3134]
mov eax, dword [eax]
mov edx, 0x4eca08
call fcn.00474558
mov eax, dword [0x4f3134]
mov eax, dword [eax]
call fcn.00474988
mov edx, 0x4f52fc
mov eax, ebx
call fcn.004e5060
dec eax
je 0x4ec8b8
mov eax, dword [0x4f2c40]
cmp dword [eax], 0
je 0x4ec89e
mov eax, dword [0x4f2c40]
call fcn.0040f624
cmp byte [0x4f52fc], 0
je 0x4ec8ac
call fcn.004cc26c
push 0
call sub.kernel32.dll_ExitProcess_1
jmp 0x4ec956
xor eax, eax
push ebp
push 0x4ec945
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xc8
call fcn.0047b5f0
mov eax, dword [0x4f3134]
mov eax, dword [eax]
call fcn.0047484c
mov eax, dword [0x4f2c40]
cmp dword [eax], 0
je 0x4ec91d
mov edx, dword [0x4f2cd4]
mov dl, byte [edx]
mov eax, dword [0x4f2c40]
mov eax, dword [eax]
mov eax, dword [eax + 0x338]
call fcn.00466814
mov eax, dword [0x4f2c40]
mov eax, dword [eax]
mov al, byte [eax + 0x3a4]
add al, 0xfc
sub al, 2
jae 0x4ec91d
mov eax, dword [0x4f2c40]
call fcn.0040f624
mov eax, dword [0x4f2c40]
cmp dword [eax], 0
jne 0x4ec8c6
mov eax, dword [0x4f2cd4]
cmp byte [eax], 0
je 0x4ec8c6
mov eax, dword [0x4f2d14]
cmp dword [eax], 0
je 0x4ec8c6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ec94f
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec978
lea eax, [ebp - 0x60]
mov edx, 0x14
call fcn.00404cc0
ret