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

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101ad3b4]
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
push 0
push 0x102c3ac4
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
call fcn.10041030
push 0x1ff
lea edx, [esp + 0x31]
push 0
push edx
mov byte [esp + 0x38], 0
call fcn.100f6b80
lea edx, [esp + 0x38]
add esp, 0x14
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100d0b40
lea eax, [esp + 0x24]
push 0x1016199c
push eax
call fcn.10041010
mov cl, 0x74
add esp, 8
test eax, eax
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
je 0x100d0b9e
lea ecx, [esp + 0x1c]
mov edx, eax
mov eax, ecx
sub edx, eax
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx + ecx], al
add ecx, 1
test al, al
jne 0x100d0b90
jmp 0x100d0bd0
lea eax, [esp + 0x1c]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100d0ba4
lea edi, [esp + 0x24]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100d0bb6
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]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov byte [esp + 0x18], 0x72
mov byte [esp + 0x19], 0x62
mov byte [esp + 0x1a], 0
call fcn.100f794d
mov esi, eax
add esp, 8
test esi, esi
je 0x100d0ce6
push ebp
push 2
push 0
push esi
call fcn.100f7804
push esi
call fcn.100f770f
push 0
push 0
push esi
mov ebp, eax
call fcn.100f7804
push ebp
call fcn.100f5b7c
mov edi, eax
add esp, 0x20
test edi, edi
je 0x100d0c30
push esi
push ebp
push 1
push edi
call fcn.100f755c
add esp, 0x10
push esi
call fcn.100f7244
add esp, 4
test edi, edi
je 0x100d0ce5
push ebp
push edi
call fcn.10040320
add esp, 8
test eax, eax
je 0x100d0cc7
mov edx, dword [esp + 0x10]
push edx
push ebp
push edi
call fcn.10040100
mov ebp, eax
add esp, 0xc
test ebp, ebp
jle 0x100d0cdc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x18], 0x77
mov byte [esp + 0x19], 0x62
mov byte [esp + 0x1a], 0
call fcn.100f794d
mov esi, eax
add esp, 8
test esi, esi
je 0x100d0cdc
push esi
push ebp
lea edx, [edi + 8]
push 1
push edx
call fcn.100f9b6e
push esi
call fcn.100f7244
mov ecx, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 0x28]
push eax
push 0x2ee0
push ecx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileSectionNamesA]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
jmp 0x100d0cdc
mov eax, dword [esp + 0x1c]
push ebx
push 0x2ee0
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileSectionNamesA]
mov dword [esp + 0x18], eax
push edi
call fcn.100f5c3f
add esp, 4
pop ebp
push 0x102c3ac4
call fcn.100410c0
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
add eax, 0xffffffff
call fcn.100f611a
add esp, 0x21c
ret 0xc