Function at 0x140050590
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov edi, edx
mov r14d, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov r8d, ecx
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea r12, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14005065a
call fcn.14002c3f0
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r14d
lea rax, str.Failed_to_open_process_id__u:__u
mov qword [rsp + 0x30], rax
lea rbp, str.Sledgehammer
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 1
mov r9d, 0x67
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x1404e3f68]
mov rcx, rdi
call rbx
mov ebx, 0xe0003000
jmp 0x14005095b
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
xor r15d, r15d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9, qword [sym.imp.KERNEL32.dll_DebugBreak]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rax
inc rax
lea rbp, str.Sledgehammer
test rax, 0xfffffffffffffffe
jne 0x140050887
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
jne 0x14005082d
call fcn.14002c3f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.CreateRemoteThread_returned_ERROR_NOT_ENOUGH_MEMORY._Trying_alternate_method.
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 3
lea r9d, [r15 + 0x72]
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x1404e3f68]
mov rcx, rax
call r10
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x50], r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlCreateUserThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
jne 0x140050787
call fcn.14002c3f0
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.RtlCreateUserThread_not_found__u
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 1
lea r9d, [r15 + 0x7c]
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x1404e3f68]
mov rcx, rdi
call rbx
mov ebx, 0xe0001006
jmp 0x14005093c
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov rax, qword [sym.imp.KERNEL32.dll_DebugBreak]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call r10
mov ebx, eax
test eax, eax
jns 0x140050887
call fcn.14002c3f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], r14d
lea rcx, str.RtlCreateUserThread_failed_to_create_remote_thread_for_process_id__u:_0x_08X
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 1
mov r9d, 0x84
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x1404e3f68]
mov rcx, rax
call r10
mov ebx, 0xe0003008
jmp 0x14005093c
call fcn.14002c3f0
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r14d
lea rax, str.Failed_to_create_remote_thread_for_process_id__u:__u
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 1
mov r9d, 0x8a
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x1404e3f68]
mov rcx, rdi
call rbx
mov ebx, 0xe0003008
jmp 0x14005093c
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r14, rax
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x1400508f2
call fcn.14002c3f0
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, r14
mov qword [rsp + 0x38], rax
lea rax, str.Waited__I64u_ms_for_termination_to_complete
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 3
mov r9d, 0x93
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x1404e3f68]
mov rcx, rdi
call rbx
jmp 0x140050939
call fcn.14002c3f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], ebx
lea rcx, str.WaitForSingleObject_returned__u_with_specified_timeout__u
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 2
mov r9d, 0x97
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x1404e3f68]
mov rcx, rax
call r10
mov ebx, r15d
mov qword [rsp + 0x58], r12
mov rcx, qword [rsp + 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140050956
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r15
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14005096e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14014f4f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret