Function at 0x45477c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x454784
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x454c38
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00409cc8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x24]
mov eax, 0x454c50
call fcn.0040a914
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov ecx, 0x454c68
call fcn.004042a4
mov dl, 1
mov eax, dword [0x4121d0]
call fcn.00403218
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x454c09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x458c18]
push eax
mov ecx, dword [0x458c1c]
mov edx, dword [0x458c0c]
mov eax, ebx
call fcn.00453d40
test al, al
je 0x454be2
push dword [0x458c0c]
push 0x454c74
push dword [0x458c20]
push 0x454c68
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404318
lea eax, [ebp - 8]
mov ecx, 0x454c84
mov edx, dword [0x458c0c]
call fcn.004042a4
mov edx, dword [0x458c0c]
mov eax, ebx
call fcn.00453cc8
test al, al
jne 0x454857
call fcn.00403a80
jmp 0x454c10
lea ecx, [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00453e20
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4548ae
inc eax
mov dword [ebp - 0x20], eax
xor esi, esi
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.00454d00
test al, al
je 0x4548a8
mov ecx, 0x454c9c
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x20]
inc esi
dec dword [ebp - 0x20]
jne 0x454877
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00453e20
mov eax, dword [ebx + 0x2f8]
mov dl, 1
call fcn.00432714
mov eax, dword [ebx + 0x2f8]
xor edx, edx
call fcn.00429ec8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebx + 0x2f8]
call fcn.00429ed4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x454bd3
inc eax
mov dword [ebp - 0x20], eax
xor esi, esi
mov eax, dword [ebx + 0x2f8]
mov edx, esi
call fcn.00429ee4
mov eax, dword [0x457030]
mov eax, dword [eax]
call fcn.00451c40
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x454ca8
call fcn.004042a4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x300]
call fcn.00432824
lea ecx, [ebp - 0x30]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
mov eax, ebx
call fcn.00453b94
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
mov eax, ebx
call fcn.00453c34
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040459c
test eax, eax
jle 0x4549a8
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404258
mov edi, eax
mov eax, dword [ebp - 8]
call fcn.00404258
sub edi, eax
push edi
mov eax, dword [ebp - 8]
call fcn.00404258
mov edx, eax
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.004044b8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040459c
test eax, eax
jle 0x4549e3
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404258
mov edi, eax
mov eax, dword [ebp - 0xc]
call fcn.00404258
sub edi, eax
push edi
mov eax, dword [ebp - 0xc]
call fcn.00404258
mov edx, eax
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.004044b8
cmp dword [ebp - 0x18], 0
je 0x4549f6
lea eax, [ebp - 0x18]
mov edx, 0x454c68
call fcn.00404260
mov eax, dword [ebp - 0x10]
mov edx, 0x454c9c
call fcn.004043a4
je 0x454bc9
mov eax, dword [ebp - 0x10]
mov edx, 0x454cc0
call fcn.004043a4
je 0x454bc9
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x458c24]
call fcn.004042a4
mov edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.00453cc8
push dword [0x458c24]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x3c]
call fcn.00408520
test al, al
je 0x454b78
mov eax, dword [0x458c28]
push eax
push dword [0x458c24]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004042a4
mov edx, dword [ebp - 0x44]
mov eax, ebx
pop ecx
call fcn.004542ac
test al, al
je 0x454bc9
push dword [0x458c24]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404318
mov edx, dword [ebp - 0x48]
mov eax, ebx
call fcn.00453cc8
push 0
push dword [0x458c24]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00404318
mov eax, dword [ebp - 0x4c]
call fcn.00404458
push eax
push dword [0x458c24]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x50]
call fcn.00404458
push eax
call sub.kernel32.dll_CopyFileA
push dword [0x458c24]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x54]
call fcn.00408730
push 0
push dword [0x458c24]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x58]
call fcn.00404458
push eax
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004042a4
mov eax, dword [ebp - 0x5c]
call fcn.00404458
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x454bc9
mov eax, dword [0x458c28]
mov edx, 0x454ccc
call fcn.004043a4
je 0x454bc9
push 0
push dword [0x458c24]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x60]
call fcn.00404458
push eax
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004042a4
mov eax, dword [ebp - 0x64]
call fcn.00404458
push eax
call sub.kernel32.dll_CopyFileA
inc esi
dec dword [ebp - 0x20]
jne 0x454902
mov eax, dword [ebx + 0x2f8]
xor edx, edx
call fcn.00432714
jmp 0x454bf3
mov ecx, 2
mov edx, 0x454cd8
mov eax, ebx
call fcn.00454014
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454c10
mov eax, dword [ebp - 4]
call fcn.00403248
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454c3f
lea eax, [ebp - 0x64]
mov edx, 0x11
call fcn.00403fbc
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00403fbc
ret