Function at 0x45bc94
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x45bc9d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e10
mov eax, dword [ebp - 8]
call fcn.00403e10
xor eax, eax
push ebp
push 0x45c326
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x45c288
mov eax, dword [ebp - 4]
call fcn.00403c5c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x45bcf7
lea eax, [ebp - 4]
mov edx, 0x45c340
call fcn.00403c64
lea eax, [ebp - 0x30]
mov ecx, 0x45c34c
mov edx, dword [ebp - 4]
call fcn.00403ca8
mov eax, dword [ebp - 0x30]
call fcn.00457acc
test al, al
je 0x45c288
cmp dword [ebp - 8], 0
je 0x45c288
mov eax, dword [ebp - 8]
call fcn.00403c5c
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x45bd40
lea eax, [ebp - 8]
mov edx, 0x45c340
call fcn.00403c64
lea eax, [ebp - 0x34]
mov ecx, 0x45c34c
mov edx, dword [ebp - 4]
call fcn.00403ca8
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x4168f4]
call fcn.0041699c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x45c281
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov ecx, 0x45c360
mov edx, 0x45c374
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x45be77
inc eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x45c380
call fcn.00403ca8
mov ecx, dword [ebp - 0x38]
mov edx, 0x45c374
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x45c394
call fcn.00403ca8
mov ecx, dword [ebp - 0x40]
mov edx, 0x45c374
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
call fcn.0045b5f0
mov edi, eax
dec edi
test edi, edi
jl 0x45be6d
inc edi
xor esi, esi
lea ecx, [ebp - 0x4c]
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b534
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
call fcn.00403d6c
jne 0x45be69
lea ecx, [ebp - 0x54]
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b534
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x10]
call fcn.00403a74
cmp dword [ebp - 0x1c], 0
je 0x45be69
push dword [ebp - 0x10]
push 0x45c340
push dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403d1c
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.00457b4c
inc esi
dec edi
jne 0x45be07
inc ebx
dec dword [ebp - 0x2c]
jne 0x45bd93
push 0
mov ecx, 0x45c3ac
mov edx, 0x45c374
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x45bfa1
inc eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
push 0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x45c3bc
call fcn.00403ca8
mov ecx, dword [ebp - 0x58]
mov edx, 0x45c374
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x64]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x45c3cc
call fcn.00403ca8
mov ecx, dword [ebp - 0x60]
mov edx, 0x45c374
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
cmp dword [ebp - 0x14], 0
je 0x45bf97
cmp dword [ebp - 0x18], 0
je 0x45bf7f
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00403ca8
cmp dword [ebp - 0x18], 0
je 0x45bf97
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
call fcn.0045b5f0
mov edi, eax
dec edi
test edi, edi
jl 0x45bf97
inc edi
xor esi, esi
lea ecx, [ebp - 0x6c]
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b534
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x18]
call fcn.00403d6c
jne 0x45bf79
lea ecx, [ebp - 0x74]
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b534
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x10]
call fcn.00403a74
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0045bb78
inc esi
dec edi
jne 0x45bf32
jmp 0x45bf97
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00403a74
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0045bb78
inc ebx
dec dword [ebp - 0x2c]
jne 0x45be9a
push 0
mov ecx, 0x45c3ac
mov edx, 0x45c3e0
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x45c150
inc eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
push 0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x7c]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x45c3bc
call fcn.00403ca8
mov ecx, dword [ebp - 0x78]
mov edx, 0x45c3e0
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x84]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 0x45c3f0
call fcn.00403ca8
mov ecx, dword [ebp - 0x80]
mov edx, 0x45c3e0
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x8c]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x45c3cc
call fcn.00403ca8
mov ecx, dword [ebp - 0x88]
mov edx, 0x45c3e0
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
cmp dword [ebp - 0x14], 0
je 0x45c146
cmp dword [ebp - 0x10], 0
je 0x45c146
cmp dword [ebp - 0x18], 0
je 0x45c111
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00403ca8
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
call fcn.0045b5f0
mov edi, eax
dec edi
test edi, edi
jl 0x45c146
inc edi
xor esi, esi
lea ecx, [ebp - 0x94]
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b534
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x18]
call fcn.00403d6c
jne 0x45c10b
lea ecx, [ebp - 0x9c]
mov eax, dword [0x45e9a8]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b534
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.00403ca8
push 0
mov eax, dword [ebp - 0x10]
call fcn.00403e20
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403e20
push eax
call sub.kernel32.dll_CopyFileA
inc esi
dec edi
jne 0x45c0a9
jmp 0x45c146
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00403ca8
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00403ca8
push 0
mov eax, dword [ebp - 0x10]
call fcn.00403e20
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403e20
push eax
call sub.kernel32.dll_CopyFileA
inc ebx
dec dword [ebp - 0x2c]
jne 0x45bfc4
push 0
mov ecx, 0x45c3ac
mov edx, 0x45c400
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x45c26b
inc eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
push 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0xa4]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 0x45c410
call fcn.00403ca8
mov ecx, dword [ebp - 0xa0]
mov edx, 0x45c400
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0xac]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, 0x45c420
call fcn.00403ca8
mov ecx, dword [ebp - 0xa8]
mov edx, 0x45c400
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0xb4]
mov eax, ebx
call fcn.00408118
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov edx, 0x45c434
call fcn.00403ca8
mov ecx, dword [ebp - 0xb0]
mov edx, 0x45c400
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
cmp dword [ebp - 0x20], 0
je 0x45c261
cmp dword [ebp - 0x24], 0
je 0x45c261
cmp dword [ebp - 0x28], 0
je 0x45c261
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00403ca8
mov eax, dword [ebp - 0x20]
call fcn.00457acc
test al, al
je 0x45c261
mov eax, dword [ebp - 0x28]
push eax
mov cl, 2
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0045b6e8
inc ebx
dec dword [ebp - 0x2c]
jne 0x45c173
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c288
mov eax, dword [ebp - 0xc]
call fcn.00402d6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c330
lea eax, [ebp - 0xb4]
mov edx, 6
call fcn.00403a00
lea eax, [ebp - 0x9c]
mov edx, dword [0x45b438]
mov ecx, 2
call fcn.00404294
lea eax, [ebp - 0x8c]
mov edx, 6
call fcn.00403a00
lea eax, [ebp - 0x74]
mov edx, dword [0x45b438]
mov ecx, 2
call fcn.00404294
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00403a00
lea eax, [ebp - 0x54]
mov edx, dword [0x45b438]
mov ecx, 2
call fcn.00404294
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.00403a00
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.00403a00
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a00
ret