Function at 0x404550
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a614
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x42442c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_void_]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_void_]
mov byte [ebp - 4], 1
push str.PIPE_CONFIG
lea ecx, [ebp - 0x1c]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_char_const__]
cmp dword [ebp + 0x10], 0
jle 0x40462b
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_long_int_]
push 0x421770
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.utils4c.dll_class_Str___cdecl_operator_class_Str_const___char_const__]
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.utils4c.dll_class_Str___cdecl_operator_class_Str_const___class_Str_const__]
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_class_Str_const__]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.utils4c.dll_public:_char____thiscall_Str::operator_char__void_const]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
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 0x404726
cmp dword [ebp + 0x10], 0
jne 0x404726
mov edx, dword [ebp - 0x10]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x58], esp
push edx
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_class_Str_const__]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
push str._from
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_class_Str_const__]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.004032e0
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 6
push str.Cant_get_section
mov edx, dword [ebp - 0x24]
push edx
call fcn.004069c0
add esp, 8
push eax
mov byte [ebp - 4], 7
call fcn.00406ab0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
call fcn.004069c0
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov byte [ebp - 4], 8
call fcn.00406ab0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00403330
push 0x4229bc
lea eax, [ebp - 0x7c]
push eax
call fcn.00408fdb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.004033e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc