Function at 0x453a28
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x453a30
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x453d1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40cc94]
call fcn.00402e70
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x453ce6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2f50]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x453cd0
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebx + 0x2f50]
mov edx, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403c18
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.00403e1c
mov eax, dword [ebp - 0x20]
mov edx, 0x453d34
call fcn.00403d28
jne 0x453cc3
lea eax, [ebp - 0x20]
mov ecx, 0x453d40
mov edx, dword [ebp - 0xc]
call fcn.00403c64
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x58]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00403a34
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00403c18
cmp eax, 2
jle 0x453cc3
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, 1
mov edx, 1
call fcn.00403e1c
mov eax, dword [ebp - 0x20]
mov edx, 0x453d54
call fcn.00403d28
jne 0x453cc3
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00403c18
push eax
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.00403e1c
mov eax, dword [ebp - 0x20]
mov edx, 0x453d60
call fcn.00403d28
jne 0x453cc3
push 0x453d6c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00403c18
sub eax, 2
push eax
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x24]
mov edx, 2
pop ecx
call fcn.00403e1c
push dword [ebp - 0x20]
push 0x453d78
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403cd8
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00403c20
push 0
mov eax, dword [ebp - 0x18]
call fcn.00403ddc
push eax
mov eax, dword [ebx + 0xc7c]
mov edx, dword [eax + 0x58]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
call fcn.00403c64
mov eax, dword [ebp - 0x20]
call fcn.00403ddc
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebx + 0x2f50]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x2f4c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x453cc3
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebx + 0x2f4c]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004071fc
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x453d88
call fcn.00403c64
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00403d28
jne 0x453cb9
lea ecx, [ebp - 0x10]
mov eax, dword [ebx + 0x2f4c]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0040784c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00403c64
push 0
mov eax, dword [ebp - 0x18]
call fcn.00403ddc
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403ddc
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebx + 0x2f50]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec dword [ebp - 0x1c]
jne 0x453c33
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jne 0x453a80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453ced
mov eax, dword [ebp - 0x14]
call fcn.00402e98
ret