Function at 0x100f4670
Capabilities:
Delete file
Read .ini file
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x220
mov eax, dword [0x101ce2f4]
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
mov ebx, dword [esp + 0x234]
push esi
push edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x240]
push 0
push 0x101e5e74
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
call fcn.10058490
add esp, 8
mov edi, edi
test ecx, ecx
push 0x1ff
lea ecx, [esp + 0x2d]
push 0
push ecx
mov byte [esp + 0x34], 0
call fcn.101182b0
add esp, 0xc
mov al, al
lea edx, [esp + 0x28]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100f46f0
mov edi, edi
lea edx, [esp + 0x28]
push 0x101828ec
push edx
call fcn.10058470
add esp, 8
xchg ebx, eax
xchg ebx, eax
mov cl, 0x74
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x6d
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0
xchg ebx, eax
xchg ebx, eax
test eax, eax
je 0x100f4750
lea ecx, [esp + 0x20]
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 0x100f4740
test ch, ch
jmp 0x100f4784
lea eax, [esp + 0x20]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100f4756
lea edi, [esp + 0x28]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100f4768
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]
test dh, dh
mov al, al
test ecx, ecx
mov byte [esp + 0xc], 0x72
mov byte [esp + 0xd], 0x62
mov byte [esp + 0xe], 0
mov edx, edx
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.101191f6
add esp, 8
mov edi, eax
xchg ebx, eax
xchg ebx, eax
test edi, edi
je 0x100f48e7
push ebp
push 2
push 0
push edi
call fcn.101190ad
add esp, 0xc
mov esi, esi
push edi
call fcn.10118fb8
add esp, 4
mov ebp, eax
mov edx, edx
push 0
push 0
push edi
call fcn.101190ad
add esp, 0xc
mov ecx, ecx
push ebp
call fcn.10116bdc
add esp, 4
mov esi, eax
mov dl, dl
test esi, esi
je 0x100f47ff
push edi
push ebp
push 1
push esi
call fcn.10118e05
add esp, 0x10
xchg ebx, eax
xchg ebx, eax
push edi
call fcn.10118aed
add esp, 4
push eax
pop eax
test esi, esi
je 0x100f48e6
push ebp
push esi
call fcn.10057600
add esp, 8
test eax, eax
je 0x100f48bc
mov edx, dword [esp + 0x14]
push edx
push ebp
push esi
call fcn.10057400
add esp, 0xc
mov ebp, eax
mov bl, bl
test ebp, ebp
jle 0x100f48db
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
push ebx
pop ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.101191f6
add esp, 8
mov edi, eax
test edx, edx
test edi, edi
je 0x100f48db
push edi
push ebp
lea edx, [esi + 8]
push 1
push edx
call fcn.1011aebe
add esp, 0x10
test al, al
push edi
call fcn.10118aed
add esp, 4
test eax, 0x6409
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push 0x2ee0
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
test edx, edx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov edx, edx
jmp 0x100f48db
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebx
push 0x2ee0
push edx
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov edi, edi
push esi
call fcn.10116c9f
add esp, 4
test edi, edi
pop ebp
push 0x101e5e74
call fcn.10058520
add esp, 4
test dl, dl
mov edx, edx
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011717a
add esp, 0x220
ret 0x14