Function at 0x404190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a6cb
mov eax, dword fs:[0]
push eax
mov eax, 0x27d4
call fcn.00415c20
mov eax, dword [0x42442c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2730], ecx
mov dword [ebp - 0x2734], 0
lea ecx, [ebp - 0x2740]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_void_]
mov dword [ebp - 4], 1
push 0x2710
lea ecx, [ebp - 0x2788]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_long_int_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2794]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_void_]
mov byte [ebp - 4], 3
push str.PIPE_PARAMS_
lea ecx, [ebp - 0x2740]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_char_const__]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2794]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_long_int_]
lea ecx, [ebp - 0x2794]
push ecx
lea edx, [ebp - 0x2740]
push edx
lea eax, [ebp - 0x27e0]
push eax
call dword [sym.imp.utils4c.dll_class_Str___cdecl_operator_class_Str_const___class_Str_const__]
add esp, 0xc
mov dword [ebp - 0x274c], eax
mov ecx, dword [ebp - 0x274c]
mov dword [ebp - 0x2774], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2774]
push edx
lea ecx, [ebp - 0x2740]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_class_Str_const__]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27e0]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov ecx, dword [ebp - 0x2730]
call dword [sym.imp.utils4c.dll_public:_char____thiscall_Str::operator_char__void_const]
push eax
push 0x2710
lea eax, [ebp - 0x2720]
push eax
lea ecx, [ebp - 0x2740]
call dword [sym.imp.utils4c.dll_public:_char____thiscall_Str::operator_char__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jne 0x4043be
mov ecx, dword [ebp - 0x2730]
sub esp, 0xc
mov edx, esp
mov dword [ebp - 0x2798], esp
push ecx
mov ecx, edx
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_class_Str_const__]
mov dword [ebp - 0x2768], eax
mov eax, dword [ebp - 0x2768]
mov dword [ebp - 0x27a0], eax
mov byte [ebp - 4], 5
push 0x421744
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x27a4], esp
lea edx, [ebp - 0x2740]
push edx
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_class_Str_const__]
mov dword [ebp - 0x276c], eax
mov eax, dword [ebp - 0x276c]
mov dword [ebp - 0x279c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x27d4]
call fcn.004032e0
mov dword [ebp - 0x2750], eax
mov ecx, dword [ebp - 0x2750]
mov dword [ebp - 0x2778], ecx
mov byte [ebp - 4], 7
push 0x42174c
mov edx, dword [ebp - 0x2778]
push edx
call fcn.004069c0
add esp, 8
push eax
mov byte [ebp - 4], 8
call fcn.00406ab0
add esp, 0x10
mov dword [ebp - 0x2758], eax
mov eax, dword [ebp - 0x2758]
push eax
call fcn.004069c0
add esp, 8
mov dword [ebp - 0x2770], eax
mov ecx, dword [ebp - 0x2770]
push ecx
mov byte [ebp - 4], 9
call fcn.00406ab0
add esp, 0x10
mov dword [ebp - 0x2760], eax
mov edx, dword [ebp - 0x2760]
push edx
lea ecx, [ebp - 0x27b0]
call fcn.00403330
push 0x4229bc
lea eax, [ebp - 0x27b0]
push eax
call fcn.00408fdb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27d4]
call fcn.004033e0
lea ecx, [ebp - 0x2720]
mov dword [ebp - 0x272c], ecx
mov edx, dword [ebp - 0x272c]
movsx eax, byte [edx]
test eax, eax
je 0x4044da
mov ecx, dword [ebp - 0x272c]
push ecx
lea edx, [ebp - 0x2788]
push edx
lea eax, [ebp - 0x27c8]
push eax
call dword [sym.imp.utils4c.dll_class_Str___cdecl_operator_class_Str_const___char_const__]
add esp, 0xc
mov dword [ebp - 0x277c], eax
mov ecx, dword [ebp - 0x277c]
mov dword [ebp - 0x2748], ecx
mov byte [ebp - 4], 0xa
push 0x421760
mov edx, dword [ebp - 0x2748]
push edx
lea eax, [ebp - 0x27bc]
push eax
call dword [sym.imp.utils4c.dll_class_Str___cdecl_operator_class_Str_const___char_const__]
add esp, 0xc
mov dword [ebp - 0x2744], eax
mov ecx, dword [ebp - 0x2744]
mov dword [ebp - 0x2754], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2754]
push edx
lea ecx, [ebp - 0x2788]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_class_Str_const__]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x27bc]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c8]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov eax, dword [ebp - 0x272c]
mov dword [ebp - 0x2728], eax
mov ecx, dword [ebp - 0x2728]
add ecx, 1
mov dword [ebp - 0x275c], ecx
mov edx, dword [ebp - 0x2728]
mov al, byte [edx]
mov byte [ebp - 0x2721], al
add dword [ebp - 0x2728], 1
cmp byte [ebp - 0x2721], 0
jne 0x40448f
mov ecx, dword [ebp - 0x2728]
sub ecx, dword [ebp - 0x275c]
mov dword [ebp - 0x2764], ecx
mov edx, dword [ebp - 0x2764]
mov eax, dword [ebp - 0x272c]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x272c], ecx
jmp 0x4043ca
lea edx, [ebp - 0x2788]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_class_Str_const__]
mov eax, dword [ebp - 0x2734]
or eax, 1
mov dword [ebp - 0x2734], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2794]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2788]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2740]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a17
mov esp, ebp
pop ebp
ret 8