Function at 0x45371c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x453724
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x453af0
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00409cc8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x453b08
call fcn.0040a914
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov ecx, 0x453b20
call fcn.004042a4
mov dl, 1
mov eax, dword [0x4121d0]
call fcn.00403218
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453ac1
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 0x453a9a
push dword [0x458c0c]
push 0x453b2c
push dword [0x458c20]
push 0x453b20
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404318
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00453cc8
test al, al
jne 0x4537e1
call fcn.00403a80
jmp 0x453ac8
lea ecx, [ebp - 4]
mov edx, dword [0x458c24]
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 0x453a8b
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, 0x453b3c
call fcn.004042a4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x300]
call fcn.00432824
mov eax, dword [ebx + 0x2f8]
mov edx, esi
call fcn.00429ee4
mov eax, dword [0x457030]
mov eax, dword [eax]
call fcn.00451c40
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]
lea ecx, [ebp - 0xc]
mov eax, ebx
call fcn.00453b94
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x10]
mov eax, ebx
call fcn.00453c34
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404258
mov edi, eax
mov eax, dword [0x458c24]
call fcn.00404258
sub edi, eax
push edi
mov eax, dword [0x458c24]
call fcn.00404258
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.004044b8
cmp dword [ebp - 0x14], 0
je 0x4538e6
lea eax, [ebp - 0x14]
mov edx, 0x453b20
call fcn.00404260
mov eax, dword [ebp - 0xc]
mov edx, 0x453b54
call fcn.004043a4
je 0x453a81
mov eax, dword [ebp - 0xc]
mov edx, 0x453b60
call fcn.004043a4
je 0x453a81
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004042a4
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.00453cc8
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x34]
call fcn.00408520
test al, al
je 0x453a44
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004042a4
mov edx, dword [ebp - 0x3c]
mov eax, ebx
pop ecx
call fcn.0045420c
test al, al
je 0x453a81
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404318
mov edx, dword [ebp - 0x40]
mov eax, ebx
call fcn.00453cc8
push 0
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00404318
mov eax, dword [ebp - 0x44]
call fcn.00404458
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x48]
call fcn.00404458
mov edi, eax
push edi
call sub.kernel32.dll_CopyFileA
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x4c]
call fcn.00408730
push 0
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404318
push edi
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004042a4
mov eax, dword [ebp - 0x54]
call fcn.00404458
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x453a81
push 0
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
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 - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004042a4
mov eax, dword [ebp - 0x5c]
call fcn.00404458
push eax
call sub.kernel32.dll_CopyFileA
inc esi
dec dword [ebp - 0x1c]
jne 0x453838
mov eax, dword [ebx + 0x2f8]
xor edx, edx
call fcn.00432714
jmp 0x453aab
mov ecx, 2
mov edx, 0x453b6c
mov eax, ebx
call fcn.00454014
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453ac8
mov eax, dword [ebp - 4]
call fcn.00403248
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453af7
lea eax, [ebp - 0x5c]
mov edx, 0x10
call fcn.00403fbc
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00403fbc
ret