Function at 0x40b771
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x28], ecx
push 0
push str.290_RESETTING_CPU
mov ecx, dword [ebp - 0x28]
call fcn.0040c713
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x138], 0
je 0x40b810
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x120], 0
je 0x40b809
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x120]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x120]
mov eax, dword [edx]
call dword [eax + 0xc0]
test eax, eax
je 0x40b809
push 0x3e8
mov ecx, dword [ebp - 0x28]
call fcn.0040b705
push 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x120]
mov eax, dword [edx + 0x1a20]
push eax
call dword [sym.imp.CpuDriverInterface.dll_public:_static_class_CCncMemI____cdecl_CCncMemI::Instance_void_]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
call dword [edx + 0x18]
push 0x3e8
mov ecx, dword [ebp - 0x28]
call fcn.0040b705
mov eax, 1
jmp 0x40ba14
xor eax, eax
jmp 0x40ba14
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x400], 0
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x12c], 0
je 0x40b84b
push 1
push 0
push 0x45483c
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x12c]
call dword [sym.imp.FIDIASK.dll_public:_void___thiscall_CPresentationDialog::SetText_char_const__]
push 0
push 0
push 0
push str.FIDIA_FAPI_CONNECTINGRESET
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x28]
call fcn.0040c713
cmp dword [ebp - 0x28], 0
je 0x40b87b
mov eax, dword [ebp - 0x28]
add eax, 0xc4
mov dword [ebp - 0x30], eax
jmp 0x40b882
mov dword [ebp - 0x30], 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x45bce0]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x44c
call fcn.00402550
push eax
push 0x45b070
push 0
mov edx, dword [ebp - 0x30]
push edx
call fcn.0042550d
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
call dword [edx + 0xc0]
test eax, eax
jne 0x40b90c
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x400], 0
jne 0x40b90c
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40b90a
cmp dword [ebp - 0x20], 0x12
jne 0x40b8f6
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40b90c
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40b8b2
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x400], 0
je 0x40b91f
xor eax, eax
jmp 0x40ba14
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
call dword [eax + 0xc0]
test eax, eax
jne 0x40b938
xor eax, eax
jmp 0x40ba14
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x12c], 0
je 0x40b966
push 1
push 0
push 0x454874
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x12c]
call dword [sym.imp.FIDIASK.dll_public:_void___thiscall_CPresentationDialog::SetText_char_const__]
push 0
push 0
push 0
push str.FIDIA_FAPI_RESETTINGCNC
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x28]
call fcn.0040c713
push 0x4548a4
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
push 0x4548ac
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
call dword [edx + 0xc8]
push 0x4548b4
push 0x1388
push str.ResetDelay
push 0x4548cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.0040b705
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
call dword [edx + 0xcc]
mov ecx, dword [ebp - 0x28]
call fcn.0040c502
push 0x3e8
mov ecx, dword [ebp - 0x28]
call fcn.0040b705
push 0x5dc
mov ecx, dword [ebp - 0x28]
add ecx, 0x44c
call fcn.00402550
push eax
mov ecx, dword [ebp - 0x28]
call fcn.0040c5f0
mov eax, 1
mov esp, ebp
pop ebp
ret