Function at 0x100f21f0
Capabilities:
Copy file
Delete file
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x220
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x22c]
push ebx
push ebp
mov ebp, dword [esp + 0x238]
push esi
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x244]
push 0
push 0x101e47d4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
call fcn.10058cb0
add esp, 8
mov ebp, ebp
test ecx, ecx
push 0x1ff
lea ecx, [esp + 0x31]
push 0
push ecx
mov byte [esp + 0x38], 0
call fcn.10118770
add esp, 0xc
test cl, cl
lea edx, [esp + 0x2c]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100f2271
mov dl, dl
lea edx, [esp + 0x2c]
push 0x10181b84
push edx
call fcn.10058c90
add esp, 8
mov esi, esi
mov cl, 0x74
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x70
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0
mov bl, bl
test eax, eax
je 0x100f22d1
lea ecx, [esp + 0x24]
mov edx, eax
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
mov byte [edx + ecx], al
add ecx, 1
test al, al
jne 0x100f22c1
mov edx, edx
jmp 0x100f230c
lea eax, [esp + 0x24]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100f22d7
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100f22f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov bl, bl
test eax, 0x227c
xchg ebx, eax
xchg ebx, eax
mov byte [esp + 0x10], 0x72
mov byte [esp + 0x11], 0x62
mov byte [esp + 0x12], 0
test ebx, ebx
lea ecx, [esp + 0x10]
push ecx
push ebp
call fcn.10119274
add esp, 8
mov edi, eax
test eax, eax
test edi, edi
je 0x100f2497
push 2
push 0
push edi
call fcn.1011912b
add esp, 0xc
push edx
pop edx
push edi
call fcn.10119036
add esp, 4
mov ebx, eax
mov bh, bh
push 0
push 0
push edi
call fcn.1011912b
add esp, 0xc
test eax, 0x1fd
push ebx
call fcn.10117b2c
add esp, 4
mov esi, eax
test ecx, ecx
test esi, esi
je 0x100f238c
push edi
push ebx
push 1
push esi
call fcn.10118e83
add esp, 0x10
test edx, edx
push edi
call fcn.10118b6b
add esp, 4
nop
test esi, esi
je 0x100f2497
push ebx
push esi
call fcn.10057e20
add esp, 8
test eax, eax
je 0x100f2462
mov edx, dword [esp + 0x14]
push edx
push ebx
push esi
call fcn.10057c10
add esp, 0xc
mov ebx, eax
mov edi, edi
test ebx, ebx
jle 0x100f248a
mov byte [esp + 0x24], 0x77
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0
mov edi, edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.10119274
add esp, 8
mov edi, eax
mov ebp, ebp
test edi, edi
je 0x100f248a
push edi
push ebx
lea edx, [esi + 8]
push 1
push edx
call fcn.1011b5f9
add esp, 0x10
push ecx
pop ecx
push edi
call fcn.10118b6b
add esp, 4
test ah, ah
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test bh, bh
push 0
push ebp
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov bh, bh
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dl, dl
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.10057e40
add esp, 8
test bl, bl
jmp 0x100f248a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ebp
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, ecx
mov ecx, dword [esp + 0x14]
push ecx
push ebp
call fcn.10057e40
add esp, 8
test ch, ch
push esi
call fcn.10117bef
add esp, 4
test bh, bh
jmp 0x100f24bf
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ebp
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov bl, bl
mov edx, dword [esp + 0x14]
push edx
push ebp
call fcn.10057e40
add esp, 8
test dl, dl
push 0x101e47d4
call fcn.10058d40
add esp, 4
mov ebp, ebp
test al, al
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101180ca
add esp, 0x220
ret 0x14