Function at 0x40ca40
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x43e017
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x457078]
xor eax, esp
mov dword [esp + 0x1b4], eax
push esi
push edi
mov eax, dword [0x457078]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [0x45b930], eax
lea eax, [esp + 0x20]
push 0
push eax
lea eax, [esp + 0x24]
mov dword [0x45b92c], edx
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0x449190
push 0x32db
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, eax
mov dword [0x45b8d0], 0
mov ecx, esi
mov dword [0x45b8d4], 0
mov dword [0x45b910], 0
mov dword [0x45b8d8], 0
mov byte [0x45b8e4], 0
mov dword [0x45b8e0], 0
mov dword [0x45b8dc], 0
mov dword [0x45b914], 0
mov dword [0x45b918], 0
mov dword [0x45b90c], esi
call fcn.0040d190
mov edi, eax
test edi, edi
je 0x40cfd9
lea eax, [esp + 0xc]
mov dword [0x45b8d4], edi
push eax
push dword [edi + 4]
mov dword [esp + 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x40cb65
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
mov edi, dword [0x45b8d4]
mov dword [0x45b8dc], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x40cb91
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
push 0x38
mov dword [0x45b8e0], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1d0], 4
test eax, eax
je 0x40cbc2
push esi
sub esp, 8
mov ecx, eax
call fcn.00410920
jmp 0x40cbc4
xor eax, eax
mov dword [esp + 0x1d0], 0xffffffff
xorps xmm0, xmm0
mov dword [0x45b910], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 0x40d280
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x14
mov dword [esp + 0x48], esi
movdqu xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x5c], str.OpeningQB
mov dword [esp + 0x60], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, esi
call fcn.0040d0b0
test eax, eax
jne 0x40ccae
cmp dword [0x45b878], eax
je 0x40d071
push eax
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.int___cdecl_QBLaunchUtilities::ShowLoadingQuickBooksWindow_struct_HINSTANCE____void__unsigned_long_const_char__
call fcn.00409a40
push ecx
mov dword [esp + 0x1e0], 5
mov ecx, esp
mov dword [esp + 0x28], esp
push str.QBLaunchUtilities::ShowLoadingQuickBooksWindow
call fcn.00409a40
push 0x3bf
push ecx
mov byte [esp + 0x1e8], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push str.srcQBLaunchUtilities.cpp
call fcn.00409a40
push ecx
mov byte [esp + 0x1ec], 7
mov ecx, esp
mov dword [esp + 0x30], esp
push str.ShowLoadingQuickBooksWindow:_InitInstance_failed
call fcn.00409a40
mov byte [esp + 0x1ec], 8
jmp 0x40d056
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1d4c0
push 1
push dword [0x45b8d0]
call esi
push 0
push 0x64
push 2
push dword [0x45b8d0]
call esi
movdqu xmm0, xmmword [str.QuickBooks_Process_Startup_Early_Termination]
mov eax, dword [0x4492e8]
mov dword [esp + 0xac], eax
mov ax, word [0x4492ec]
movdqu xmmword [esp + 0x84], xmm0
push 0xa
movdqu xmm0, xmmword [0x4492d0]
mov word [esp + 0xb4], ax
lea eax, [esp + 0x80]
push 5
movdqu xmmword [esp + 0x9c], xmm0
push eax
movq xmm0, qword [0x4492e0]
push 0x1b
movq qword [esp + 0xb4], xmm0
call dword [sym.imp.MSVCR120.dll__itoa_s]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xc8]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_strcpy_s]
add esp, 0x1c
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xb8]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
lea eax, [esp + 0xb4]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp dword [0x45b878], 0
mov dword [0x45b870], eax
je 0x40ce23
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.int___cdecl_QBLaunchUtilities::ShowLoadingQuickBooksWindow_struct_HINSTANCE____void__unsigned_long_const_char__
call fcn.00409a40
push ecx
mov dword [esp + 0x1e0], 9
mov ecx, esp
mov dword [esp + 0x20], esp
push str.QBLaunchUtilities::ShowLoadingQuickBooksWindow
call fcn.00409a40
push 0x3e3
push ecx
mov byte [esp + 0x1e8], 0xa
mov ecx, esp
mov dword [esp + 0x30], esp
push str.srcQBLaunchUtilities.cpp
call fcn.00409a40
push ecx
mov byte [esp + 0x1ec], 0xb
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ShowLoadingQuickBooksWindow:_CreateEvent___QuickBooks_Process_Startup_Early_Termination
call fcn.00409a40
push ecx
mov byte [esp + 0x1f0], 0xc
call fcn.0040dfa0
add esp, 4
mov dword [esp + 0x1ec], 0xffffffff
mov ecx, eax
call fcn.0040e640
mov eax, dword [0x45b870]
test eax, eax
je 0x40ceca
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x45b878], 0
je 0x40ceca
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.int___cdecl_QBLaunchUtilities::ShowLoadingQuickBooksWindow_struct_HINSTANCE____void__unsigned_long_const_char__
call fcn.00409a40
push ecx
mov dword [esp + 0x1e0], 0xd
mov ecx, esp
mov dword [esp + 0x20], esp
push str.QBLaunchUtilities::ShowLoadingQuickBooksWindow
call fcn.00409a40
push 0x3e8
push ecx
mov byte [esp + 0x1e8], 0xe
mov ecx, esp
mov dword [esp + 0x30], esp
push str.srcQBLaunchUtilities.cpp
call fcn.00409a40
push ecx
mov byte [esp + 0x1ec], 0xf
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ShowLoadingQuickBooksWindow:_ResetEvent___QuickBooks_Process_Startup_Early_Termination
call fcn.00409a40
push ecx
mov byte [esp + 0x1f0], 0x10
call fcn.0040dfa0
add esp, 4
mov dword [esp + 0x1ec], 0xffffffff
mov ecx, eax
call fcn.0040e640
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [esp + 0x60]
push 0
push 0
push 0
push eax
call esi
test eax, eax
jle 0x40cf0a
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x60]
push eax
call edi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
jg 0x40cee7
cmp dword [0x45b878], 0
je 0x40cfa2
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.int___cdecl_QBLaunchUtilities::ShowLoadingQuickBooksWindow_struct_HINSTANCE____void__unsigned_long_const_char__
call fcn.00409a40
push ecx
mov dword [esp + 0x1e0], 0x11
mov ecx, esp
mov dword [esp + 0x20], esp
push str.QBLaunchUtilities::ShowLoadingQuickBooksWindow
call fcn.00409a40
push 0x3f7
push ecx
mov byte [esp + 0x1e8], 0x12
mov ecx, esp
mov dword [esp + 0x30], esp
push str.srcQBLaunchUtilities.cpp
call fcn.00409a40
push ecx
mov byte [esp + 0x1ec], 0x13
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ShowLoadingQuickBooksWindow:_CloseHandle_to_Event___QuickBooks_Process_Startup_Early_Termination
call fcn.00409a40
push ecx
mov byte [esp + 0x1f0], 0x14
call fcn.0040dfa0
add esp, 4
mov dword [esp + 0x1ec], 0xffffffff
mov ecx, eax
call fcn.0040e640
push dword [0x45b870]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [0x45b8d0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x45b8d0
call fcn.0040b6e0
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov eax, dword [esp + 0x68]
jmp 0x40d087
cmp dword [0x45b878], 0
je 0x40d071
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.int___cdecl_QBLaunchUtilities::ShowLoadingQuickBooksWindow_struct_HINSTANCE____void__unsigned_long_const_char__
call fcn.00409a40
push ecx
mov dword [esp + 0x1e0], 0
mov ecx, esp
mov dword [esp + 0x20], esp
push str.QBLaunchUtilities::ShowLoadingQuickBooksWindow
call fcn.00409a40
push 0x3b2
push ecx
mov byte [esp + 0x1e8], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push str.srcQBLaunchUtilities.cpp
call fcn.00409a40
push ecx
mov byte [esp + 0x1ec], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ShowLoadingQuickBooksWindow:_hImage_is_null
call fcn.00409a40
mov byte [esp + 0x1ec], 3
push ecx
call fcn.0040dfa0
add esp, 4
mov dword [esp + 0x1ec], 0xffffffff
mov ecx, eax
call fcn.0040e640
mov ecx, 0x45b8d0
call fcn.0040b6e0
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
xor eax, eax
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.0043bfe6
mov esp, ebp
pop ebp
ret