Function at 0x480554
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x48055d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404928
mov eax, dword [ebp - 8]
call fcn.00404928
mov eax, dword [ebp + 0x28]
call fcn.00404928
mov eax, dword [ebp + 0x24]
call fcn.00404928
mov eax, dword [ebp + 0x20]
call fcn.00404928
mov eax, dword [ebp + 0x1c]
call fcn.00404928
xor eax, eax
push ebp
push 0x4809c8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [0x486148]
mov eax, dword [eax]
call fcn.00452e4c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408d40
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov ecx, 0x4809e0
call fcn.00404784
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x46132c]
call fcn.004613f8
mov ebx, eax
push 0x4809f4
push dword [ebp - 4]
push 0x480a1c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004047f8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00461f3c
mov esi, eax
mov eax, esi
call fcn.00462fc8
test al, al
je 0x48063c
mov eax, edi
mov edx, 0x480a28
call fcn.004044cc
mov eax, esi
call fcn.00403668
mov eax, ebx
call fcn.00403668
jmp 0x480993
push 0x480a34
push dword [ebp - 8]
push 0x480a1c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004047f8
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00461f3c
mov esi, eax
mov eax, esi
call fcn.00462fc8
test al, al
je 0x48068c
mov eax, edi
mov edx, 0x480a5c
call fcn.004044cc
mov eax, esi
call fcn.00403668
mov eax, ebx
call fcn.00403668
jmp 0x480993
push 0x480a34
push dword [ebp + 0x28]
push 0x480a1c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004047f8
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.00461f3c
mov esi, eax
mov eax, esi
call fcn.00462fc8
test al, al
jne 0x4806dc
mov eax, edi
mov edx, 0x480a68
call fcn.004044cc
mov eax, esi
call fcn.00403668
mov eax, ebx
call fcn.00403668
jmp 0x480993
lea edx, [ebp - 0x2c]
mov eax, dword [0x486148]
mov eax, dword [eax]
call fcn.00452e4c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408d40
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 8]
call fcn.00404784
mov eax, dword [ebp - 0x10]
call fcn.00408c94
test al, al
je 0x48072f
mov eax, edi
mov edx, 0x480a5c
call fcn.004044cc
mov eax, esi
call fcn.00403668
mov eax, ebx
call fcn.00403668
jmp 0x480993
lea edx, [ebp - 0x34]
mov eax, dword [0x486148]
mov eax, dword [eax]
call fcn.00452e4c
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408d40
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 0x28]
call fcn.00404784
mov eax, dword [ebp - 0x10]
call fcn.00408c94
test al, al
jne 0x480782
mov eax, edi
mov edx, 0x480a68
call fcn.004044cc
mov eax, esi
call fcn.00403668
mov eax, ebx
call fcn.00403668
jmp 0x480993
lea edx, [ebp - 0x3c]
mov eax, dword [0x486148]
mov eax, dword [eax]
call fcn.00452e4c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408d40
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 8]
call fcn.00404740
mov eax, dword [ebp - 0x38]
call fcn.00408eb0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x486148]
mov eax, dword [eax]
call fcn.00452e4c
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00408d40
push dword [ebp - 0x44]
push dword [ebp - 8]
push 0x480a74
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004047f8
mov eax, dword [ebp - 0x40]
call fcn.00404938
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x480a74
mov edx, dword [ebp - 0x10]
call fcn.00404784
mov eax, dword [ebp - 0x4c]
call fcn.00404938
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea edx, [ebp - 0x58]
mov eax, dword [0x486148]
mov eax, dword [eax]
call fcn.00452e4c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408d40
push dword [ebp - 0x54]
push dword [ebp - 8]
push 0x480a84
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.004047f8
mov eax, dword [ebp - 0x50]
call fcn.00404938
push eax
lea eax, [ebp - 0x5c]
mov ecx, 0x480a84
mov edx, dword [ebp - 0x10]
call fcn.00404784
mov eax, dword [ebp - 0x5c]
call fcn.00404938
push eax
call sub.kernel32.dll_CopyFileA
push 0x480a98
push dword [ebp - 4]
push 0x480abc
push dword [ebp - 8]
push 0x480ac8
push dword [ebp + 0x24]
push 0x480ae8
lea eax, [ebp - 0x60]
mov edx, 7
call fcn.004047f8
mov edx, dword [ebp - 0x60]
mov eax, ebx
call fcn.00461de8
push 0x480af4
push dword [ebp + 0x28]
push 0x480a1c
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.004047f8
mov edx, dword [ebp - 0x64]
mov eax, ebx
call fcn.00461de8
mov eax, esi
call fcn.00403668
mov eax, ebx
call fcn.00403668
lea edx, [ebp - 0x6c]
mov eax, dword [0x486148]
mov eax, dword [eax]
call fcn.00452e4c
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408d40
push dword [ebp - 0x68]
push dword [ebp - 8]
push 0x480a84
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047f8
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x46132c]
call fcn.004613f8
mov ebx, eax
push 0x480b20
push dword [ebp - 4]
push 0x480abc
push dword [ebp - 4]
push 0x480b44
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.004047f8
mov edx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00461de8
push 0x480bb0
lea edx, [ebp - 0x78]
mov eax, 0x480bdc
call fcn.00405f8c
push dword [ebp - 0x78]
push 0x480bec
lea edx, [ebp - 0x7c]
mov eax, 0x480bdc
call fcn.00405f8c
push dword [ebp - 0x7c]
push 0x480bfc
lea eax, [ebp - 0x74]
mov edx, 5
call fcn.004047f8
mov edx, dword [ebp - 0x74]
mov eax, ebx
call fcn.00461de8
mov eax, edi
mov edx, 0x480c1c
call fcn.004044cc
mov eax, ebx
call fcn.00403668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4809cf
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.0040449c
lea eax, [ebp - 0x74]
mov edx, 0x1d
call fcn.0040449c
lea eax, [ebp + 0x1c]
mov edx, 4
call fcn.0040449c
ret