Function at 0x450854
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x45085c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403dd8
xor eax, eax
push ebp
push 0x450cd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [0x4549ec]
mov eax, dword [0x454988]
mov eax, dword [eax]
mov edx, dword [0x44ff28]
call fcn.00444b24
xor eax, eax
push ebp
push 0x45090f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x44923c]
call fcn.004496c4
mov dword [0x4558dc], eax
mov eax, dword [0x4558dc]
add eax, 0x1026c
mov edx, 0x450ce8
call fcn.004039f8
mov eax, dword [0x4558dc]
add eax, 0x102b8
mov edx, 0x450d04
call fcn.004039f8
mov eax, dword [0x4558dc]
add eax, 0x102b4
mov edx, 0x450d24
call fcn.004039f8
mov eax, dword [0x4558dc]
xor edx, edx
mov dword [eax + 0x10090], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450960
xor eax, eax
push ebp
push 0x4509ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4549ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov edx, 0x450d9c
call fcn.00426ff0
mov eax, dword [0x4558dc]
mov edx, dword [eax]
call dword [edx + 0x34]
mov byte [ebp - 9], 1
mov edx, 2
mov eax, dword [0x4558dc]
call fcn.0044a834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4509ba
xor edx, edx
push ebp
push 0x450c4c
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x450db4
mov eax, dword [0x4558dc]
call fcn.0044a000
lea eax, [ebp - 0x14]
mov ecx, 0x450dc8
mov edx, dword [ebp - 8]
call fcn.00403c70
mov eax, dword [ebp - 0x14]
call fcn.00407fac
test al, al
je 0x450a3e
lea eax, [ebp - 0x18]
mov ecx, 0x450dc8
mov edx, dword [ebp - 8]
call fcn.00403c70
mov eax, dword [ebp - 0x18]
call fcn.00407fbc
dec eax
push eax
lea eax, [ebp - 0x1c]
mov ecx, 0x450dc8
mov edx, dword [ebp - 8]
call fcn.00403c70
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.00407fd0
lea eax, [ebp - 0x20]
mov ecx, 0x450dc8
mov edx, dword [ebp - 8]
call fcn.00403c70
mov eax, dword [ebp - 0x20]
call fcn.00407ff8
lea eax, [ebp - 0x24]
mov ecx, 0x450ddc
mov edx, dword [ebp - 8]
call fcn.00403c70
mov ecx, dword [ebp - 0x24]
mov edx, 0x450ddc
mov eax, dword [0x4558dc]
call fcn.0044a078
mov ecx, 0x450ddc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
call fcn.00403c70
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x44e560]
call fcn.0044ec28
mov dword [ebp - 0x10], eax
push 0x450df4
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x450e18
mov edx, 0x450e38
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x2c]
call fcn.00407e20
cmp eax, 0x30a44896
jle 0x450bc4
mov eax, dword [0x4549ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov edx, 0x450e4c
call fcn.00426ff0
xor eax, eax
push ebp
push 0x450b6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov dl, 1
call fcn.00446170
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.004028a0
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.004080c4
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.00403c70
mov ecx, dword [ebp - 0x30]
mov edx, 0x450e84
mov eax, dword [0x4558dc]
call fcn.0044a078
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
xor edx, edx
call fcn.00446170
mov eax, dword [0x4549ec]
mov eax, dword [eax]
mov ebx, dword [eax + 0x2d0]
mov eax, ebx
call fcn.0044cce4
mov edx, eax
mov eax, dword [0x4549ec]
mov eax, ebx
call fcn.0044cecc
mov eax, dword [0x4549ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov edx, 0x450e98
call fcn.00426ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450c3a
push 0
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.004028a0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004080c4
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 8]
call fcn.00403c70
mov eax, dword [ebp - 0x3c]
call fcn.00403de8
push eax
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.004028a0
mov eax, dword [ebp - 0x48]
call fcn.00403de8
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x4549ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov edx, 0x450ee0
call fcn.00426ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450caf
mov eax, dword [ebp - 0x10]
call fcn.00402d34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450c9f
cmp byte [ebp - 9], 0
je 0x450caf
mov eax, dword [0x4558dc]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450cd9
lea eax, [ebp - 0x48]
mov edx, 0xe
call fcn.004039c8
lea eax, [ebp - 8]
call fcn.004039a4
ret