Function at 0x452f84
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x452f8c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0x16c]
mov edx, dword [0x406d6c]
call fcn.004047dc
xor eax, eax
push ebp
push 0x4533b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3f
lea eax, [ebp - 0x170]
mov ecx, 0x4533d0
mov edx, dword [ebp - 8]
call fcn.0040417c
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x16c]
mov edx, ebx
call fcn.00408514
jmp 0x4531f0
cmp dword [0x454dc8], 2
jne 0x453048
push 0x4533dc
push dword [ebp - 8]
push 0
push dword [ebp - 0x160]
lea eax, [ebp - 0x174]
mov edx, 4
call fcn.004041f0
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
lea eax, [ebp - 0x16c]
call fcn.00408588
jmp 0x45337a
mov eax, dword [ebp - 0x160]
mov edx, 0x4533f4
call fcn.0040427c
je 0x4531f0
mov eax, dword [ebp - 0x160]
mov edx, 0x453400
call fcn.0040427c
je 0x4531f0
push dword [ebp - 8]
push 0
push dword [ebp - 0x160]
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.004041f0
mov eax, dword [ebp - 0x178]
call fcn.004083a4
test al, al
jne 0x4531f0
push dword [ebp - 8]
push 0
push dword [ebp - 0x160]
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.004041f0
mov eax, dword [ebp - 0x17c]
call fcn.00408394
test al, al
je 0x4531f0
push dword [ebp - 8]
push 0
push dword [ebp - 0x160]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041f0
mov al, byte [0x453404]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x454dcc]
mov edx, dword [0x454dd0]
mov eax, dword [ebp - 8]
call fcn.0040cb4c
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x10]
call fcn.0040417c
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov edx, 0x453410
call fcn.0040417c
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
push ebp
push 0x453175
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
call fcn.00404330
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404330
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4531e4
mov eax, dword [0x45505c]
mov eax, dword [eax]
call fcn.0044fb94
lea eax, [ebp - 0x16c]
call fcn.00408564
test eax, eax
je 0x452ff3
lea eax, [ebp - 0x16c]
call fcn.00408588
mov ebx, 0x17
lea eax, [ebp - 0x18c]
mov ecx, 0x4533d0
mov edx, dword [ebp - 8]
call fcn.0040417c
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x16c]
mov edx, ebx
call fcn.00408514
cmp dword [0x454dc8], 2
jne 0x45335a
xor ebx, ebx
lea eax, [ebp - 0x16c]
call fcn.00408588
jmp 0x45337a
mov eax, dword [ebp - 0x160]
mov edx, 0x4533f4
call fcn.0040427c
je 0x45335a
mov eax, dword [ebp - 0x160]
mov edx, 0x453400
call fcn.0040427c
je 0x45335a
push dword [ebp - 8]
push 0
push dword [ebp - 0x160]
lea eax, [ebp - 0x190]
mov edx, 3
call fcn.004041f0
mov eax, dword [ebp - 0x190]
call fcn.004083a4
test al, al
je 0x45335a
push dword [ebp - 8]
push 0
push dword [ebp - 0x160]
push 0x45344c
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004041f0
lea eax, [ebp - 0x194]
mov ecx, dword [ebp - 0xc]
mov edx, 0x453458
call fcn.0040417c
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov al, byte [0x453404]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x454dcc]
mov edx, dword [0x454dd0]
mov eax, dword [ebp - 8]
call fcn.0040cb4c
push dword [ebp - 0x10]
push dword [ebp - 0x160]
push 0x45344c
lea eax, [ebp - 0x198]
mov edx, 3
call fcn.004041f0
mov eax, dword [ebp - 0x198]
call fcn.004083c8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00452f84
mov eax, dword [0x45505c]
mov eax, dword [eax]
call fcn.0044fb94
lea eax, [ebp - 0x16c]
call fcn.00408564
test eax, eax
je 0x453258
lea eax, [ebp - 0x16c]
call fcn.00408588
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4533bd
lea eax, [ebp - 0x198]
mov edx, 0xb
call fcn.00403e94
lea eax, [ebp - 0x16c]
mov edx, dword [0x406d6c]
call fcn.004048a0
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403e94
ret