Function at 0x419d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bced1
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 0x419e55
cmp byte [0x52aaa4], 0
jne 0x419d9c
cmp byte [0x530561], 0
je 0x41a3d6
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
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], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x419e0c
cmp byte [0x530561], 0
jne 0x419dfe
call fcn.0048ded0
test al, al
je 0x419e05
mov byte [0x530561], 1
mov byte [0x52aaa4], 0
cmp byte [0x530561], 0
je 0x419e35
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.0048e340
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 0x41a3d6
cmp byte [0x52aaa4], 0
jne 0x419e6b
cmp byte [0x530561], 0
je 0x419f1f
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
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], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 9
cmp byte [0x52aaa4], 0
je 0x419edb
cmp byte [0x530561], 0
jne 0x419ecd
call fcn.0048ded0
test al, al
je 0x419ed4
mov byte [0x530561], 1
mov byte [0x52aaa4], 0
cmp byte [0x530561], 0
je 0x419f04
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.0048e340
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.0041a470
push 0
lea eax, [ebp - 0xe5]
mov dword [ebp - 0x70], 0x4e7a18
push eax
push str.ShowModernUI
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], 0x4e86a8
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 0x419f79
lea ecx, [eax + 4]
jmp 0x419f7b
xor ecx, ecx
push 0x4e9630
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 0x41a0e3
mov dword [ebp - 0x40], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
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], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
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.004140d0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x70]
call fcn.00404c20
lea ecx, [ebp - 0xe4]
call fcn.00414340
test al, al
jne 0x41a0c5
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 0x527290
push eax
call fcn.004a304a
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe4]
call fcn.00413e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c20
push 0
mov ecx, edi
call fcn.00462b50
mov edi, eax
test edi, edi
jns 0x41a1d2
cmp byte [0x52aaa4], 0
jne 0x41a108
cmp byte [0x530561], 0
je 0x41a17a
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
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], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x40]
push 0x146
lea ecx, [ebp - 0x70]
call fcn.0048e5f0
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 0x527290
push eax
call fcn.004a304a
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 0x4e9770
push ecx
call dword [edx]
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x100]
push 0x4f72a8
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
test eax, eax
jns 0x41a263
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.004a9fbd
add esp, 0x18
mov dword [esi + 0x5a4], eax
mov ecx, edi
call fcn.00437e40
cmp byte [ebp - 0x120], 1
jne 0x41a39a
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 0x41a39a
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 0x527290
push eax
call fcn.004a304a
mov byte [esi + 0x450], 1
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x41a3b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41a3d6
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41a3d6
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.004a0eca
mov esp, ebp
pop ebp
ret 4