Function at 0x4907e4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4907ec
push ebx
xor eax, eax
push ebp
push 0x490aa4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417958]
call fcn.0040370c
mov dword [0x567f5c], eax
mov eax, dword [0x565f44]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [0x567f44], eax
mov dl, 1
mov eax, dword [0x46d864]
call fcn.0040370c
mov dword [0x567f48], eax
lea eax, [ebp - 8]
call fcn.00490c6c
mov edx, dword [ebp - 8]
mov eax, 0x567f4c
call fcn.004045a0
lea eax, [ebp - 0xc]
call fcn.00490c1c
mov edx, dword [ebp - 0xc]
mov eax, 0x567f50
call fcn.004045a0
mov eax, 0x567f54
mov ecx, 0x490ab8
mov edx, dword [0x567f50]
call fcn.00404858
push 0
lea eax, [ebp - 0x10]
mov ecx, 0x490ac8
mov edx, dword [0x567f50]
call fcn.00404858
mov eax, dword [ebp - 0x10]
call fcn.00404a0c
push eax
lea eax, [ebp - 0x14]
mov ecx, 0x490ac8
mov edx, dword [0x567f4c]
call fcn.00404858
mov eax, dword [ebp - 0x14]
call fcn.00404a0c
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x18]
mov ecx, 0x490ae0
mov edx, dword [0x567f50]
call fcn.00404858
mov eax, dword [ebp - 0x18]
call fcn.00404a0c
push eax
lea eax, [ebp - 0x1c]
mov ecx, 0x490ae0
mov edx, dword [0x567f4c]
call fcn.00404858
mov eax, dword [ebp - 0x1c]
call fcn.00404a0c
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x20]
call fcn.00490c6c
lea eax, [ebp - 0x20]
mov edx, 0x490af8
call fcn.00404814
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x438c1c]
call fcn.00438ccc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x490a82
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x490b14
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x490b5c
mov edx, 0x490b70
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x24]
mov eax, 0x567f58
call fcn.004045a0
push 0x490b80
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x490b94
mov edx, 0x490ba4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x28]
mov eax, 0x567f60
call fcn.004045a0
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x490bb0
mov edx, 0x490bc4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x2c], 0
je 0x490a66
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x490bd4
mov edx, 0x490bc4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x30], 0
je 0x490a66
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x490bb0
mov edx, 0x490bc4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x34]
mov eax, dword [0x567f48]
add eax, 4
call fcn.004045a0
push 0x490be8
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x490bd4
mov edx, 0x490bc4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x38]
call fcn.00409184
mov edx, dword [0x567f48]
mov dword [edx + 8], eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x490bf4
mov edx, 0x490bc4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x567f48]
add eax, 0xc
call fcn.004045a0
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x490c0c
mov edx, 0x490bc4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x40]
mov eax, dword [0x567f48]
add eax, 0x10
call fcn.004045a0
mov edx, dword [0x567f48]
mov eax, dword [0x567f44]
mov ecx, dword [eax]
call dword [ecx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490a89
cmp dword [ebp - 4], 0
je 0x490a81
lea eax, [ebp - 4]
call fcn.0040ebcc
ret