Function at 0x403fd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a5ad
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x42442c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
push 0x3e8
lea ecx, [ebp - 0x4c]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_long_int_]
mov dword [ebp - 4], 1
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 - 0x4c]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.utils4c.dll_public:_char____thiscall_Str::operator_char__void_const]
push eax
push 0x42166a
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.utils4c.dll_public:_char____thiscall_Str::operator_char__void_const]
push eax
push str.GENERAL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::DetectLen_void_]
push 0x42166b
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.utils4c.dll_int___cdecl_operator_class_Str_const___char_const__]
add esp, 8
test eax, eax
je 0x404153
push 0x42170c
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.utils4c.dll_int___cdecl_operator_class_Str_const___char_const__]
add esp, 8
test eax, eax
je 0x404146
mov eax, dword [ebp - 0x10]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_class_Str_const__]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 2
push 0x421710
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_class_Str_const__]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004032e0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 4
push str.Cant_get_GENERAL_variable
mov edx, dword [ebp - 0x24]
push edx
call fcn.004069c0
add esp, 8
push eax
mov byte [ebp - 4], 5
call fcn.00406ab0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.004069c0
add esp, 8
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 6
call fcn.00406ab0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x58]
call fcn.00403330
push 0x4229bc
lea eax, [ebp - 0x58]
push eax
call fcn.00408fdb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004033e0
jmp 0x404153
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x4c]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_class_Str_const__]
lea edx, [ebp - 0x4c]
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 - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
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 esp, ebp
pop ebp
ret 0xc