Function at 0x140002050
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14000c1c8]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r14, r8
mov rax, qword [section..data]
movabs r10, 0xb1a8ae8f5a5da170
lea rbx, section..data
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [vtable._SEHALA.0]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov rax, qword [section..data]
movabs r10, 0xb1a8ae8f5a5da170
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [vtable._SEHALA.0]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov rax, qword [section..data]
movabs r10, 0xb1a8ae8f5a5da170
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [vtable._SEHALA.0]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rax, qword [section..data]
movabs r10, 0xb1a8ae8f5a5da170
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [vtable._SEHALA.0]
add rax, 0x18
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [0x1400077a0]
movdqu xmmword [rbp - 0x68], xmm0
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov r15d, r13d
mov r12d, r13d
xor r9d, r9d
xor r8d, r8d
lea edi, [r13 + 1]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
nop dword [rax + rax]
lea rcx, [0x140002040]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
nop dword [rax + rax]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.140001bc0
or esi, 0xffffffff
test eax, eax
jne 0x1400021c1
lea rcx, [rbp - 0x78]
call fcn.140001e28
jmp 0x140002293
mov rbx, qword [rbp - 0x80]
cmp dword [rbx - 0x10], r13d
je 0x1400021d3
mov r8, rbx
mov r9, rbx
jmp 0x1400021d9
mov r9, r13
mov r8, r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 0x300f000
mov edx, edi
lea rcx, str.MIGHOST
call qword [sym.imp.WDSCORE.dll_WdsInitialize]
nop dword [rax + rax]
test eax, eax
jne 0x1400022a0
mov rax, qword [section..data]
movabs r10, 0xb1a8ae8f5a5da170
lea rcx, section..data
mov rax, qword [rax + 0x18]
call qword [vtable._SEHALA.0]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, str.WdsInitialize_failed_to_initialize.
lea rcx, [rsp + 0x70]
call fcn.140002fdc
test al, al
jne 0x140002259
lea rdx, str.WdsInitialize_failed_to_initialize.
lea rcx, [rsp + 0x70]
call fcn.140002e04
lea rcx, [rsp + 0x70]
call fcn.140001e28
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140002293
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [vtable._SEHALA.0]
mov ebx, r13d
mov rdi, qword [rsp + 0x78]
jmp 0x140002a68
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rdi, rax
mov r8, r14
lea rdx, str.MigHost_started_with_command_line:__s
mov ecx, 0x4000000
call fcn.1400037c8
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rdi
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x235
xor r9d, r9d
lea r8, [0x1400086f8]
mov edx, 0x80000
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x78]
cmp dword [rdi - 0x10], r13d
je 0x1400023b9
mov r8, rdi
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x14000243a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rsi, rax
mov r8, rdi
lea rdx, str.MigHost:_OpenEvent__s__failed.
mov ecx, 0x3800000
call fcn.1400037c8
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rsi
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x244
jmp 0x14000241c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rsi, rax
lea rdx, str.MigHost:_Initialization_completion_event_name_has_not_been_specified.
mov ecx, 0x4000000
call fcn.1400037c8
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rsi
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x249
xor r9d, r9d
lea r8, [0x1400086f8]
mov edx, 0x80000
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
mov r13d, dword [rsp + 0x60]
xor r14d, r14d
test r13d, r13d
je 0x1400024d5
mov r8d, r13d
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov r12, rax
test rax, rax
jne 0x140002559
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rsi, rax
mov r8d, r13d
lea rdx, str.MigHost:_OpenProcess__d__for_parent_process_id_failed.
mov ecx, 0x3800000
call fcn.1400037c8
and dword [rsp + 0x50], r12d
and qword [rsp + 0x48], r12
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rsi
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x259
jmp 0x140002538
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rsi, rax
lea rdx, str.MigHost:_Parent_process_ID_has_not_been_specified.
mov ecx, 0x4000000
call fcn.1400037c8
and dword [rsp + 0x50], r12d
and qword [rsp + 0x48], r12
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rsi
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x25e
xor r9d, r9d
lea r8, [0x1400086f8]
mov edx, 0x80000
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
xor r14d, r14d
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
nop dword [rax + rax]
mov r13d, eax
mov ecx, eax
or ecx, 3
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
nop dword [rax + rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
nop dword [rax + rax]
mov dword [rsp + 0x64], r14d
movups xmm0, xmmword [0x1400086e8]
movdqu xmmword [rbp + 0x70], xmm0
lea rax, str.IMigrationContext
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x88], r14d
movups xmm0, xmmword [0x1400086d8]
movdqu xmmword [rbp + 0x90], xmm0
lea rax, str.IDiscovery
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], r14d
movups xmm0, xmmword [0x1400086c8]
movdqu xmmword [rbp + 0xb0], xmm0
lea rax, str.IPreGather
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xc8], r14d
movups xmm0, xmmword [0x1400086b8]
movdqu xmmword [rbp + 0xd0], xmm0
lea rax, str.IPostGather
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0xe8], r14d
movups xmm0, xmmword [0x1400086a8]
movdqu xmmword [rbp + 0xf0], xmm0
lea rax, str.IPreApply
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], r14d
movups xmm0, xmmword [0x140008698]
movdqu xmmword [rbp + 0x110], xmm0
lea rax, str.IPostApply
mov qword [rbp + 0x120], rax
mov dword [rbp + 0x128], r14d
movups xmm0, xmmword [0x140008688]
movdqu xmmword [rbp + 0x130], xmm0
lea rax, str.IMigPluginSurrogate
mov qword [rbp + 0x140], rax
mov dword [rbp + 0x148], r14d
lea rcx, [rbp - 0x30]
call fcn.140003b48
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x64]
call fcn.140001608
test eax, eax
je 0x140002966
lea rcx, [rbp - 0x30]
call fcn.140003cb4
test eax, eax
je 0x1400028c8
lea rax, vtable.CSingletonClassFactory.0
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x30]
movabs r10, 0xfd41b67356dad870
lea rcx, [rbp - 0x30]
mov rax, qword [rax + 8]
call qword [vtable._SEHALA.0]
movups xmm0, xmmword [rbp - 0x68]
movdqu xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x38], r14d
lea rcx, [rbp - 0x58]
call fcn.14000395c
test eax, eax
js 0x140002830
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rsi, rax
mov r9, rbx
mov r8, qword [rsp + 0x68]
lea rdx, str.MigHost:_Initialized_successfully_with_CLSID__s__and_LogDir__s_
mov ecx, 0x4000000
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rsi
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x289
xor r9d, r9d
lea r8, [0x1400086f8]
mov r14d, 0x80000
mov edx, r14d
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
test r15, r15
je 0x1400027ab
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.14000464c
lea rcx, [rbp - 0x30]
call fcn.140004420
lea rcx, [rbp - 0x58]
call fcn.140003a6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rbx, rax
lea rdx, str.MigHost:_Exiting_process.
mov ecx, 0x4000000
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rbx
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x295
mov edx, r14d
jmp 0x1400028a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rsi, rax
mov r9, rbx
mov r8, qword [rsp + 0x68]
lea rdx, str.MigHost:_Failed_to_register_surrogate_class_factory_with_CLSID__s__and_LogDir__s_.
mov ecx, 0x2000859
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rsi
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x29e
mov edx, 0x80000
xor r9d, r9d
lea r8, [0x1400086f8]
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
lea rcx, [rbp - 0x58]
call fcn.1400037f8
jmp 0x140002952
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rsi, rax
mov r9, rbx
mov r8, qword [rsp + 0x68]
lea rdx, str.MigHost:_Failed_to_initialize_surrogate_with_CLSID__s__and_LogDir__s_.
mov ecx, 0x2000858
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rsi
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x2a8
xor r9d, r9d
lea r8, [0x1400086f8]
mov edx, 0x80000
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
lea r8, [rbp + 0x70]
mov edx, dword [rsp + 0x64]
xor ecx, ecx
call fcn.1400015ac
xor r14d, r14d
jmp 0x1400029e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rbx, rax
lea rdx, str.MigHost:_Failed_to_register_interfaces_and_type_info._Exiting_process.
mov ecx, 0x2000864
call fcn.1400037c8
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rbx
lea rcx, str.wWinMain
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighostmighost.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x2b7
xor r9d, r9d
lea r8, [0x1400086f8]
mov edx, 0x80000
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
test r15, r15
je 0x1400029f9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r12, r12
je 0x140002a0d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
cmp dword [rbp + 0x28], r14d
je 0x140002a30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop dword [rax + rax]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
call qword [sym.imp.WDSCORE.dll_WdsTerminate]
nop dword [rax + rax]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
nop dword [rax + rax]
lea rcx, [rbp - 0x30]
call fcn.140003c04
mov ebx, 1
or esi, 0xffffffff
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140002a93
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [vtable._SEHALA.0]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140002ac3
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [vtable._SEHALA.0]
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140002af2
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [vtable._SEHALA.0]
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140002b21
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [vtable._SEHALA.0]
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400061a0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret