Function at 0x67af94
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x67af9d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x67b2a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov edx, dword [esi + 0x70]
lea eax, [ebp - 4]
mov ecx, ebx
call fcn.0040a17c
lea eax, [ebp - 4]
call fcn.00527630
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00421a8c
test al, al
je 0x67b27e
mov dl, 1
mov eax, dword [0x474518]
call fcn.00497160
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x67b277
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
movzx eax, byte [0x67b2bc]
push eax
mov eax, 0x67b2cc
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005e87f8
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x67b07c
push dword [esi + 0x74]
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x34]
push 0x67b2e4
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040a204
mov eax, dword [ebp - 0x30]
mov dl, 1
call fcn.004219f4
test al, al
je 0x67b076
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
dec ebx
cmp ebx, 0xffffffff
jne 0x67b039
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x67b261
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x20]
call fcn.00495a0c
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x67b25a
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x67b22c
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004093c0
test byte [ebp + 8], 2
setne bl
xor bl, 1
test bl, bl
je 0x67b0e3
mov eax, dword [esi + 0x74]
call fcn.00421b6c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0052752c
push dword [esi + 0x74]
push dword [ebp - 0xc]
push 0x67b2e4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040a204
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.004219f4
test al, al
jne 0x67b22c
mov byte [ebp - 0x19], 1
test bl, bl
je 0x67b22c
cmp byte [ebp + 0xc], 0
jne 0x67b203
cmp byte [ebp - 0x21], 0
jne 0x67b140
mov eax, dword [ebp - 0x18]
call fcn.00421b6c
mov byte [ebp - 0x21], 1
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push 0x67b2cc
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040a204
mov eax, dword [ebp - 0x38]
call fcn.00409f10
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x67b2cc
mov edx, dword [ebp - 8]
call fcn.0040a17c
mov eax, dword [ebp - 0x3c]
call fcn.00409f10
push eax
call sub.kernel32.dll_CopyFileW
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push 0x67b2e4
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040a204
mov eax, dword [ebp - 0x40]
call fcn.00409f10
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x67b2e4
mov edx, dword [ebp - 8]
call fcn.0040a17c
mov eax, dword [ebp - 0x44]
call fcn.00409f10
push eax
call sub.kernel32.dll_CopyFileW
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push 0x67b2fc
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040a204
mov eax, dword [ebp - 0x48]
call fcn.00409f10
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x67b2fc
mov edx, dword [ebp - 8]
call fcn.0040a17c
mov eax, dword [ebp - 0x4c]
call fcn.00409f10
push eax
call sub.kernel32.dll_CopyFileW
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
call fcn.00409f10
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x67b2e4
mov edx, dword [ebp - 8]
call fcn.0040a17c
mov eax, dword [ebp - 0x50]
call fcn.00409f10
push eax
call sub.kernel32.dll_CopyFileW
mov eax, dword [ebp - 0x28]
call fcn.00495134
test al, al
jne 0x67b0ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67b261
cmp dword [ebp - 0x28], 0
je 0x67b259
mov dl, 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67b27e
mov eax, dword [ebp - 0x20]
call fcn.004072c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67b2ad
lea eax, [ebp - 0x50]
mov edx, 9
call fcn.00408ff8
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00408ff8
ret