Function at 0x459e7c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x459e84
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45a12c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45a0de
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 7
mov eax, 0x45a144
call fcn.00426aec
lea eax, [ebp - 8]
call fcn.00404710
push eax
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x45a160
mov edx, 0x45a17c
call fcn.004473d8
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, 0x45a18c
call fcn.00404a2c
mov eax, dword [ebp - 0x1c]
mov edx, 7
call fcn.00426aec
cmp dword [ebp - 8], 0
jne 0x459f0b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a0f7
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov edx, 0x45a160
call fcn.0044824c
mov dl, 1
mov eax, dword [0x416998]
call fcn.00403840
mov esi, eax
mov dl, 1
mov eax, dword [0x416998]
call fcn.00403840
mov dword [ebp - 0xc], eax
mov al, byte [0x45a1ac]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x45a1b8
mov edx, 0x45a1c4
mov eax, dword [ebp - 8]
call fcn.0040e298
mov edx, dword [ebp - 0x20]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [0x4a43a0]
push dword [eax]
push 0x45a1d0
push 0x45a1e4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404aa0
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov ecx, 1
mov edx, 0x45a1f4
call fcn.00448560
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, 0x45a230
call fcn.0044824c
mov eax, dword [ebp - 0x10]
call fcn.00409a8c
mov eax, dword [ebp - 0x10]
call fcn.00428558
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x45a0cd
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.00409490
test al, al
je 0x45a0a8
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00408e74
jmp 0x45a00a
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x45a278
call fcn.00404a2c
mov eax, dword [ebp - 4]
call fcn.004049e0
cmp eax, 3
jl 0x459ffa
push dword [ebp - 0x10]
push 0x45a284
push dword [ebp - 4]
push 0x45a294
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404aa0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404be0
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.00404be0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x14]
call fcn.00429968
mov edi, eax
test edi, edi
je 0x45a0a8
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00409924
push dword [ebp - 0x30]
push 0x45a1c4
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00408f60
push dword [ebp - 0x34]
push 0x45a1c4
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404aa0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x38]
mov ecx, 0x45a2a4
mov edx, dword [ebp - 0x10]
call fcn.00404a2c
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 0x459fd2
mov eax, esi
call fcn.00403870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a0f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a133
lea eax, [ebp - 0x38]
mov edx, 8
call fcn.00404734
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404734
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404734
ret