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

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101ce2ac]
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 dh, dh
push 0
push 0x101e5db4
call fcn.10058180
add esp, 8
mov bh, bh
test edx, edx
push 0x1ff
lea edx, [esp + 0x29]
push 0
push edx
mov byte [esp + 0x30], 0
call fcn.10117df0
add esp, 0xc
test cl, cl
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 0x100f4834
mov al, al
lea eax, [esp + 0x24]
push 0x101828fc
push eax
call fcn.10058160
add esp, 8
test eax, 0x69f0
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
mov ecx, ecx
test eax, eax
je 0x100f4897
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 0x100f4887
test edx, edx
jmp 0x100f48ce
lea eax, [esp + 0x1c]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100f48a0
lea edi, [esp + 0x24]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100f48b2
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 ch, ch
test ebx, ebx
test al, al
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.10118d36
add esp, 8
mov esi, eax
test edi, edi
test esi, esi
je 0x100f4a27
push ebp
push 2
push 0
push esi
call fcn.10118bed
add esp, 0xc
test bh, bh
push esi
call fcn.10118af8
add esp, 4
mov ebp, eax
test eax, 0x50ba
push 0
push 0
push esi
call fcn.10118bed
add esp, 0xc
test eax, 0x486e
push ebp
call fcn.1011671b
add esp, 4
mov edi, eax
test eax, 0x57ad
test edi, edi
je 0x100f4952
push esi
push ebp
push 1
push edi
call fcn.10118945
add esp, 0x10
mov ah, ah
push esi
call fcn.1011862d
add esp, 4
mov dh, dh
test edi, edi
je 0x100f4a26
push ebp
push edi
call fcn.100572e0
add esp, 8
test eax, eax
je 0x100f4a04
mov edx, dword [esp + 0x14]
push edx
push ebp
push edi
call fcn.100570d0
add esp, 0xc
mov ebp, eax
push edx
pop edx
test ebp, ebp
jle 0x100f4a1b
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
test ah, ah
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10118d36
add esp, 8
mov esi, eax
mov ebx, ebx
test esi, esi
je 0x100f4a1b
push esi
push ebp
lea edx, [edi + 8]
push 1
push edx
call fcn.1011a9fe
add esp, 0x10
test esi, esi
push esi
call fcn.1011862d
add esp, 4
mov bl, bl
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 ebp, ebp
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov bh, bh
jmp 0x100f4a1b
mov eax, dword [esp + 0x1c]
push ebx
push 0x2ee0
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileSectionNamesA]
mov dword [esp + 0x18], eax
test ch, ch
push edi
call fcn.101167de
add esp, 4
test bl, bl
pop ebp
push 0x101e5db4
call fcn.10058210
add esp, 4
push edx
pop edx
test ecx, ecx
test dl, dl
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
add eax, 0xffffffff
call fcn.10116cb9
add esp, 0x21c
ret 0xc