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

Disassembly:
sub esp, 0x220
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x22c]
push ebx
mov ebx, dword [esp + 0x234]
push esi
push edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x240]
push 0
push 0x102df794
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
call fcn.10056fb0
push 0x1ff
lea ecx, [esp + 0x35]
push 0
push ecx
mov byte [esp + 0x3c], 0
call fcn.10112240
lea edx, [esp + 0x3c]
add esp, 0x14
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100ec837
lea edx, [esp + 0x28]
push 0x1017bb9c
push edx
call fcn.10056f90
mov cl, 0x74
add esp, 8
test eax, eax
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
je 0x100ec88f
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 0x100ec881
jmp 0x100ec8c1
lea eax, [esp + 0x20]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100ec895
lea edi, [esp + 0x28]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100ec8a7
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.10112d44
mov edi, eax
add esp, 8
test edi, edi
je 0x100ec9ef
push ebp
push 2
push 0
push edi
call fcn.10112bfb
push edi
call fcn.10112b06
push 0
push 0
push edi
mov ebp, eax
call fcn.10112bfb
push ebp
call fcn.10111579
mov esi, eax
add esp, 0x20
test esi, esi
je 0x100ec921
push edi
push ebp
push 1
push esi
call fcn.10112953
add esp, 0x10
push edi
call fcn.1011263b
add esp, 4
test esi, esi
je 0x100ec9ee
push ebp
push esi
call fcn.100562a0
add esp, 8
test eax, eax
je 0x100ec9c8
mov edx, dword [esp + 0x10]
push edx
push ebp
push esi
call fcn.10056080
mov ebp, eax
add esp, 0xc
test ebp, ebp
jle 0x100ec9e5
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x18], 0x77
mov byte [esp + 0x19], 0x62
mov byte [esp + 0x1a], 0
call fcn.10112d44
mov edi, eax
add esp, 8
test edi, edi
je 0x100ec9e5
push edi
push ebp
lea edx, [esi + 8]
push 1
push edx
call fcn.101150b8
push edi
call fcn.1011263b
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add esp, 0x14
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push 0x2ee0
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x100ec9e5
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebx
push 0x2ee0
push edx
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call fcn.1011163c
add esp, 4
pop ebp
push 0x102df794
call fcn.10057040
mov ecx, dword [esp + 0x22c]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10111b17
add esp, 0x220
ret 0x14