Function at 0x419d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcff1
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 0x419e75
cmp byte [0x52aaa4], 0
jne 0x419dbc
cmp byte [0x530565], 0
je 0x41a3f6
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e7908
mov dword [ebp - 0x48], 0x4e793c
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], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x419e2c
cmp byte [0x530565], 0
jne 0x419e1e
call fcn.0048df20
test al, al
je 0x419e25
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x419e55
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x131
cmovae ecx, dword [ebp - 0x3c]
call fcn.0048e390
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 0x41a3f6
cmp byte [0x52aaa4], 0
jne 0x419e8b
cmp byte [0x530565], 0
je 0x419f3f
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
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], 0x4e7908
mov dword [ebp - 0x48], 0x4e793c
call fcn.00406ce0
mov byte [ebp - 4], 9
cmp byte [0x52aaa4], 0
je 0x419efb
cmp byte [0x530565], 0
jne 0x419eed
call fcn.0048df20
test al, al
je 0x419ef4
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x419f24
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x135
cmovae ecx, dword [ebp - 0x6c]
call fcn.0048e390
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.0041a490
push 0
lea eax, [ebp - 0xe5]
mov dword [ebp - 0x70], 0x4e7908
push eax
push str.ShowModernUI
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], 0x4e793c
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 0x419f99
lea ecx, [eax + 4]
jmp 0x419f9b
xor ecx, ecx
push 0x4e9638
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 0x41a103
mov dword [ebp - 0x40], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
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], 0x4e7908
mov dword [ebp - 0x48], 0x4e793c
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 0x41a0e5
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 0x5272b8
push eax
call fcn.004a315a
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.00462bb0
mov edi, eax
test edi, edi
jns 0x41a1f2
cmp byte [0x52aaa4], 0
jne 0x41a128
cmp byte [0x530565], 0
je 0x41a19a
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
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], 0x4e7908
mov dword [ebp - 0x48], 0x4e793c
call fcn.00406ce0
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x40]
push 0x146
lea ecx, [ebp - 0x70]
call fcn.0048e640
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 0x5272b8
push eax
call fcn.004a315a
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 0x4e9778
push ecx
call dword [edx]
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x100]
push 0x4f72d8
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
test eax, eax
jns 0x41a283
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], 0x154
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 0x4287b0
push 0
push 0
mov byte [ebp - 0x120], 0
call fcn.004aa09d
add esp, 0x18
mov dword [esi + 0x5a4], eax
mov ecx, edi
call fcn.00437e40
cmp byte [ebp - 0x120], 1
jne 0x41a3ba
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], str.SetupEngine.cpp
push str.UI_thread_init_failed
push eax
mov dword [ebp - 0xec], 0x162
call fcn.0040b3b0
add esp, 8
push dword [esi + 0x5a4]
call fcn.00428ac0
mov dword [ebp - 0xfc], eax
test eax, eax
jne 0x41a3ba
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], 0x169
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 0x5272b8
push eax
call fcn.004a315a
mov byte [esi + 0x450], 1
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x41a3d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41a3f6
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41a3f6
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.004a103a
mov esp, ebp
pop ebp
ret 4