Function at 0x100f2830
Capabilities:
Delete file
Read .ini 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 + 0x230]
push ebx
mov ebx, dword [esp + 0x230]
push esi
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
test bl, bl
push 0
push 0x101e47d4
call fcn.10058cb0
add esp, 8
mov ebp, ebp
mov ebx, ebx
push 0x1ff
lea eax, [esp + 0x2d]
push 0
push eax
mov byte [esp + 0x34], 0
call fcn.10118770
add esp, 0xc
mov ah, ah
lea edx, [esp + 0x28]
mov eax, ebx
sub edx, ebx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100f28b0
test bh, bh
lea ecx, [esp + 0x28]
push 0x10181b84
push ecx
call fcn.10058c90
add esp, 8
test bl, bl
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
mov cl, cl
test eax, eax
je 0x100f2910
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 0x100f2900
mov ah, ah
jmp 0x100f2944
lea eax, [esp + 0x20]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100f2916
lea edi, [esp + 0x28]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100f2928
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 eax, eax
mov cl, cl
test ecx, ecx
mov byte [esp + 0xc], 0x72
mov byte [esp + 0xd], 0x62
mov byte [esp + 0xe], 0
test cl, cl
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.10119274
add esp, 8
mov esi, eax
test eax, 0x5a9f
test esi, esi
je 0x100f2aa7
push ebp
push 2
push 0
push esi
call fcn.1011912b
add esp, 0xc
test cl, cl
push esi
call fcn.10119036
add esp, 4
mov ebp, eax
mov eax, eax
push 0
push 0
push esi
call fcn.1011912b
add esp, 0xc
push ecx
pop ecx
push ebp
call fcn.10117b2c
add esp, 4
mov edi, eax
mov edx, edx
test edi, edi
je 0x100f29c2
push esi
push ebp
push 1
push edi
call fcn.10118e83
add esp, 0x10
test esi, esi
push esi
call fcn.10118b6b
add esp, 4
test dh, dh
test edi, edi
je 0x100f2aa6
push ebp
push edi
call fcn.10057e20
add esp, 8
test eax, eax
je 0x100f2a7c
mov edx, dword [esp + 0x14]
push edx
push ebp
push edi
call fcn.10057c10
add esp, 0xc
mov ebp, eax
push eax
pop eax
test ebp, ebp
jle 0x100f2a98
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
mov eax, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.10119274
add esp, 8
mov esi, eax
mov ah, ah
test esi, esi
je 0x100f2a98
push esi
push ebp
lea edx, [edi + 8]
push 1
push edx
call fcn.1011b5f9
add esp, 0x10
test ecx, ecx
push esi
call fcn.10118b6b
add esp, 4
test dh, dh
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
push 0xea60
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [esp + 0x18], eax
test ch, ch
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, 0x7114
jmp 0x100f2a98
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ebx
push 0xea60
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [esp + 0x18], eax
push ebx
pop ebx
push edi
call fcn.10117bef
add esp, 4
test eax, 0x74d7
pop ebp
push 0x101e47d4
call fcn.10058d40
add esp, 4
mov ebp, ebp
test eax, 0x879
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101180ca
add esp, 0x220
ret 0x10