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

Disassembly:
sub esp, 0x220
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x230]
push ebx
mov ebx, dword [esp + 0x230]
push esi
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
cmp dword [0x101d31e8], 0xffffd7be
push 0
push 0x102fc244
call fcn.1005ed90
add esp, 8
mov ecx, ecx
cmp dword [0x101d31ec], 0xffffda49
push 0x1ff
lea eax, [esp + 0x2d]
push 0
push eax
mov byte [esp + 0x34], 0
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d31f4], 0x1303
lea edx, [esp + 0x28]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10107f77
cmp dword [0x101d31d8], 0xffffee2a
lea ecx, [esp + 0x28]
push 0x10198bac
push ecx
call fcn.1005ed70
add esp, 8
cmp dword [0x101d31d0], 0xffff901b
mov cl, 0x74
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
cmp dword [0x101d31dc], 0xffffb321
test eax, eax
je 0x10107ff8
lea ecx, [esp + 0x20]
mov edx, eax
mov eax, ecx
sub edx, eax
nop
mov al, byte [ecx]
mov byte [edx + ecx], al
add ecx, 1
test al, al
jne 0x10107fe0
cmp dword [0x101d31e8], 0xffffd7be
jmp 0x10108036
lea eax, [esp + 0x20]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10108000
lea edi, [esp + 0x28]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10108012
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 [0x101d31ec], 0x25b6
mov ebx, ebx
mov ebp, ebp
mov byte [esp + 0xc], 0x72
mov byte [esp + 0xd], 0x62
mov byte [esp + 0xe], 0
cmp dword [0x101d31f0], 0x6677
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.1012f564
add esp, 8
mov esi, eax
cmp dword [0x101d31d4], 0xffff831c
test esi, esi
je 0x101081dc
push ebp
push 2
push 0
push esi
call fcn.1012f41b
add esp, 0xc
cmp dword [0x101d31e8], 0x2841
push esi
call fcn.1012f326
add esp, 4
mov ebp, eax
push ebx
pop ebx
push 0
push 0
push esi
call fcn.1012f41b
add esp, 0xc
mov bh, bh
push ebp
call fcn.1012de1c
add esp, 4
mov edi, eax
mov edx, edx
test edi, edi
je 0x101080d1
push esi
push ebp
push 1
push edi
call fcn.1012f173
add esp, 0x10
cmp dword [0x101d31f4], 0x1303
push esi
call fcn.1012ee5b
add esp, 4
cmp dword [0x101d31d8], 0x11d5
test edi, edi
je 0x101081db
push ebp
push edi
call fcn.1005dc10
add esp, 8
test eax, eax
je 0x101081ac
mov edx, dword [esp + 0x14]
push edx
push ebp
push edi
call fcn.1005d9f0
add esp, 0xc
mov ebp, eax
mov eax, eax
test ebp, ebp
jle 0x101081d0
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
push edx
pop edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.1012f564
add esp, 8
mov esi, eax
push ebx
pop ebx
test esi, esi
je 0x101081d0
push esi
push ebp
lea edx, [edi + 8]
push 1
push edx
call fcn.101318e9
add esp, 0x10
cmp dword [0x101d31ec], 0xffffda49
push esi
call fcn.1012ee5b
add esp, 4
mov ecx, ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
push 0xea60
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [esp + 0x18], eax
cmp dword [0x101d31e8], 0xffffd7be
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x101d31e8], 0x2841
jmp 0x101081d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ebx
push 0xea60
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [esp + 0x18], eax
cmp dword [0x101d31d0], 0xffff901b
push edi
call fcn.1012dedf
add esp, 4
mov bl, bl
pop ebp
push 0x102fc244
call fcn.1005ee50
add esp, 4
cmp dword [0x101d31ec], 0x25b6
cmp dword [0x101d31d4], 0xffff831c
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1012e3ba
add esp, 0x220
ret 0x10