Function at 0x653318
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x44
push 0
push 0
dec ecx
jne 0x653321
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004056e0
xor eax, eax
push ebp
push 0x65393c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x208]
call fcn.004a8544
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 0x14]
mov ecx, 0x653958
call fcn.0040553c
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 8]
call fcn.0040b858
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.0040553c
push 0
mov eax, dword [ebp - 0x18]
call fcn.004056f0
push eax
mov eax, dword [ebp - 8]
call fcn.004056f0
push eax
call sub.KERNEL32.DLL_CopyFileA
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00653e24
lea eax, [ebp - 0x18]
mov edx, 0x653964
call fcn.004054f8
lea edx, [ebp - 0x204]
mov eax, dword [ebp - 0x18]
call fcn.00650e14
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x204]
call fcn.00650d8c
lea eax, [ebp - 0x1c]
mov ecx, 0x653970
mov edx, dword [ebp - 0x18]
call fcn.0040553c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1f4]
call fcn.004034d0
lea eax, [ebp - 0x1f4]
call fcn.0040326c
call fcn.00402d4c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1f4]
call fcn.0040590c
call fcn.0040358c
call fcn.00402d4c
lea eax, [ebp - 0x1f4]
call fcn.00403598
call fcn.00402d4c
xor eax, eax
push ebp
push 0x653460
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41fd9c]
call fcn.00426b5c
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x653484
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
call fcn.00426eb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x28]
call fcn.004268bc
mov eax, dword [ebp - 0x28]
call fcn.004042c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
call fcn.0040b858
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x40]
test al, al
jne 0x653696
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x28]
cmp dword [eax + 0x1bc], 0
jne 0x653544
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x653633
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 0x6539a4
call fcn.00405268
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x28]
cmp dword [eax + 0x1bc], 0
je 0x6535c3
mov eax, dword [ebp - 4]
push dword [eax + 0x78]
push 0x6539c8
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1bc]
call fcn.0040ac38
push dword [ebp - 0x210]
push 0x6539d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x28]
push dword [eax + 0x1c0]
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 5
call fcn.004055b0
jmp 0x653681
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x653681
mov eax, dword [ebp - 4]
push dword [eax + 0x78]
push 0x6539c8
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x1bc]
call fcn.0040ac38
push dword [ebp - 0x214]
push 0x6539d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
push dword [eax + 0x1c0]
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 5
call fcn.004055b0
jmp 0x653681
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x30], 0
jne 0x653654
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 0x6539e0
call fcn.00405268
jmp 0x653681
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x30]
call fcn.0040ac38
mov ecx, dword [ebp - 0x218]
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 0x653a00
call fcn.0040553c
mov eax, dword [ebp - 0x18]
call fcn.0040b66c
mov eax, dword [ebp - 0x1c]
call fcn.0040b66c
jmp 0x653909
xor eax, eax
push ebp
push 0x6536c2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41fd9c]
call fcn.00426b5c
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6536e6
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
call fcn.00426eb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x28]
call fcn.004268bc
mov eax, dword [ebp - 0x28]
call fcn.004042c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.0040b858
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x40]
test al, al
jne 0x6538f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x28]
cmp dword [eax + 0x1bc], 0
jne 0x6537a6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x653895
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 0x6539a4
call fcn.00405268
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x28]
cmp dword [eax + 0x1bc], 0
je 0x653825
mov eax, dword [ebp - 4]
push dword [eax + 0x78]
push 0x6539c8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1bc]
call fcn.0040ac38
push dword [ebp - 0x21c]
push 0x6539d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x28]
push dword [eax + 0x1c0]
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 5
call fcn.004055b0
jmp 0x6538e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x6538e3
mov eax, dword [ebp - 4]
push dword [eax + 0x78]
push 0x6539c8
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x1bc]
call fcn.0040ac38
push dword [ebp - 0x220]
push 0x6539d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
push dword [eax + 0x1c0]
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 5
call fcn.004055b0
jmp 0x6538e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x30], 0
jne 0x6538b6
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 0x6539e0
call fcn.00405268
jmp 0x6538e3
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x30]
call fcn.0040ac38
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, 0x653a00
call fcn.0040553c
mov eax, dword [ebp - 0x18]
call fcn.0040b66c
mov eax, dword [ebp - 0x1c]
call fcn.0040b66c
jmp 0x653909
mov eax, dword [ebp - 0x18]
call fcn.0040b66c
mov eax, dword [ebp - 0x1c]
call fcn.0040b66c
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x653943
lea eax, [ebp - 0x224]
mov edx, 8
call fcn.00405238
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00405238
lea eax, [ebp - 8]
call fcn.00405214
ret