Function at 0x6f8500
Capabilities:
Copy file
Enumerate files on windows
Move file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x776d3d
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x2f8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, 0x10
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
cmp dword [eax + 0x18], edx
jb 0x6f8563
mov ecx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x6f856a
lea ecx, [eax + 4]
mov dword [esp + 0x10], ecx
lea ebx, [esi + 4]
cmp dword [esi + 0x18], edx
jb 0x6f8576
mov eax, dword [ebx]
jmp 0x6f8578
mov eax, ebx
push 0xa
push ecx
push eax
call dword [sym.imp.kernel32.dll_MoveFileExA]
test eax, eax
jne 0x6f8d7c
push esi
mov edi, 0x7e6d18
lea esi, [esp + 0x58]
call fcn.00402fb0
mov edi, 0x10
add esp, 4
cmp dword [eax + 0x18], edi
jb 0x6f85ab
mov eax, dword [eax + 4]
jmp 0x6f85ae
add eax, 4
lea ecx, [esp + 0x1ac]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp dword [esp + 0x6c], edi
jb 0x6f85d2
mov edx, dword [esp + 0x58]
push edx
call fcn.006441c7
add esp, 4
xor edi, edi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
cmp esi, 0xffffffff
je 0x6f8d7c
test byte [esp + 0x1ac], 0x10
push esi
je 0x6f8d49
call dword [sym.imp.kernel32.dll_FindClose]
lea eax, [esp + 0x1c]
push eax
call fcn.0041bb90
push 0x7a8da5
lea ecx, [esp + 0x3c]
mov dword [esp + 0x304], edi
call fcn.00401280
mov byte [esp + 0x300], 1
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
call fcn.0041be70
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041bf10
mov dword [edi], esi
mov eax, dword [esi + 4]
lea ecx, [esp + 0x38]
mov dword [eax], esi
mov byte [esp + 0x300], 0
call fcn.004012f0
cmp dword [esp + 0x34], 0
je 0x6f8d1b
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x6f8747
call fcn.006441b7
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x6f8691
call fcn.006441b7
push 0xffffffffffffffff
lea eax, [esi + 8]
push 0
push eax
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1b4], 0xf
mov dword [esp + 0x1b0], 0
mov byte [esp + 0x1a0], 0
call fcn.00401530
mov byte [esp + 0x300], 2
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x158]
push edx
lea edi, [esp + 0x28]
call fcn.0041bd30
mov eax, dword [esp + 0x18]
push eax
mov edi, 0x7e6d28
lea esi, [esp + 0x90]
call fcn.00402fb0
add esp, 4
lea ecx, [esp + 0x190]
push ecx
push eax
lea esi, [esp + 0xcc]
mov byte [esp + 0x308], 3
call fcn.00402f10
push eax
mov edi, str..
lea esi, [esp + 0x60]
mov byte [esp + 0x30c], 4
call fcn.00402fb0
mov ebx, 0x10
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x6f874e
mov eax, dword [eax + 4]
jmp 0x6f8751
mov eax, dword [eax]
jmp 0x6f8687
add eax, 4
lea edx, [esp + 0x1ac]
push edx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x6c], ebx
jb 0x6f8777
mov eax, dword [esp + 0x58]
push eax
call fcn.006441c7
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
cmp dword [esp + 0xdc], ebx
jb 0x6f87a4
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.006441c7
add esp, 4
mov byte [esp + 0x300], 2
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], edi
mov byte [esp + 0xc8], 0
cmp dword [esp + 0xa4], ebx
jb 0x6f87db
mov edx, dword [esp + 0x90]
push edx
call fcn.006441c7
add esp, 4
cmp dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], edi
mov byte [esp + 0x90], 0
je 0x6f8cf0
mov eax, dword [esp + 0x14]
push eax
mov edi, 0x7e6d2c
lea esi, [esp + 0x3c]
call fcn.00402fb0
add esp, 4
lea ecx, [esp + 0x190]
push ecx
push eax
lea esi, [esp + 0x17c]
mov byte [esp + 0x308], 5
call fcn.00402f10
add esp, 8
mov edx, eax
mov byte [esp + 0x300], 6
call fcn.004395c0
cmp dword [esp + 0x18c], ebx
jb 0x6f885a
mov edx, dword [esp + 0x178]
push edx
call fcn.006441c7
add esp, 4
mov byte [esp + 0x300], 2
mov dword [esp + 0x18c], 0xf
mov dword [esp + 0x188], 0
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], ebx
jb 0x6f8893
mov eax, dword [esp + 0x3c]
push eax
call fcn.006441c7
add esp, 4
lea eax, [esp + 0x1d8]
mov dword [esp + 0x18c], 0xf
mov dword [esp + 0x188], 0
mov byte [esp + 0x178], 0
lea edx, [eax + 1]
jmp 0x6f88c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6f88c0
sub eax, edx
push eax
lea ecx, [esp + 0x1dc]
push ecx
lea ecx, [esp + 0x17c]
call fcn.004016e0
push 2
mov byte [esp + 0x304], 7
mov edx, dword [esp + 0x18c]
push 0x7e6d30
push edx
push 0
lea ecx, [esp + 0x184]
call fcn.00402330
test eax, eax
je 0x6f8ca7
mov eax, dword [esp + 0x188]
push 1
push str.._
push eax
push 0
lea ecx, [esp + 0x184]
call fcn.00402330
test eax, eax
je 0x6f8ca7
test byte [esp + 0x1ac], 0x10
je 0x6f8a27
cmp dword [esp + 0x1a4], 0
jne 0x6f8978
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x174]
push ecx
push edx
push eax
call fcn.0041be70
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041bf10
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
jmp 0x6f8c8c
lea eax, [esp + 0x190]
push eax
mov edi, 0x7e6d38
lea esi, [esp + 0x3c]
call fcn.00402fb0
add esp, 4
lea ecx, [esp + 0x174]
push ecx
push eax
lea esi, [esp + 0x78]
mov byte [esp + 0x308], 8
call fcn.00402f10
add esp, 8
mov byte [esp + 0x300], 9
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
lea edi, [ecx + 4]
push eax
push edx
push ecx
call fcn.0041be70
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041bf10
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
cmp dword [esp + 0x88], ebx
jb 0x6f89f0
mov eax, dword [esp + 0x74]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
cmp dword [esp + 0x50], ebx
jb 0x6f8c8c
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.006441c7
add esp, 4
jmp 0x6f8c8c
mov edx, dword [esp + 0x14]
push edx
mov edi, 0x7e6d40
lea esi, [esp + 0x15c]
call fcn.00402fb0
add esp, 4
lea ecx, [esp + 0x190]
push ecx
push eax
lea esi, [esp + 0x40]
mov byte [esp + 0x308], 0xa
call fcn.00402f10
push eax
mov edi, 0x7e6d3c
lea esi, [esp + 0x140]
mov byte [esp + 0x30c], 0xb
call fcn.00402fb0
add esp, 0xc
lea edx, [esp + 0x174]
push edx
push eax
lea esi, [esp + 0xe8]
mov byte [esp + 0x308], 0xc
call fcn.00402f10
mov ebx, eax
mov eax, dword [esp + 0x20]
push eax
mov edi, 0x7e6d48
lea esi, [esp + 0xb4]
mov byte [esp + 0x30c], 0xd
call fcn.00402fb0
add esp, 0xc
lea ecx, [esp + 0x190]
push ecx
push eax
lea esi, [esp + 0x104]
mov byte [esp + 0x308], 0xe
call fcn.00402f10
push eax
mov edi, 0x7e6d44
lea esi, [esp + 0x124]
mov byte [esp + 0x30c], 0xf
call fcn.00402fb0
add esp, 0xc
lea edx, [esp + 0x174]
push edx
push eax
lea esi, [esp + 0x78]
mov byte [esp + 0x308], 0x10
call fcn.00402f10
mov esi, 0x10
add esp, 8
cmp dword [ebx + 0x18], esi
jb 0x6f8b1d
mov ebx, dword [ebx + 4]
jmp 0x6f8b20
add ebx, 4
cmp dword [eax + 0x18], esi
jb 0x6f8b2a
mov eax, dword [eax + 4]
jmp 0x6f8b2d
add eax, 4
push 1
push ebx
push eax
call dword [sym.imp.kernel32.dll_CopyFileA]
cmp dword [esp + 0x88], esi
jb 0x6f8b4d
mov eax, dword [esp + 0x74]
push eax
call fcn.006441c7
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0x130], esi
jb 0x6f8b7f
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], 0
cmp dword [esp + 0x114], esi
jb 0x6f8bae
mov edx, dword [esp + 0x100]
push edx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], 0
cmp dword [esp + 0xc0], esi
jb 0x6f8bdd
mov eax, dword [esp + 0xac]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], 0
cmp dword [esp + 0xf8], esi
jb 0x6f8c0c
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.006441c7
add esp, 4
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], 0
cmp dword [esp + 0x14c], esi
jb 0x6f8c3b
mov edx, dword [esp + 0x138]
push edx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], 0
cmp dword [esp + 0x50], esi
jb 0x6f8c64
mov eax, dword [esp + 0x3c]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x170], esi
jb 0x6f8c8a
mov ecx, dword [esp + 0x15c]
push ecx
call fcn.006441c7
add esp, 4
mov ebx, esi
mov byte [esp + 0x300], 2
cmp dword [esp + 0x18c], ebx
jb 0x6f8cc8
mov edx, dword [esp + 0x178]
push edx
jmp 0x6f8cc0
mov byte [esp + 0x300], 2
cmp dword [esp + 0x18c], ebx
jb 0x6f8cc8
mov eax, dword [esp + 0x178]
push eax
call fcn.006441c7
add esp, 4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1ac]
push ecx
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x6f8893
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
xor edi, edi
mov byte [esp + 0x300], 0
cmp dword [esp + 0x1a8], ebx
jb 0x6f8d11
mov ecx, dword [esp + 0x194]
push ecx
call fcn.006441c7
add esp, 4
cmp dword [esp + 0x34], edi
jne 0x6f866e
lea edx, [esp + 0x1c]
push edx
call fcn.0041be10
mov eax, dword [esp + 0x30]
push eax
call fcn.006441c7
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
mov dword [esp + 0x34], 0
call fcn.006441c7
add esp, 4
jmp 0x6f8d7c
call dword [sym.imp.kernel32.dll_FindClose]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, 0x10
cmp dword [edx + 0x18], eax
jb 0x6f8d63
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x18], eax
jb 0x6f8d70
mov eax, dword [ebx]
jmp 0x6f8d72
mov eax, ebx
push 1
push ecx
push eax
call dword [sym.imp.kernel32.dll_CopyFileA]
mov ecx, dword [esp + 0x2f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret 4