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

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101e5aec]
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 ebx, ebx
push 0
push 0x102fc244
call fcn.1005ed90
add esp, 8
mov ecx, ecx
cmp dword [0x101d31e4], 0x5bc3
push 0x1ff
lea edx, [esp + 0x29]
push 0
push edx
mov byte [esp + 0x30], 0
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d31e0], 0x6511
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 0x10107bb4
cmp dword [0x101d31f0], 0xffff9988
lea eax, [esp + 0x24]
push 0x10198bac
push eax
call fcn.1005ed70
add esp, 8
mov ebx, ebx
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
cmp dword [0x101d31e4], 0xffffa43c
test eax, eax
je 0x10107c2c
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 0x10107c14
cmp dword [0x101d31ec], 0x25b6
jmp 0x10107c68
lea eax, [esp + 0x1c]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10107c32
lea edi, [esp + 0x24]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10107c44
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]
cmp dword [0x101d31f4], 0xffffecfc
mov ebx, ebx
cmp dword [0x101d31e0], 0x6511
mov byte [esp + 0xc], 0x72
mov byte [esp + 0xd], 0x62
mov byte [esp + 0xe], 0
cmp dword [0x101d31e0], 0xffff9aee
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.1012f564
add esp, 8
mov esi, eax
mov al, al
test esi, esi
je 0x10107e0f
push ebp
push 2
push 0
push esi
call fcn.1012f41b
add esp, 0xc
cmp dword [0x101d31d8], 0x11d5
push esi
call fcn.1012f326
add esp, 4
mov ebp, eax
push edx
pop edx
push 0
push 0
push esi
call fcn.1012f41b
add esp, 0xc
cmp dword [0x101d31f0], 0xffff9988
push ebp
call fcn.1012de1c
add esp, 4
mov edi, eax
nop
test edi, edi
je 0x10107d0a
push esi
push ebp
push 1
push edi
call fcn.1012f173
add esp, 0x10
cmp dword [0x101d31e4], 0x5bc3
push esi
call fcn.1012ee5b
add esp, 4
cmp dword [0x101d31d4], 0xffff831c
test edi, edi
je 0x10107e0e
push ebp
push edi
call fcn.1005dc10
add esp, 8
test eax, eax
je 0x10107dec
mov edx, dword [esp + 0x14]
push edx
push ebp
push edi
call fcn.1005d9f0
add esp, 0xc
mov ebp, eax
cmp dword [0x101d31e0], 0xffff9aee
test ebp, ebp
jle 0x10107e03
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
cmp dword [0x101d31e4], 0x5bc3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.1012f564
add esp, 8
mov esi, eax
mov bl, bl
test esi, esi
je 0x10107e03
push esi
push ebp
lea edx, [edi + 8]
push 1
push edx
call fcn.101318e9
add esp, 0x10
cmp dword [0x101d31f0], 0x6677
push esi
call fcn.1012ee5b
add esp, 4
mov ch, ch
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
cmp dword [0x101d31dc], 0x4cde
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x101d31dc], 0xffffb321
jmp 0x10107e03
mov eax, dword [esp + 0x1c]
push ebx
push 0x2ee0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [esp + 0x18], eax
mov bl, bl
push edi
call fcn.1012dedf
add esp, 4
mov ebx, ebx
pop ebp
push 0x102fc244
call fcn.1005ee50
add esp, 4
cmp dword [0x101d31ec], 0x25b6
cmp dword [0x101d31d0], 0xffff901b
cmp dword [0x101d31dc], 0x4cde
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
add eax, 0xffffffff
call fcn.1012e3ba
add esp, 0x21c
ret 0xc