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

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x228]
push ebx
mov ebx, dword [esp + 0x228]
push esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
test eax, eax
push 0
push 0x101e47d4
call fcn.10058cb0
add esp, 8
mov ebp, ebp
test ebx, ebx
push 0x1ff
lea edx, [esp + 0x29]
push 0
push edx
mov byte [esp + 0x30], 0
call fcn.10118770
add esp, 0xc
test bl, bl
lea edx, [esp + 0x24]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100f25b4
test cl, cl
lea eax, [esp + 0x24]
push 0x10181b84
push eax
call fcn.10058c90
add esp, 8
test ch, ch
mov cl, 0x74
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], 0x6d
mov byte [esp + 0x1f], 0x70
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], 0
push eax
pop eax
test eax, eax
je 0x100f2614
lea ecx, [esp + 0x1c]
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 0x100f2604
mov bh, bh
jmp 0x100f264e
lea eax, [esp + 0x1c]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100f2620
lea edi, [esp + 0x24]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100f2632
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 ebx, ebx
test esi, esi
mov ecx, ecx
mov byte [esp + 0xc], 0x72
mov byte [esp + 0xd], 0x62
mov byte [esp + 0xe], 0
test eax, eax
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.10119274
add esp, 8
mov esi, eax
test esi, esi
test esi, esi
je 0x100f27a1
push ebp
push 2
push 0
push esi
call fcn.1011912b
add esp, 0xc
mov dh, dh
push esi
call fcn.10119036
add esp, 4
mov ebp, eax
mov dl, dl
push 0
push 0
push esi
call fcn.1011912b
add esp, 0xc
test ecx, ecx
push ebp
call fcn.10117b2c
add esp, 4
mov edi, eax
xchg ebx, eax
xchg ebx, eax
test edi, edi
je 0x100f26c9
push esi
push ebp
push 1
push edi
call fcn.10118e83
add esp, 0x10
push ebx
pop ebx
push esi
call fcn.10118b6b
add esp, 4
mov dh, dh
test edi, edi
je 0x100f27a0
push ebp
push edi
call fcn.10057e20
add esp, 8
test eax, eax
je 0x100f277e
mov edx, dword [esp + 0x14]
push edx
push ebp
push edi
call fcn.10057c10
add esp, 0xc
mov ebp, eax
test eax, 0x3d84
test ebp, ebp
jle 0x100f2795
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
push edx
pop edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10119274
add esp, 8
mov esi, eax
mov al, al
test esi, esi
je 0x100f2795
push esi
push ebp
lea edx, [edi + 8]
push 1
push edx
call fcn.1011b5f9
add esp, 0x10
test edi, edi
push esi
call fcn.10118b6b
add esp, 4
mov esi, esi
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push 0x2ee0
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [esp + 0x18], eax
mov dl, dl
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, al
jmp 0x100f2795
mov eax, dword [esp + 0x1c]
push ebx
push 0x2ee0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [esp + 0x18], eax
mov cl, cl
push edi
call fcn.10117bef
add esp, 4
test ah, ah
pop ebp
push 0x101e47d4
call fcn.10058d40
add esp, 4
mov ebp, ebp
xchg ebx, eax
xchg ebx, eax
test eax, 0x1267
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
add eax, 0xffffffff
call fcn.101180ca
add esp, 0x21c
ret 0xc