Function at 0x419d70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd491
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x52a0b0]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x108], edi
je 0x419e85
cmp byte [0x52aaa4], 0
jne 0x419dcc
cmp byte [0x530565], 0
je 0x41a406
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
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], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x419e3c
cmp byte [0x530565], 0
jne 0x419e2e
call fcn.0048e190
test al, al
je 0x419e35
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x419e65
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x132
cmovae ecx, dword [ebp - 0x3c]
call fcn.0048e600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00404850
jmp 0x41a406
cmp byte [0x52aaa4], 0
jne 0x419e9b
cmp byte [0x530565], 0
je 0x419f4f
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov dword [ebp - 4], 7
push 0
push ecx
push str.Engine:_initializing_UI
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 9
cmp byte [0x52aaa4], 0
je 0x419f0b
cmp byte [0x530565], 0
jne 0x419efd
call fcn.0048e190
test al, al
je 0x419f04
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x419f34
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x136
cmovae ecx, dword [ebp - 0x6c]
call fcn.0048e600
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404850
push edi
mov ecx, esi
mov byte [esi + 0x450], 0
call fcn.0041a4a0
push 0
lea eax, [ebp - 0xe5]
mov dword [ebp - 0x70], 0x4e81b4
push eax
push str.ShowModernUI
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00404190
mov dword [ebp - 4], 0xd
lea ecx, [esi + 0x284]
mov eax, dword [ecx]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x40]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x419fa9
lea ecx, [eax + 4]
jmp 0x419fab
xor ecx, ecx
push 0x4e9eb8
call fcn.0040e110
test eax, eax
sete bl
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00404c20
test bl, bl
je 0x41a113
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0x11
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0xe5]
push 0
push eax
push str.SOFTWAREMicrosoftNet_Framework_SetupNDP_v4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xe4]
call fcn.004140f0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x70]
call fcn.00404c20
lea ecx, [ebp - 0xe4]
call fcn.00414360
test al, al
jne 0x41a0f5
xor eax, eax
mov dword [ebp - 0xf8], vtable.std::exception.0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0xf8], vtable.bootstrap_exception.0
mov dword [ebp - 0xec], 0x80040702
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0xf8], vtable.ui_resource_exception.0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0xf8]
push 0x527c68
push eax
call fcn.004a35fa
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe4]
call fcn.00413e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c20
push 0
mov ecx, edi
call fcn.00462e20
mov edi, eax
test edi, edi
jns 0x41a202
cmp byte [0x52aaa4], 0
jne 0x41a138
cmp byte [0x530565], 0
je 0x41a1aa
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov dword [ebp - 4], 0x20
push 0
push ecx
push str.Failed_to_initialize_UI_resource
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x40]
push 0x147
lea ecx, [ebp - 0x70]
call fcn.0048e8b0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x70]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404850
xor eax, eax
mov dword [ebp - 0xf8], vtable.std::exception.0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 0x25
mov dword [ebp - 0xf8], vtable.bootstrap_exception.0
mov dword [ebp - 0xec], edi
mov dword [ebp - 4], 0x26
mov dword [ebp - 0xf8], vtable.ui_resource_exception.0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xf8]
push 0x527c68
push eax
call fcn.004a35fa
push 0
push 0
push 0
push 0
mov dword [ebp - 0x104], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0x29
lea ecx, [esi + 0x19c]
mov edx, dword [ecx]
lea eax, [ebp - 0x100]
push eax
push 0x4e9ff8
push ecx
call dword [edx]
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x100]
push 0x4f7bf8
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
test eax, eax
jns 0x41a293
push eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], str.SetupEngine.cpp
push str.Attempted_marshal_of_bootstrap_unknown_failed__error_0x_08x
push eax
mov dword [ebp - 0xec], 0x155
call fcn.0040b3b0
add esp, 0xc
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x124], eax
lea eax, [esi + 0x5a0]
push eax
push 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], edi
push eax
push 0x428900
push 0
push 0
mov byte [ebp - 0x120], 0
call fcn.004aa53d
add esp, 0x18
mov dword [esi + 0x5a4], eax
mov ecx, edi
call fcn.00437f80
cmp byte [ebp - 0x120], 1
jne 0x41a3ca
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], str.SetupEngine.cpp
push str.UI_thread_init_failed
push eax
mov dword [ebp - 0xec], 0x163
call fcn.0040b3b0
add esp, 8
push dword [esi + 0x5a4]
call fcn.00428c10
mov dword [ebp - 0xfc], eax
test eax, eax
jne 0x41a3ca
lea eax, [ebp - 0xfc]
push eax
push dword [esi + 0x5a4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0xfc]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], str.SetupEngine.cpp
push str.UI_thread_exit_code:_0x_08x
push eax
mov dword [ebp - 0xec], 0x16a
call fcn.0040b3b0
mov eax, dword [ebp - 0xfc]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 0x2a
mov dword [ebp - method.bootstrap_exception.virtual_0], vtable.bootstrap_exception.0
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0x2b
mov dword [ebp - method.ui_resource_exception.virtual_0], vtable.ui_resource_exception.0
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x11c]
push 0x527c68
push eax
call fcn.004a35fa
mov byte [esi + 0x450], 1
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x41a3e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41a406
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41a406
push edi
call eax
mov dword [ebp - 0x10c], 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.004a14ba
mov esp, ebp
pop ebp
ret 4