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

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101ce2f4]
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
mov eax, eax
push 0
push 0x101e5e74
call fcn.10058490
add esp, 8
mov edi, edi
mov ah, ah
push 0x1ff
lea edx, [esp + 0x29]
push 0
push edx
mov byte [esp + 0x30], 0
call fcn.101182b0
add esp, 0xc
test ch, ch
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 0x100f4cf4
nop
lea eax, [esp + 0x24]
push 0x101828ec
push eax
call fcn.10058470
add esp, 8
test dl, dl
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
test ecx, ecx
test eax, eax
je 0x100f4d53
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 0x100f4d43
test ebx, ebx
jmp 0x100f4d8e
lea eax, [esp + 0x1c]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100f4d60
lea edi, [esp + 0x24]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100f4d72
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 ebp, ebp
test ebx, ebx
mov edi, edi
mov byte [esp + 0xc], 0x72
mov byte [esp + 0xd], 0x62
mov byte [esp + 0xe], 0
mov al, al
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.101191f6
add esp, 8
mov esi, eax
mov eax, eax
test esi, esi
je 0x100f4ee0
push ebp
push 2
push 0
push esi
call fcn.101190ad
add esp, 0xc
test edx, edx
push esi
call fcn.10118fb8
add esp, 4
mov ebp, eax
mov dl, dl
push 0
push 0
push esi
call fcn.101190ad
add esp, 0xc
nop
push ebp
call fcn.10116bdc
add esp, 4
mov edi, eax
mov dl, dl
test edi, edi
je 0x100f4e0b
push esi
push ebp
push 1
push edi
call fcn.10118e05
add esp, 0x10
test eax, 0x360
push esi
call fcn.10118aed
add esp, 4
test ecx, ecx
test edi, edi
je 0x100f4edf
push ebp
push edi
call fcn.10057600
add esp, 8
test eax, eax
je 0x100f4ebd
mov edx, dword [esp + 0x14]
push edx
push ebp
push edi
call fcn.10057400
add esp, 0xc
mov ebp, eax
mov eax, eax
test ebp, ebp
jle 0x100f4ed4
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
mov bh, bh
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.101191f6
add esp, 8
mov esi, eax
mov bl, bl
test esi, esi
je 0x100f4ed4
push esi
push ebp
lea edx, [edi + 8]
push 1
push edx
call fcn.1011aebe
add esp, 0x10
test ch, ch
push esi
call fcn.10118aed
add esp, 4
test edi, edi
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 eax, eax
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test edi, edi
jmp 0x100f4ed4
mov eax, dword [esp + 0x1c]
push ebx
push 0x2ee0
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileSectionNamesA]
mov dword [esp + 0x18], eax
mov dl, dl
push edi
call fcn.10116c9f
add esp, 4
push eax
pop eax
pop ebp
push 0x101e5e74
call fcn.10058520
add esp, 4
test dl, dl
test bl, bl
test ecx, ecx
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
add eax, 0xffffffff
call fcn.1011717a
add esp, 0x21c
ret 0xc