Function at 0x4b67d8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4b67e1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405364
lea eax, [ebp + 0x10]
call fcn.00405364
xor eax, eax
push ebp
push 0x4b6b71
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0x10]
call fcn.00404a60
mov eax, dword [ebp - 0x20]
call fcn.0040ae10
test al, al
je 0x4b684b
mov eax, dword [ebp - 0x18]
call fcn.0040ae10
test al, al
je 0x4b6b46
mov eax, dword [ebp - 0x18]
call fcn.0040af68
jmp 0x4b6b46
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040a890
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00404a60
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a98
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404cf8
jmp 0x4b6891
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4b6b8c
call fcn.00404ae4
mov eax, dword [ebp - 0x10]
call fcn.00404a98
cmp eax, 4
jl 0x4b6881
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push 0x4b6b98
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b58
mov eax, dword [ebp - 0x18]
call fcn.0040ae10
test al, al
je 0x4b68f3
push 0
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0x10]
call fcn.00404a60
mov eax, dword [ebp - 0x24]
call fcn.00404c98
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404c98
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x18]
call fcn.0040af68
jmp 0x4b6b46
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040a890
xor eax, eax
push ebp
push 0x4b6b3f
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004b65c0
cmp al, 1
jne 0x4b6af4
mov eax, dword [ebp - 0x14]
call fcn.0040af2c
test eax, 1
jle 0x4b6936
mov edx, 0x20
mov eax, dword [ebp - 0x14]
call fcn.0040af40
mov eax, dword [ebp - 0x14]
call fcn.00404c98
push eax
call dword [0x4ed414]
mov edi, eax
test edi, edi
jle 0x4b6aed
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jg 0x4b6971
push 0
push 0
push 2
push 1
mov eax, dword [0x4e86c0]
push eax
push edi
call dword [0x4ed424]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 8]
jl 0x4b6af4
mov esi, dword [ebp + 0xc]
sub esi, 2
jl 0x4b69c4
inc esi
mov ebx, 2
mov eax, dword [ebp - 8]
add eax, ebx
dec eax
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jg 0x4b69c4
push dword [ebp - 0x10]
push 0x4b6ba8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
add eax, ebx
dec eax
call fcn.0040a890
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b58
inc ebx
dec esi
jne 0x4b698d
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404c98
push eax
push 2
push 1
mov eax, dword [0x4e86bc]
push eax
push edi
call dword [0x4ed420]
xor eax, eax
push ebp
push 0x4b69ff
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
call dword [0x4ed41c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b6a09
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x4b6af4
mov ebx, 1
mov eax, dword [ebp - 8]
add eax, ebx
dec eax
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jg 0x4b6af4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a98
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404cf8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0040a890
jmp 0x4b6a64
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4b6b8c
call fcn.00404ae4
mov eax, dword [ebp - 0x10]
call fcn.00404a98
cmp eax, 4
jl 0x4b6a54
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push 0x4b6b98
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b58
push 0
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 0x10]
call fcn.00404a60
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040b024
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp + 0x10]
call fcn.00404a60
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040b0ac
mov edx, dword [ebp - 0x34]
pop eax
call fcn.00404aa0
mov eax, dword [ebp - 0x2c]
call fcn.00404c98
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404c98
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x1c]
call fcn.0040af68
inc ebx
dec esi
jne 0x4b6a19
jmp 0x4b6af4
mov dword [ebp - 0xc], 0xffffffff
call fcn.004b659c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6b46
mov eax, dword [ebp - 0x18]
call fcn.0040ae10
test al, al
je 0x4b6b3e
push 0
lea eax, [ebp - 0x3c]
mov edx, dword [ebp + 0x10]
call fcn.00404a60
mov eax, dword [ebp - 0x3c]
call fcn.00404c98
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404c98
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x18]
call fcn.0040af68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6b78
lea eax, [ebp - 0x3c]
mov edx, 0xc
call fcn.004047ec
lea eax, [ebp - 4]
call fcn.00404eb8
lea eax, [ebp + 0x10]
call fcn.00404eb8
ret