Function at 0x100016a0
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100527be
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x10065060]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10065060]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc4]
cmp byte [ebp + 4], 0
jne 0x100016f7
push str.not_init_pass
call fcn.1002a9d5
jmp 0x100019d0
lea edi, [esp + 0x24]
call fcn.10001540
push eax
lea eax, [esp + 0x88]
xor esi, esi
push eax
mov dword [esp + 0xc4], esi
call fcn.10022980
mov ebx, 8
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x3c], ebx
jb 0x10001737
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1003a2e7
add esp, 4
xor edx, edx
mov edi, 7
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov word [esp + 0x28], dx
call fcn.10001450
push eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xc4], 3
call fcn.10022980
mov byte [esp + 0xbc], 5
cmp dword [esp + 0x58], ebx
jb 0x10001782
mov ecx, dword [esp + 0x44]
push ecx
call fcn.1003a2e7
add esp, 4
mov ecx, dword [esp + 0x64]
xor edx, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], esi
mov word [esp + 0x44], dx
cmp dword [esp + 0x78], ebx
jae 0x1000179f
lea ecx, [esp + 0x64]
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0xa0], ebx
jae 0x100017b6
lea eax, [esp + 0x8c]
push ecx
push eax
push str.file1:_ls__file2:_ls
call fcn.1002a9d5
mov eax, dword [esp + 0x98]
add esp, 0xc
cmp dword [esp + 0xa0], ebx
jae 0x100017dc
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000180f
push str._procmgr_
call fcn.1002a9d5
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.10022a00
lea ecx, [esp + 0x84]
call fcn.10022a00
jmp 0x100019d3
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x1000181d
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x8c]
cmp dword [esp + 0xa0], ebx
jae 0x10001834
lea ecx, [esp + 0x8c]
push eax
call fcn.1002557d
test eax, eax
jne 0x100018ac
push str._NN
call fcn.1002a9d5
mov eax, dword [esp + 0x68]
add esp, 4
cmp dword [esp + 0x78], ebx
jae 0x10001859
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x1000186e
lea ecx, [esp + 0x64]
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0xa0], ebx
jae 0x10001885
lea eax, [esp + 0x8c]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100018ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._rY6Rpenc
call fcn.1002a1ff
add esp, 8
jmp 0x100017f5
push str.start_dispatch
call fcn.1002a9d5
lea eax, [ebp + 8]
add esp, 4
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0xbc], 6
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov esi, dword [ebp + 0x48]
mov ebx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov edi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x48]
test esi, esi
je 0x100018f3
cmp esi, eax
je 0x100018f8
call fcn.1003a2ad
cmp ebx, edi
je 0x10001934
test esi, esi
jne 0x10001930
call fcn.1003a2ad
cmp ebx, dword [esi + 0x18]
jne 0x1000190f
call fcn.1003a2ad
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x60]
push eax
call edx
lea esi, [esp + 0x14]
call fcn.10002640
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x100018e5
mov esi, dword [esi]
jmp 0x10001905
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x7c]
xor esi, esi
mov edi, vtable.std::ustring.0
mov dword [esp + 0x5c], edi
cmp eax, esi
je 0x10001966
push eax
call fcn.1003a975
add esp, 4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov ebx, 8
cmp dword [esp + 0x78], ebx
jb 0x1000197e
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0xa4]
xor edx, edx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], esi
mov word [esp + 0x64], dx
mov dword [esp + 0x84], edi
cmp eax, esi
je 0x100019ba
push eax
call fcn.1003a975
add esp, 4
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
cmp dword [esp + 0xa0], ebx
jb 0x100019d3
mov eax, dword [esp + 0x8c]
push eax
call fcn.1003a2e7
add esp, 4
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.10039e38
add esp, 0xac
ret 4