Function at 0x4095ca
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4413d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push esi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x38], 0
je 0x409601
jmp 0x409d2b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0xc4]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004256c2
mov ecx, eax
call fcn.00402740
mov esi, eax
mov ecx, 0x45bce4
call fcn.00402740
cmp esi, eax
jne 0x40978f
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x310], 1
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x68], 0
je 0x40966b
push 1
push 0
push 0x454310
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x68]
call dword [sym.imp.FIDIASK.dll_public:_void___thiscall_CPresentationDialog::SetText_char_const__]
push 0
push 0
push 0
push str.FIDIA_FAPI_CONNECTING_COMMAND_SOCKET
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0xc4
call fcn.0040c713
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x74], 0
je 0x409725
push 0x1a24
call fcn.00402720
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x409706
mov edx, dword [ebp - 0x58]
sub edx, 0xc4
test edx, edx
je 0x4096ca
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x4096d1
mov dword [ebp - 0x5c], 0
push 0
push 1
mov ecx, dword [0x45bcd0]
push ecx
call dword [sym.imp.CpuDriverInterface.dll_public:_static_class_F2MemoryAddress____cdecl_F2MemoryAddress::Instance_void_]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
call dword [eax]
push eax
push 0x454360
mov ecx, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00426010
mov dword [ebp - 0x64], eax
jmp 0x40970d
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x5c], ecx
jmp 0x409774
mov edx, dword [ebp - 0x58]
sub edx, 0xc4
test edx, edx
je 0x40973a
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
jmp 0x409741
mov dword [ebp - 0x68], 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x45bcd0]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x388
call fcn.00402550
push eax
push 0x45b050
push 0
mov edx, dword [ebp - 0x68]
push edx
call fcn.0042550d
add esp, 0x1c
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x5c], eax
mov ecx, 0x45bcd0
call fcn.00402740
push eax
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x5c]
call fcn.004256dd
jmp 0x409d2b
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.004256c2
mov ecx, eax
call fcn.00402740
mov esi, eax
mov ecx, 0x45bcd0
call fcn.00402740
cmp esi, eax
jne 0x409910
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x314], 1
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x68], 0
je 0x4097eb
push 1
push 0
push 0x454368
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x68]
call dword [sym.imp.FIDIASK.dll_public:_void___thiscall_CPresentationDialog::SetText_char_const__]
push 0
push 0
push 0
push str.FIDIA_FAPI_CONNECTING_TAD_SOCKET
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0xc4
call fcn.0040c713
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x74], 0
je 0x4098a6
push 0x1a24
call fcn.00402720
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x409887
mov edx, dword [ebp - 0x58]
sub edx, 0xc4
test edx, edx
je 0x40984a
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
jmp 0x409851
mov dword [ebp - 0x6c], 0
push 0
push 1
mov ecx, dword [0x45bcdc]
push ecx
call dword [sym.imp.CpuDriverInterface.dll_public:_static_class_F2MemoryAddress____cdecl_F2MemoryAddress::Instance_void_]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x70]
call dword [eax + 0xc]
push eax
push 0x4543b0
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00426010
mov dword [ebp - 0x74], eax
jmp 0x40988e
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x64], ecx
jmp 0x4098f5
mov edx, dword [ebp - 0x58]
sub edx, 0xc4
test edx, edx
je 0x4098bb
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
jmp 0x4098c2
mov dword [ebp - 0x78], 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x45bcdc]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x388
call fcn.00402550
push eax
push 0x45b054
push 0
mov edx, dword [ebp - 0x78]
push edx
call fcn.0042550d
add esp, 0x1c
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x64], eax
mov ecx, 0x45bcdc
call fcn.00402740
push eax
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x64]
call fcn.004256dd
jmp 0x409d2b
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004256c2
mov ecx, eax
call fcn.00402740
mov esi, eax
mov ecx, 0x45bcdc
call fcn.00402740
cmp esi, eax
jne 0x409d2b
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x318], 1
push 0x4543b8
push 0
push str.ACTIVATE
push 0x4543d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4099e7
mov word [ebp - 0x10], 0x2710
push 0x68
call fcn.00402720
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0
je 0x40998d
mov ecx, dword [ebp - 0x34]
call fcn.0041bf30
mov dword [ebp - 0x7c], eax
jmp 0x409994
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x6c], ecx
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x6c]
call fcn.0041c298
push 0x4543dc
push 0
push 0x4543e8
push 0x4543f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4099e5
push 0
push str._______SerialC1_activated
mov ecx, dword [ebp - 0x58]
sub ecx, 0xc4
call fcn.0040c713
jmp 0x409a21
push 0x45441c
push 0
push 0x454428
push 0x454430
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x409a17
push 0
push str._______SerialC1_NOT_Activated
mov ecx, dword [ebp - 0x58]
sub ecx, 0xc4
call fcn.0040c713
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x68], 0
je 0x409a49
push 1
push 0
push 0x454460
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x68]
call dword [sym.imp.FIDIASK.dll_public:_void___thiscall_CPresentationDialog::SetText_char_const__]
push 0
push 0
push 0
push str.FIDIA_FAPI_INITIALISINGFTM
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0xc4
call fcn.0040c713
push 0x7c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x3c], 0
je 0x409b46
mov eax, dword [ebp - 0x58]
sub eax, 0xc4
test eax, eax
je 0x409aa1
mov ecx, dword [ebp - 0x58]
add ecx, 0xc
mov dword [ebp - 0x80], ecx
jmp 0x409aa8
mov dword [ebp - 0x80], 0
push 0x454498
mov edx, dword [ebp - 0x58]
add edx, 0x384
push edx
lea eax, [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x54]
or ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x88]
call fcn.00402550
push eax
push 0x4544a0
mov eax, dword [ebp - 0x58]
add eax, 0x380
push eax
lea ecx, [ebp - 0x44]
push ecx
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x54]
or edx, 2
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x90]
call fcn.00402550
push eax
push 0
mov ecx, dword [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.00426f14
mov dword [ebp - 0x94], eax
jmp 0x409b50
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x2d4], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x54]
and edx, 2
test edx, edx
je 0x409b89
and dword [ebp - 0x54], 0xfffffffd
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
and eax, 1
test eax, eax
je 0x409ba6
and dword [ebp - 0x54], 0xfffffffe
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x74], 0
je 0x409c5d
mov edx, dword [ebp - 0x58]
sub edx, 0xc4
test edx, edx
je 0x409bce
mov eax, dword [ebp - 0x58]
add eax, 0xc
mov dword [ebp - 0x98], eax
jmp 0x409bd8
mov dword [ebp - 0x98], 0
push 1
call dword [sym.imp.CpuDriverInterface.dll_public:_static_class_F2MemoryAddress____cdecl_F2MemoryAddress::Instance_void_]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x9c]
call dword [edx + 8]
push eax
push 0x4544a8
mov eax, dword [ebp - 0x58]
add eax, 0x384
push eax
lea ecx, [ebp - 0x48]
push ecx
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0xa4]
call fcn.00402550
push eax
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx + 0x2d4]
call fcn.00427237
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
jmp 0x409d2b
mov edx, dword [ebp - 0x58]
sub edx, 0xc4
test edx, edx
je 0x409c78
mov eax, dword [ebp - 0x58]
add eax, 0xc
mov dword [ebp - 0xa8], eax
jmp 0x409c82
mov dword [ebp - 0xa8], 0
push 0
push 0x4544b0
mov ecx, dword [ebp - 0x58]
add ecx, 0x388
push ecx
lea edx, [ebp - 0x4c]
push edx
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0xb0]
call fcn.00402550
push eax
push str.:FTM
mov ecx, dword [ebp - 0x58]
add ecx, 0x384
push ecx
lea edx, [ebp - 0x50]
push edx
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xb8]
call fcn.00402550
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x2d4]
call fcn.00427237
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4