Function at 0x101bc3b
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 0x101bd43
cmp dword [ebp + 0xc], eax
je 0x101bd43
cmp dword [ebp + 0x10], eax
je 0x101bd43
cmp dword [ebp + 0x14], eax
je 0x101bd43
cmp dword [ebp + 0x18], eax
je 0x101bd43
cmp ebx, eax
je 0x101bd43
cmp dword [ebp + 0x1c], eax
mov eax, 0x1008e80
je 0x101bb0f
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.0100a7d5
add esp, 0x18
push ebx
call fcn.0101b839
mov dword [ebp - 4], eax
test eax, eax
jl 0x101bd29
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0101420c
push 0x100155c
push dword [ebp + 0x18]
mov dword [ebp + 8], eax
call fcn.0101420c
cmp dword [ebp + 8], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
je 0x101bcc3
test eax, eax
je 0x101bcc3
push dword [ebp + 8]
call fcn.0101072d
push dword [ebp + 8]
test eax, eax
je 0x101bcb5
push 0x1008cf8
push esi
push edi
call fcn.0100a7d5
add esp, 0x10
push ebx
push 0x1008ce0
push dword [ebp + 8]
call fcn.0101b5b4
mov dword [ebp - 4], eax
test eax, eax
jl 0x101bcaa
add ebx, 0xc
push ebx
push 0x1008cc4
push dword [ebp + 8]
mov dword [ebp + 0x18], ebx
call fcn.0101b5b4
mov dword [ebp - 4], eax
test eax, eax
jl 0x101bcaa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0101420c
push dword [ebp + 8]
mov ebx, eax
push 0x1008c38
push esi
push edi
mov dword [ebp + 0xc], ebx
call fcn.0100a7d5
add esp, 0x10
test ebx, ebx
je 0x101bc45
push ebx
call fcn.0101072d
test eax, eax
je 0x101bc3d
push dword [ebp + 0x18]
push 0x1008c08
push ebx
call fcn.0101b5b4
mov dword [ebp - 4], eax
test eax, eax
jl 0x101bc26
push ebx
push 0x1008b40
push esi
push edi
call fcn.0100a7d5
jmp 0x101bc91
push eax
push ebx
push 0x1008a68
push 0x2000000
push edi
call fcn.0100a7d5
add esp, 0x14
jmp 0x101bc94
push ebx
push 0x10089c0
jmp 0x101bc1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xffff
mov esi, 0x80070000
test eax, eax
jle 0x101bc5f
and eax, ebx
or eax, esi
test eax, eax
jge 0x101bc74
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x101bc6f
and eax, ebx
or eax, esi
mov dword [ebp - 4], eax
jmp 0x101bc7b
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x1008948
push 0x2000000
push edi
call fcn.0100a7d5
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x101bd0f
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x101bd0f
push dword [ebp + 8]
push 0x10088c8
push esi
jmp 0x101bd06
mov dword [ebp - 4], 1
push 0x10087f8
jmp 0x101bcb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xffff
mov esi, 0x80070000
test eax, eax
jle 0x101bcdd
and eax, ebx
or eax, esi
test eax, eax
jge 0x101bcf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x101bced
and eax, ebx
or eax, esi
mov dword [ebp - 4], eax
jmp 0x101bcf9
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x1008948
push 0x2000000
push edi
call fcn.0100a7d5
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x101bd3c
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x101bd3c
push 0x1008758
push 0x2000000
push edi
call fcn.0100a7d5
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
jmp 0x101bd48
mov eax, 0x80070057
pop ebx
leave
ret 0x18