Function at 0x1000abf0
Capabilities:
Copy file
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100f190b
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0x4cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4dc]
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x2c], vtable.CRijndael.0
mov byte [esp + 0x30], 0
xor esi, esi
mov dword [esp + 0x4d4], esi
mov dword [esp + 0x1c], esi
cmp ebx, esi
je 0x1000aeb5
cmp eax, esi
je 0x1000aeb5
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
push esi
push 0xfde9
call ebp
mov edi, eax
cmp edi, esi
je 0x1000aeb5
lea eax, [edi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1000aeb5
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call ebp
mov edi, dword [0x101e30c8]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push esi
push edi
call ebp
test eax, eax
je 0x1000ad19
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esp, [esp]
push esi
push edi
call ebp
push esi
mov dword [esp + 0x28], eax
call ebx
mov ecx, dword [esp + 0x24]
cmp byte [ecx + eax], 0xd
je 0x1000acf8
push esi
push edi
call ebp
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebx + eax], 0
jne 0x1000ad15
inc dword [esp + 0x1c]
push esi
push edi
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
mov edi, eax
call ebx
add edi, eax
push esi
push edi
call ebp
test eax, eax
jne 0x1000acd0
mov ebx, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jbe 0x1000aeb5
mov edi, dword [esp + 0x20]
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea esp, [esp]
push 0x101e3098
mov eax, 0x10
mov ecx, 0x101e30b8
lea esi, [esp + 0x30]
call fcn.10031930
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebp
push 0x80
push 3
push ebp
push 3
push SysReAllocString
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ae8f
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebp
push 0x80
push 3
push ebp
push 1
push 0x40000000
push edi
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x1000ae84
push ebp
lea edx, [esp + 0x1c]
push edx
push 0x10
lea eax, [esp + 0x4c0]
push eax
push esi
mov dword [esp + 0x2c], ebp
xor bl, bl
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000ae79
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x1000ae79
cmp eax, 0x10
jne 0x1000ae72
test bl, bl
jne 0x1000adee
mov bl, 1
xor eax, eax
push 0x10
lea ecx, [esp + 0x4a8]
push ecx
lea edx, [esp + 0x4bc]
mov dword [esp + 0x4ad], eax
mov dword [esp + 0x4b1], eax
mov dword [esp + 0x4b5], eax
mov word [esp + 0x4b9], ax
mov byte [esp + 0x4bb], al
push edx
lea eax, [esp + 0x38]
mov byte [esp + 0x4b0], 0
call fcn.10032470
mov ecx, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x4b0]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
lea eax, [esp + 0x1c]
push eax
push 0x10
lea ecx, [esp + 0x4c0]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000add3
jmp 0x1000ae79
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov byte [esp + 0x1b], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
mov al, byte [esp + 0x17]
cmp al, 1
jne 0x1000aea4
sub dword [esp + 0x1c], 1
jne 0x1000ad40
jmp 0x1000aeb7
test al, al
jne 0x1000aeaf
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [esp + 0x17]
jmp 0x1000aeb7
xor al, al
mov ecx, dword [esp + 0x4cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.100d0738
add esp, 0x4c4
ret 4