Function at 0x454c68
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x454c70
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x454f18
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x454eca
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 7
mov eax, 0x454f30
call fcn.00423af8
lea eax, [ebp - 8]
call fcn.004046a4
push eax
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x454f4c
mov edx, 0x454f68
call fcn.0043e0f8
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, 0x454f78
call fcn.004049c0
mov eax, dword [ebp - 0x1c]
mov edx, 7
call fcn.00423af8
cmp dword [ebp - 8], 0
jne 0x454cf7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x454ee3
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov edx, 0x454f4c
call fcn.0043ef6c
mov dl, 1
mov eax, dword [0x415ca0]
call fcn.004037f8
mov esi, eax
mov dl, 1
mov eax, dword [0x415ca0]
call fcn.004037f8
mov dword [ebp - 0xc], eax
mov al, byte [0x454f98]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x454fa4
mov edx, 0x454fb0
mov eax, dword [ebp - 8]
call fcn.0040d934
mov edx, dword [ebp - 0x20]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [0x46fcdc]
push dword [eax]
push 0x454fbc
push 0x454fd0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a34
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov ecx, 1
mov edx, 0x454fe0
call fcn.0043f280
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, 0x45501c
call fcn.0043ef6c
mov eax, dword [ebp - 0x10]
call fcn.004092fc
mov eax, dword [ebp - 0x10]
call fcn.004253c8
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x454eb9
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00408d00
test al, al
je 0x454e94
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004086e4
jmp 0x454df6
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x455064
call fcn.004049c0
mov eax, dword [ebp - 4]
call fcn.00404974
cmp eax, 3
jl 0x454de6
push dword [ebp - 0x10]
push 0x455070
push dword [ebp - 4]
push 0x455080
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404a34
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404b74
push eax
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.00404b74
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x14]
call fcn.004267d8
mov edi, eax
test edi, edi
je 0x454e94
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00409194
push dword [ebp - 0x30]
push 0x454fb0
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.004087d0
push dword [ebp - 0x34]
push 0x454fb0
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404a34
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x38]
mov ecx, 0x455090
mov edx, dword [ebp - 0x10]
call fcn.004049c0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x74]
inc ebx
dec dword [ebp - 0x18]
jne 0x454dbe
mov eax, esi
call fcn.00403828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x454ee3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454f1f
lea eax, [ebp - 0x38]
mov edx, 8
call fcn.004046c8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004046c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046c8
ret