Function at 0x419820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b472a
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x51c0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x4ea], 0
mov ebx, dword [ebp + 8]
je 0x41992f
cmp byte [0x51caa5], 0
jne 0x419876
cmp byte [0x522582], 0
je 0x419d00
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov dword [ebp - 4], 1
push 0
push ecx
push str.Engine:_setup_is_running_silent__skip_UI_init
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 3
cmp byte [0x51caa5], 0
je 0x4198e6
cmp byte [0x522582], 0
jne 0x4198d8
call fcn.00486870
test al, al
je 0x4198df
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x41990f
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x10a
cmovae ecx, dword [ebp - 0x3c]
call fcn.00486ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004049f0
jmp 0x419d00
cmp byte [0x51caa5], 0
jne 0x419945
cmp byte [0x522582], 0
je 0x4199f9
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov dword [ebp - 4], 7
push 0
push ecx
push str.Engine:_initializing_UI
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 9
cmp byte [0x51caa5], 0
je 0x4199b5
cmp byte [0x522582], 0
jne 0x4199a7
call fcn.00486870
test al, al
je 0x4199ae
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x4199de
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x10e
cmovae ecx, dword [ebp - 0x6c]
call fcn.00486ce0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049f0
xor eax, eax
mov byte [esi + 0x450], 0
test ebx, ebx
mov dword [ebp - 0x8c], ebx
setne al
mov byte [ebp - 0x90], al
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x90]
mov ecx, dword [esi + 0x3b0]
push eax
call fcn.00429fc0
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x90], 0
je 0x419a4c
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x419a4c
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
mov ecx, ebx
call fcn.0045acb0
mov edi, eax
test edi, edi
jns 0x419b35
cmp byte [0x51caa5], 0
jne 0x419a71
cmp byte [0x522582], 0
je 0x419ae3
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov dword [ebp - 4], 0xe
push 0
push ecx
push str.Failed_to_initialize_UI_resource
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x40]
push 0x117
lea ecx, [ebp - 0x70]
call fcn.00486f90
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049f0
xor eax, eax
mov dword [ebp - 0x88], vtable.std::exception.0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x88], vtable.bootstrap_exception.0
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x88], vtable.ui_resource_exception.0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x88]
push 0x519324
push eax
call fcn.0049b7fa
push 0
push 0
push 0
push 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0x17
lea ecx, [esi + 0x19c]
mov edx, dword [ecx]
lea eax, [ebp - 0x78]
push eax
push 0x4de8ec
push ecx
call dword [edx]
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x78]
push 0x4d95f4
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
test eax, eax
jns 0x419bb4
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], str.SetupEngine.cpp
push str.Attempted_marshal_of_bootstrap_unknown_failed__error_0x_08x
push eax
mov dword [ebp - 0x7c], 0x125
call fcn.0040b080
add esp, 0xc
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
lea eax, [esi + 0x560]
push eax
push 0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], edi
push eax
push 0x426930
push 0
push 0
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xa8], 0
call fcn.004a2863
add esp, 0x18
mov dword [esi + 0x564], eax
mov ecx, edi
call fcn.00434c00
cmp byte [ebp - 0xa8], 1
jne 0x419cc7
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], str.SetupEngine.cpp
push str.UI_thread_init_failed
push eax
mov dword [ebp - 0x7c], 0x133
call fcn.0040b080
add esp, 8
push dword [esi + 0x564]
call fcn.00426c40
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x419cc7
lea eax, [ebp - 0x74]
push eax
push dword [esi + 0x564]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x74]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], str.SetupEngine.cpp
push str.UI_thread_exit_code:_0x_08x
push eax
mov dword [ebp - 0x7c], 0x13a
call fcn.0040b080
mov eax, dword [ebp - 0x74]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0xa4], vtable.std::exception.0
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 0x18
mov dword [ebp - 0xa4], vtable.bootstrap_exception.0
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0x19
mov dword [ebp - 0xa4], vtable.ui_resource_exception.0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0xa4]
push 0x519324
push eax
call fcn.0049b7fa
mov byte [esi + 0x450], 1
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x419cdf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x419d00
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x419d00
push edi
call eax
mov dword [ebp - 0x8c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004996ca
mov esp, ebp
pop ebp
ret 4