Function at 0x101bc49
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
xor eax, eax
cmp dword [ebp + 8], eax
je 0x101bd53
cmp dword [ebp + 0xc], eax
je 0x101bd53
cmp dword [ebp + 0x10], eax
je 0x101bd53
cmp dword [ebp + 0x14], eax
je 0x101bd53
cmp dword [ebp + 0x18], eax
je 0x101bd53
cmp ebx, eax
je 0x101bd53
cmp dword [ebp + 0x1c], eax
mov eax, 0x1008e80
je 0x101bb1f
mov eax, 0x1008e60
push esi
push edi
push eax
push dword [ebp + 8]
mov esi, 0x4000000
push dword [ebp + 0x18]
mov edi, 0x10239c8
push 0x1008d70
push esi
push edi
call fcn.0100a7e5
add esp, 0x18
push ebx
call fcn.0101b849
mov dword [ebp - 4], eax
test eax, eax
jl 0x101bd39
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0101421f
push 0x100155c
push dword [ebp + 0x18]
mov dword [ebp + 8], eax
call fcn.0101421f
cmp dword [ebp + 8], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
je 0x101bcd3
test eax, eax
je 0x101bcd3
push dword [ebp + 8]
call fcn.0101073d
push dword [ebp + 8]
test eax, eax
je 0x101bcc5
push 0x1008cf8
push esi
push edi
call fcn.0100a7e5
add esp, 0x10
push ebx
push 0x1008ce0
push dword [ebp + 8]
call fcn.0101b5c4
mov dword [ebp - 4], eax
test eax, eax
jl 0x101bcba
add ebx, 0xc
push ebx
push 0x1008cc4
push dword [ebp + 8]
mov dword [ebp + 0x18], ebx
call fcn.0101b5c4
mov dword [ebp - 4], eax
test eax, eax
jl 0x101bcba
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0101421f
push dword [ebp + 8]
mov ebx, eax
push 0x1008c38
push esi
push edi
mov dword [ebp + 0xc], ebx
call fcn.0100a7e5
add esp, 0x10
test ebx, ebx
je 0x101bc55
push ebx
call fcn.0101073d
test eax, eax
je 0x101bc4d
push dword [ebp + 0x18]
push 0x1008c08
push ebx
call fcn.0101b5c4
mov dword [ebp - 4], eax
test eax, eax
jl 0x101bc36
push ebx
push 0x1008b40
push esi
push edi
call fcn.0100a7e5
jmp 0x101bca1
push eax
push ebx
push 0x1008a68
push 0x2000000
push edi
call fcn.0100a7e5
add esp, 0x14
jmp 0x101bca4
push ebx
push 0x10089c0
jmp 0x101bc2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xffff
mov esi, 0x80070000
test eax, eax
jle 0x101bc6f
and eax, ebx
or eax, esi
test eax, eax
jge 0x101bc84
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x101bc7f
and eax, ebx
or eax, esi
mov dword [ebp - 4], eax
jmp 0x101bc8b
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x1008948
push 0x2000000
push edi
call fcn.0100a7e5
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x101bd1f
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x101bd1f
push dword [ebp + 8]
push 0x10088c8
push esi
jmp 0x101bd16
mov dword [ebp - 4], 1
push 0x10087f8
jmp 0x101bcc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xffff
mov esi, 0x80070000
test eax, eax
jle 0x101bced
and eax, ebx
or eax, esi
test eax, eax
jge 0x101bd02
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x101bcfd
and eax, ebx
or eax, esi
mov dword [ebp - 4], eax
jmp 0x101bd09
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x1008948
push 0x2000000
push edi
call fcn.0100a7e5
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x101bd4c
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x101bd4c
push 0x1008758
push 0x2000000
push edi
call fcn.0100a7e5
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
jmp 0x101bd58
mov eax, 0x80070057
pop ebx
leave
ret 0x18