Function at 0x419b60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b720a
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5210b0]
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 0x419c6f
cmp byte [0x521aa4], 0
jne 0x419bb6
cmp byte [0x52753d], 0
je 0x41a03c
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
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], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 3
cmp byte [0x521aa4], 0
je 0x419c26
cmp byte [0x52753d], 0
jne 0x419c18
call fcn.00489070
test al, al
je 0x419c1f
mov byte [0x52753d], 1
mov byte [0x521aa4], 0
cmp byte [0x52753d], 0
je 0x419c4f
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x120
cmovae ecx, dword [ebp - 0x3c]
call fcn.004894e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00404810
jmp 0x41a03c
cmp byte [0x521aa4], 0
jne 0x419c85
cmp byte [0x52753d], 0
je 0x419d39
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov dword [ebp - 4], 7
push 0
push ecx
push str.Engine:_initializing_UI
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 9
cmp byte [0x521aa4], 0
je 0x419cf5
cmp byte [0x52753d], 0
jne 0x419ce7
call fcn.00489070
test al, al
je 0x419cee
mov byte [0x52753d], 1
mov byte [0x521aa4], 0
cmp byte [0x52753d], 0
je 0x419d1e
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x124
cmovae ecx, dword [ebp - 0x6c]
call fcn.004894e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404810
test ebx, ebx
mov byte [esi + 0x450], 0
mov dword [ebp - 0x8c], ebx
setne byte [ebp - 0x90]
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x90]
mov ecx, dword [esi + 0x3b0]
push eax
call fcn.0042ac70
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x90], 0
je 0x419d88
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x419d88
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
mov ecx, ebx
call fcn.0045def0
mov edi, eax
test edi, edi
jns 0x419e71
cmp byte [0x521aa4], 0
jne 0x419dad
cmp byte [0x52753d], 0
je 0x419e1f
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov dword [ebp - 4], 0xe
push 0
push ecx
push str.Failed_to_initialize_UI_resource
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x40]
push 0x12d
lea ecx, [ebp - 0x70]
call fcn.00489790
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404810
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 0x51e2d8
push eax
call fcn.0049e36a
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 0x4e2740
push ecx
call dword [edx]
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x78]
push 0x4ef884
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
test eax, eax
jns 0x419ef0
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], 0x13b
call fcn.0040b370
add esp, 0xc
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
lea eax, [esi + 0x598]
push eax
push 0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], edi
push eax
push 0x427300
push 0
push 0
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xa8], 0
call fcn.004a516c
add esp, 0x18
mov dword [esi + 0x59c], eax
mov ecx, edi
call fcn.00435770
cmp byte [ebp - 0xa8], 1
jne 0x41a003
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], str.SetupEngine.cpp
push str.UI_thread_init_failed
push eax
mov dword [ebp - 0x7c], 0x149
call fcn.0040b370
add esp, 8
push dword [esi + 0x59c]
call fcn.00427610
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x41a003
lea eax, [ebp - 0x74]
push eax
push dword [esi + 0x59c]
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], 0x150
call fcn.0040b370
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 0x51e2d8
push eax
call fcn.0049e36a
mov byte [esi + 0x450], 1
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x41a01b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41a03c
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41a03c
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.0049c22a
mov esp, ebp
pop ebp
ret 4