Function at 0x407150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x457078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x240], ecx
push str.CriticalFixesProgressEvent
push 0
push 1
or esi, 0xffffffff
mov dword [ebp - 0x244], 0
push 0
mov dword [ebp - 0x23c], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, eax
mov eax, dword [0x45b8a8]
push edx
push edi
mov dword [0x45b834], edx
mov cl, byte [eax + 0x24]
mov bl, byte [eax + 0x1c]
movzx eax, cl
push eax
movzx eax, bl
mov ebx, dword [ebp + 8]
push eax
push ebx
lea eax, [ebp - 0x220]
push str.numWindows_d__GetIsEmbedding_d__GetIsSilent_d__allowLoadingQBDialog_d__ghCfProgressEvent_x
push eax
call fcn.00409c30
add esp, 0x1c
cmp dword [0x45b878], 0
je 0x40726e
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x228], esp
push str.void___cdecl_InstallCriticalFixes_struct_HINSTANCE____enum__anonymous_namespace::AllowLoadingQBDialogType_int_int_
call fcn.00409a40
push ecx
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x22c], esp
push str.InstallCriticalFixes
call fcn.00409a40
push 0x4b5
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x230], esp
push str.srcQbwExe.cpp
call fcn.00409a40
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x220]
mov ecx, esp
mov dword [ebp - 0x224], esp
push eax
call fcn.00409a40
push ecx
mov byte [ebp - 4], 3
call fcn.0040dfa0
add esp, 4
mov dword [ebp - 4], esi
mov ecx, eax
call fcn.0040e640
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 4
push eax
push 0x448f6c
push 0x17
push 0
push 0x448f5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40764e
mov byte [ebp - 4], 5
test ebx, ebx
jne 0x407647
lea ecx, [ebp - 0x234]
call fcn.00406f80
test eax, eax
je 0x407418
cmp dword [0x45b878], ebx
je 0x40733c
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str.void___cdecl_InstallCriticalFixes_struct_HINSTANCE____enum__anonymous_namespace::AllowLoadingQBDialogType_int_int_
call fcn.00409a40
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x230], esp
push str.InstallCriticalFixes
call fcn.00409a40
push 0x4c2
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x22c], esp
push str.srcQbwExe.cpp
call fcn.00409a40
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x228], esp
push str.Waiting_for_agent_to_complete_the_installation.
call fcn.00409a40
mov byte [ebp - 4], 9
call fcn.0040dfa0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040e640
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x407368
lea eax, [ebp - 0x244]
push eax
push 0
push 0
push 0x4066c0
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x23c], eax
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
lea ecx, [ebp - 0x234]
call fcn.00406f80
test eax, eax
je 0x407388
push 0x3e8
call edi
jmp 0x407370
cmp dword [0x45b878], 0
je 0x407406
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str.void___cdecl_InstallCriticalFixes_struct_HINSTANCE____enum__anonymous_namespace::AllowLoadingQBDialogType_int_int_
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x230], esp
push str.InstallCriticalFixes
call fcn.00409a40
push 0x4ca
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x22c], esp
push str.srcQbwExe.cpp
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x228], esp
push str.Agent_is_free_now.
call fcn.00409a40
mov byte [ebp - 4], 0xd
call fcn.0040dfa0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040e640
cmp dword [ebp + 8], 0
jne 0x407647
mov edi, dword [ebp - 0x238]
jmp 0x40741b
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x45b8a8]
mov cl, byte [eax + 0x1c]
test cl, cl
jne 0x407647
mov al, byte [eax + 0x24]
test al, al
jne 0x407647
test edi, edi
jne 0x407647
cmp dword [0x45b834], edi
je 0x407647
mov edx, dword [ebp - 0x240]
lea ecx, [ebp - 0x234]
call fcn.00406a20
test eax, eax
je 0x407647
lea ecx, [ebp - 0x234]
call fcn.00407040
test eax, eax
je 0x407647
cmp dword [0x45b878], edi
je 0x4074f1
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str.void___cdecl_InstallCriticalFixes_struct_HINSTANCE____enum__anonymous_namespace::AllowLoadingQBDialogType_int_int_
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x230], esp
push str.InstallCriticalFixes
call fcn.00409a40
push 0x4d9
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x22c], esp
push str.srcQbwExe.cpp
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x228], esp
push str.Installing_critical_fixes.
call fcn.00409a40
mov byte [ebp - 4], 0x11
call fcn.0040dfa0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040e640
test ebx, ebx
je 0x40751f
cmp esi, 0xffffffff
jne 0x40751f
lea eax, [ebp - 0x244]
push eax
push 0
push 0
push 0x4066c0
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x23c], esi
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xac]
jmp 0x407647
mov dword [ebp - 4], 4
cmp dword [0x45b834], 0
je 0x407809
cmp dword [0x45b878], 0
je 0x4076dd
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str.void___cdecl_InstallCriticalFixes_struct_HINSTANCE____enum__anonymous_namespace::AllowLoadingQBDialogType_int_int_
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x230], esp
push str.InstallCriticalFixes
call fcn.00409a40
push 0x4ed
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x22c], esp
push str.srcQbwExe.cpp
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x228], esp
push str.Setting_event_to_terminate_progress_thread.
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x21
call fcn.0040dfa0
add esp, 4
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.0040e640
push dword [0x45b834]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp esi, 0xffffffff
je 0x407809
cmp dword [0x45b878], 0
je 0x407774
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str.void___cdecl_InstallCriticalFixes_struct_HINSTANCE____enum__anonymous_namespace::AllowLoadingQBDialogType_int_int_
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x22
mov ecx, esp
mov dword [ebp - 0x230], esp
push str.InstallCriticalFixes
call fcn.00409a40
push 0x4f1
push ecx
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x22c], esp
push str.srcQbwExe.cpp
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x228], esp
push str.Waiting_for_Critical_fixes_thread_to_terminate
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x25
call fcn.0040dfa0
add esp, 4
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.0040e640
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x45b878], 0
je 0x407809
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str.void___cdecl_InstallCriticalFixes_struct_HINSTANCE____enum__anonymous_namespace::AllowLoadingQBDialogType_int_int_
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x230], esp
push str.InstallCriticalFixes
call fcn.00409a40
push 0x4f4
push ecx
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x22c], esp
push str.srcQbwExe.cpp
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x228], esp
push str.Critical_fixes_done.
call fcn.00409a40
push ecx
mov byte [ebp - 4], 0x29
call fcn.0040dfa0
add esp, 4
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.0040e640
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x407820
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043bfe6
mov esp, ebp
pop ebp
ret