Function at 0x4f8b60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4f8b68
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x4f8e72
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00409ad8
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.00408e1c
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [0x540c9c]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, 0x4f8e88
call fcn.004048d8
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408e1c
mov edx, dword [ebp - 0x24]
pop eax
call fcn.004049d0
je 0x4f8dfe
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00409b44
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.00408e58
mov eax, dword [ebp - 8]
mov edx, 0x4f8e9c
call fcn.004049d0
je 0x4f8c0b
mov eax, dword [ebp - 8]
mov edx, 0x4f8eac
call fcn.004049d0
jne 0x4f8dfe
mov eax, dword [ebp - 4]
call fcn.004096fc
test al, al
je 0x4f8dfe
mov edx, dword [0x540c9c]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x4f8ebc
call fcn.004048d8
mov dl, 1
mov eax, dword [0x4a40b0]
call fcn.004a4fd4
mov esi, eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0xc]
call fcn.00404e90
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x10]
call fcn.0046eae0
mov edx, dword [ebp - 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call fcn.0040b13c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x14]
mov eax, 0x4f8edc
call fcn.0040bd68
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004048d8
mov ebx, 1
jmp 0x4f8cb5
inc ebx
push dword [ebp - 0x14]
push 0x4f8ef4
lea edx, [ebp - 0x38]
mov eax, ebx
call fcn.004093f0
push dword [ebp - 0x38]
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040494c
mov eax, dword [0x540c9c]
push dword [eax]
push 0x4f8e88
push dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040494c
mov eax, dword [ebp - 0x3c]
call fcn.004096fc
test al, al
jne 0x4f8c8f
push dword [ebp - 0x18]
push 0x4f8f00
push dword [ebp - 4]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040494c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00404e90
mov edx, dword [ebp - 0x40]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [0x540c9c]
mov edx, dword [edx]
lea eax, [ebp - 0x48]
mov ecx, 0x4f8f0c
call fcn.004048d8
mov eax, dword [ebp - 0x48]
call fcn.00409d04
mov eax, dword [0x540c9c]
push dword [eax]
push 0x4f8e88
push dword [ebp - 0x18]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040494c
push 0
lea eax, [ebp - 0x18]
call fcn.00404adc
push eax
lea eax, [ebp - 4]
call fcn.00404adc
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4f8dc4
lea ecx, [ebp - 0x4c]
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
call fcn.00404854
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, dword [ebp - 0x18]
mov eax, 0x4f8f00
call fcn.00404bc8
mov ebx, eax
test ebx, ebx
jle 0x4f8dc4
lea eax, [ebp - 0x18]
mov ecx, 0x400
mov edx, ebx
call fcn.00404b24
mov eax, dword [0x540c9c]
push dword [eax]
push 0x4f8e88
push dword [ebp - 0x18]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040494c
mov eax, dword [ebp - 0x50]
call fcn.00409988
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0x2710
jg 0x4f8d5e
lea edx, [ebp - 0x54]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xc]
call fcn.00404e90
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x10]
pop ecx
call fcn.0046ebbc
mov eax, esi
call fcn.004037ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8e79
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00404d08
lea eax, [ebp - 0x50]
call fcn.004045b8
lea eax, [ebp - 0x4c]
call fcn.00404cf0
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045dc
lea eax, [ebp - 0x40]
call fcn.00404cf0
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004045dc
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404d08
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.004045dc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004045dc
ret