Function at 0x6d78c8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x6d78d0
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6d7b91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x134], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x194], 0
je 0x6d7b5c
mov eax, dword [ebp - 4]
push dword [eax + 0x18c]
push dword [eax + 0x188]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x194]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004094ec
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x6d7b5c
xor eax, eax
push ebp
push 0x6d7b55
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x194]
mov ecx, 0x7fffffff
mov edx, 2
call fcn.00408490
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x717644]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
call fcn.00408320
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00424020
test al, al
je 0x6d7af5
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x6d7ad8
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1a0]
lea eax, [ebp - 0x18]
mov edx, 0x6d7bac
call fcn.00408320
mov edx, dword [0x717644]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.00408320
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.00424020
test al, al
jne 0x6d79b5
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
call fcn.004080c4
push eax
mov eax, dword [ebp - 0x10]
call fcn.004080c4
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x6d7a5b
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor edx, edx
call fcn.004b6500
test al, al
jne 0x6d7a5b
mov eax, 0x6d7bbc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor ecx, ecx
mov dx, 0x36
call fcn.004b64b8
mov eax, dword [ebp - 0x24]
mov ecx, 0x58d
mov edx, 0x6d7bf8
call fcn.004070a4
mov eax, dword [ebp - 4]
push dword [eax + 0x18c]
push dword [eax + 0x188]
lea eax, [ebp - 0x30]
imul edx, dword [ebp - 0xc], 0x107
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x40]
lea edx, [ecx + edx*4 + 8]
mov ecx, 0x105
call fcn.00408170
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
imul edx, dword [ebp - 0xc], 0x107
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x40]
lea edx, [ecx + edx*4 + 0x212]
mov ecx, 0x105
call fcn.00408170
mov eax, dword [ebp - 0x34]
push eax
imul eax, dword [ebp - 0xc], 0x107
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x6d79b5
push 0
mov eax, dword [ebp - 4]
add eax, 0x40
mov ecx, 1
mov edx, dword [0x6d2934]
call fcn.004096a0
add esp, 4
jmp 0x6d7b47
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor edx, edx
call fcn.004b6500
test al, al
jne 0x6d7b47
mov eax, 0x6d7cac
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor ecx, ecx
mov dx, 0x36
call fcn.004b64b8
mov eax, dword [ebp - 0x38]
mov ecx, 0x595
mov edx, 0x6d7bf8
call fcn.004070a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d7b5c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d7b98
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004072bc
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004072bc
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004072bc
ret