Function at 0x41d2d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4594ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x47b154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x358], 0
lea ecx, [ebp - 0x3dc]
call dword [sym.imp.VasDBFrame.dll_public:_void___thiscall_CVasSysString::constructor_void_]
mov dword [ebp - 4], 0
push str.Initializing...Basic_database_components
push 3
push 0x4633fc
lea ecx, [ebp - 0x3dc]
call dword [sym.imp.VasDBFrame.dll_public:_wchar_t_const____thiscall_CVasSysString::GetString_wchar_t_const___unsigned_int__wchar_t_const__]
lea ecx, [ebp - 0x3dc]
call dword [sym.imp.VasDBFrame.dll_public:_wchar_t_const____thiscall_CVasSysString::operator_wchar_t_const__void_]
push eax
call dword [sym.imp.VasEnvironment.dll_int___stdcall_ViaLabShowSplashScreen_wchar_t_const__]
cmp dword [ebp + 0xc], 0
jne 0x41d82b
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_void___thiscall_CLabUISettings::constructor_void_]
mov byte [ebp - 4], 1
mov eax, dword [0x47bc74]
push eax
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_int___thiscall_CLabUISettings::LoadSettings_struct_HWND____]
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_unsigned_long_int___thiscall_CLabUISettings::GetBkColor_void_]
mov dword [0x47bc80], eax
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_unsigned_long_int___thiscall_CLabUISettings::GetFgColor_void_]
mov dword [0x47bc84], eax
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_unsigned_long_int___thiscall_CLabUISettings::GetGraphicFontColor_void_]
mov dword [0x47bcb4], eax
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_unsigned_long_int___thiscall_CLabUISettings::GetTableFontColor_void_]
mov dword [0x47bcb8], eax
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_unsigned_long_int___thiscall_CLabUISettings::GetUIFontColor_void_]
mov dword [0x47bcbc], eax
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_struct_tagLOGFONTW___thiscall_CLabUISettings::GetGraphFont_void_]
mov ecx, 0x17
mov esi, eax
mov edi, 0x47bcc0
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_struct_tagLOGFONTW___thiscall_CLabUISettings::GetTableFont_void_]
mov ecx, 0x17
mov esi, eax
mov edi, 0x47bd1c
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_struct_tagLOGFONTW___thiscall_CLabUISettings::GetUIFont_void_]
mov ecx, 0x17
mov esi, eax
mov edi, 0x47bd78
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x340]
push ecx
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_struct_tagLOGFONTW___thiscall_CLabUISettings::GetUISmallFont_void_]
mov ecx, 0x17
mov esi, eax
mov edi, 0x47bdd4
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x354], 1
jmp 0x41d465
mov edx, dword [ebp - 0x354]
add edx, 1
mov dword [ebp - 0x354], edx
cmp dword [ebp - 0x354], 0xb
jge 0x41d490
mov eax, dword [ebp - 0x354]
push eax
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public:_unsigned_long_int___thiscall_CLabUISettings::GetTrialColorScreen_int_]
mov ecx, dword [ebp - 0x354]
mov dword [ecx*4 + 0x47bc84], eax
jmp 0x41d456
mov dword [ebp - 0x39c], 8
mov dword [ebp - 0x398], 0x41cc50
mov edx, dword [ebp + 8]
mov dword [ebp - 0x38c], edx
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x384], eax
push str.PROVMAKER
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x388], eax
mov ecx, dword [0x47bc80]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0x47c040
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 0
lea edx, [ebp - 0x39c]
push edx
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x41d530
mov dword [ebp - 0x358], 1
jmp 0x41d593
mov dword [ebp - 0x39c], 3
mov dword [ebp - 0x398], 0x4232e0
mov ecx, dword [0x47bc84]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x378], 0x463440
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x388], 0
lea edx, [ebp - 0x39c]
push edx
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x41d593
mov dword [ebp - 0x358], 1
cmp dword [ebp - 0x358], 0
jne 0x41d81b
xor ecx, ecx
mov dword [ebp - 0x350], ecx
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 0x348], ecx
mov dword [ebp - 0x344], ecx
push 0
lea edx, [ebp - 0x350]
push edx
call dword [sym.imp.VasEnvironment.dll_int___stdcall_ViaLabGetCurrentMonitorRect_struct_tagRECT___unsigned_int_]
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x344]
sub ecx, dword [ebp - 0x34c]
push ecx
mov edx, dword [ebp - 0x348]
sub edx, dword [ebp - 0x350]
push edx
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0x350]
push ecx
push 0x1c80000
push 0
push 0x47c040
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x47bc74], eax
cmp dword [0x47bc74], 0
je 0x41d81b
push 0
push 0x2b
mov edx, dword [0x47bc74]
push edx
call dword [sym.imp.VasEnvironment.dll_wchar_t_const____stdcall_ViaLabSetTitle_struct_HWND_____unsigned_int__unsigned_int_]
push 0x104
push 0x47be38
call dword [sym.imp.VASRetrieve.dll_VASRetrieveVASBASEINI]
add esp, 8
push 0x47be38
push 0
push str.Debug
push 0x463468
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x41d6a7
push 0x47be38
push 0
push str.DebugRemoveFactoryLock
push 0x4634a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x41d684
mov byte [0x47bc7a], 1
push 0x47be38
push 0
push str.DebugEditModuleFlag
push str.ProvMak
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x41d6a7
mov byte [0x47bc7b], 1
mov eax, dword [0x47bc74]
push eax
call fcn.0041da20
add esp, 4
test eax, eax
jne 0x41d75e
lea ecx, [ebp - 0x3bc]
call dword [sym.imp.VasDBFrame.dll_public:_void___thiscall_CVasSysString::constructor_void_]
mov byte [ebp - 4], 2
push str.Initializing...Basic_user_interface_components
push 2
push 0x463550
lea ecx, [ebp - 0x3bc]
call dword [sym.imp.VasDBFrame.dll_public:_wchar_t_const____thiscall_CVasSysString::GetString_wchar_t_const___unsigned_int__wchar_t_const__]
lea ecx, [ebp - 0x3bc]
call dword [sym.imp.VasDBFrame.dll_public:_wchar_t_const____thiscall_CVasSysString::operator_wchar_t_const__void_]
push eax
call dword [sym.imp.VasEnvironment.dll_int___stdcall_ViaLabShowSplashScreen_wchar_t_const__]
mov ecx, dword [0x47bc74]
push ecx
call fcn.0041dd60
add esp, 4
mov dword [0x47c814], eax
cmp dword [0x47c814], 0
je 0x41d744
push 1
push 0x14
mov edx, dword [0x47c814]
push edx
call sub.VASRTButtonBar.dll_Ordinal_6_1
push 1
push 0x15
mov eax, dword [0x47c814]
push eax
call sub.VASRTButtonBar.dll_Ordinal_6_1
push 1
push 0x16
mov ecx, dword [0x47c814]
push ecx
call sub.VASRTButtonBar.dll_Ordinal_6_1
mov dword [ebp - 0x358], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3bc]
call dword [sym.imp.VasDBFrame.dll_public_virtual:_void___thiscall_CVasSysString::destructor_void_]
cmp dword [0x47c094], 0
jne 0x41d7bc
push 0xc
call sub.mfc140u.dll_operator
add esp, 4
mov dword [ebp - 0x35c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x35c], 0
je 0x41d797
mov ecx, dword [ebp - 0x35c]
call fcn.0042f020
mov dword [ebp - 0x360], eax
jmp 0x41d7a1
mov dword [ebp - 0x360], 0
mov edx, dword [ebp - 0x360]
mov dword [ebp - 0x36c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x36c]
mov dword [0x47c094], eax
cmp dword [0x47c098], 0
jne 0x41d81b
push 0x34
call sub.mfc140u.dll_operator
add esp, 4
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x364], 0
je 0x41d7f5
mov ecx, dword [ebp - 0x364]
call fcn.0041e010
mov dword [ebp - 0x368], eax
jmp 0x41d7ff
mov dword [ebp - 0x368], 0
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x370], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x370]
mov dword [0x47c098], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.JLabMFC8Frame.dll_public_virtual:_void___thiscall_CLabUISettings::destructor_void_]
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x374], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3dc]
call dword [sym.imp.VasDBFrame.dll_public_virtual:_void___thiscall_CVasSysString::destructor_void_]
mov eax, dword [ebp - 0x374]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453754
mov esp, ebp
pop ebp
ret