Function at 0x45f3e0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x45f3e9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ea4
mov eax, dword [ebp - 8]
call fcn.00403ea4
xor eax, eax
push ebp
push 0x45fa97
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x45f9f9
mov eax, dword [ebp - 4]
call fcn.00403cf0
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x45f443
lea eax, [ebp - 4]
mov edx, 0x45fab0
call fcn.00403cf8
lea eax, [ebp - 0x34]
mov ecx, 0x45fabc
mov edx, dword [ebp - 4]
call fcn.00403d3c
mov eax, dword [ebp - 0x34]
call fcn.00457d78
test al, al
je 0x45f9f9
cmp dword [ebp - 8], 0
je 0x45f9f9
mov eax, dword [ebp - 8]
call fcn.00403cf0
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x45f48c
lea eax, [ebp - 8]
mov edx, 0x45fab0
call fcn.00403cf8
lea eax, [ebp - 0x38]
mov ecx, 0x45fabc
mov edx, dword [ebp - 4]
call fcn.00403d3c
mov ecx, dword [ebp - 0x38]
mov dl, 1
mov eax, dword [0x416ba0]
call fcn.00416c48
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x45f9f2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov ecx, 0x45fad0
mov edx, 0x45fae4
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x45f5cc
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x45faf0
call fcn.00403d3c
mov ecx, dword [ebp - 0x3c]
mov edx, 0x45fae4
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x45fb04
call fcn.00403d3c
mov ecx, dword [ebp - 0x44]
mov edx, 0x45fae4
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [0x463a14]
mov eax, dword [eax]
call fcn.0045b89c
mov esi, eax
dec esi
test esi, esi
jl 0x45f5c0
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x50]
mov eax, dword [0x463a14]
mov eax, dword [eax]
mov edx, ebx
call fcn.0045b7e0
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x1c]
call fcn.00403e00
jne 0x45f5bc
lea ecx, [ebp - 0x58]
mov eax, dword [0x463a14]
mov eax, dword [eax]
mov edx, ebx
call fcn.0045b7e0
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x14]
call fcn.00403b08
cmp dword [ebp - 0x20], 0
je 0x45f5bc
push dword [ebp - 0x14]
push 0x45fab0
push dword [ebp - 0x20]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403db0
mov dl, 1
mov eax, dword [ebp - 0x20]
call fcn.00457df8
inc ebx
dec esi
jne 0x45f55a
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x45f4e4
push 0
mov ecx, 0x45fb1c
mov edx, 0x45fae4
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x45f6f8
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x45fb2c
call fcn.00403d3c
mov ecx, dword [ebp - 0x5c]
mov edx, 0x45fae4
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x45fb3c
call fcn.00403d3c
mov ecx, dword [ebp - 0x64]
mov edx, 0x45fae4
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x18], 0
je 0x45f6d1
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00403d3c
cmp dword [ebp - 0x1c], 0
je 0x45f6ec
mov eax, dword [0x463a14]
mov eax, dword [eax]
call fcn.0045b89c
mov esi, eax
dec esi
test esi, esi
jl 0x45f6ec
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov eax, dword [0x463a14]
mov eax, dword [eax]
mov edx, ebx
call fcn.0045b7e0
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x1c]
call fcn.00403e00
jne 0x45f6cb
lea ecx, [ebp - 0x78]
mov eax, dword [0x463a14]
mov eax, dword [eax]
mov edx, ebx
call fcn.0045b7e0
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x14]
call fcn.00403b08
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0045f2c4
inc ebx
dec esi
jne 0x45f684
jmp 0x45f6ec
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00403d3c
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0045f2c4
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x45f5f4
push 0
mov ecx, 0x45fb1c
mov edx, 0x45fb50
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x45f8b7
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 0x45fb2c
call fcn.00403d3c
mov ecx, dword [ebp - 0x7c]
mov edx, 0x45fb50
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x45fb60
call fcn.00403d3c
mov ecx, dword [ebp - 0x84]
mov edx, 0x45fb50
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 0x45fb3c
call fcn.00403d3c
mov ecx, dword [ebp - 0x8c]
mov edx, 0x45fb50
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x18], 0
je 0x45f8ab
cmp dword [ebp - 0x14], 0
je 0x45f8ab
cmp dword [ebp - 0x1c], 0
je 0x45f876
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00403d3c
mov eax, dword [0x463a14]
mov eax, dword [eax]
call fcn.0045b89c
mov esi, eax
dec esi
test esi, esi
jl 0x45f8ab
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x98]
mov eax, dword [0x463a14]
mov eax, dword [eax]
mov edx, ebx
call fcn.0045b7e0
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x1c]
call fcn.00403e00
jne 0x45f870
lea ecx, [ebp - 0xa0]
mov eax, dword [0x463a14]
mov eax, dword [eax]
mov edx, ebx
call fcn.0045b7e0
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
call fcn.00403d3c
push 0
mov eax, dword [ebp - 0x14]
call fcn.00403eb4
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403eb4
push eax
call sub.kernel32.dll_CopyFileA
inc ebx
dec esi
jne 0x45f80e
jmp 0x45f8ab
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00403d3c
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00403d3c
push 0
mov eax, dword [ebp - 0x14]
call fcn.00403eb4
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403eb4
push eax
call sub.kernel32.dll_CopyFileA
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x45f720
push 0
mov ecx, 0x45fb1c
mov edx, 0x45fb70
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x45f9dc
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
mov edx, 0x45fb80
call fcn.00403d3c
mov ecx, dword [ebp - 0xa4]
mov edx, 0x45fb70
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov edx, 0x45fb90
call fcn.00403d3c
mov ecx, dword [ebp - 0xac]
mov edx, 0x45fb70
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x10]
call fcn.00408214
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, 0x45fba4
call fcn.00403d3c
mov ecx, dword [ebp - 0xb4]
mov edx, 0x45fb70
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x24], 0
je 0x45f9d0
cmp dword [ebp - 0x28], 0
je 0x45f9d0
cmp dword [ebp - 0x2c], 0
je 0x45f9d0
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.00403d3c
mov eax, dword [ebp - 0x24]
call fcn.00457d78
test al, al
je 0x45f9d0
mov eax, dword [ebp - 0x2c]
push eax
mov cl, 2
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.0045b994
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x45f8df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f9f9
mov eax, dword [ebp - 0xc]
call fcn.00402d7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45faa1
lea eax, [ebp - 0xb8]
mov edx, 6
call fcn.00403a94
lea eax, [ebp - 0xa0]
mov edx, dword [0x45b6e4]
mov ecx, 2
call fcn.00404328
lea eax, [ebp - 0x90]
mov edx, 6
call fcn.00403a94
lea eax, [ebp - 0x78]
mov edx, dword [0x45b6e4]
mov ecx, 2
call fcn.00404328
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.00403a94
lea eax, [ebp - 0x58]
mov edx, dword [0x45b6e4]
mov ecx, 2
call fcn.00404328
lea eax, [ebp - 0x48]
mov edx, 6
call fcn.00403a94
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.00403a94
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a94
ret