Function at 0x140039280
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 [0x14049f3c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov edi, edx
mov r14d, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], 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 + 0x68], r12
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x70], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x140039350
call fcn.14001e910
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
lea r9d, [r15 + 0x67]
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov ebx, 0xe0003000
jmp 0x14003965c
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
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 + 0x50], r12
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
inc rax
lea rbp, str.Sledgehammer
test rax, 0xfffffffffffffffe
jne 0x140039588
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
jne 0x14003952e
call fcn.14001e910
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
mov r9d, WSACleanup
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov dword [rsp + 0x64], r15d
mov dword [rsp + 0x60], 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 0x140039488
call fcn.14001e910
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
mov r9d, 0x7c
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov ebx, 0xe0001006
jmp 0x14003963d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
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 + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
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 0x140039588
call fcn.14001e910
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:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov ebx, 0xe0003008
jmp 0x14003963d
call fcn.14001e910
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:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
mov ebx, 0xe0003008
jmp 0x14003963d
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 0x1400395f3
call fcn.14001e910
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:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rdi
call rbx
jmp 0x14003963a
call fcn.14001e910
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:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeSledgehammerImpl.inl
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
mov ebx, r15d
mov qword [rsp + 0x50], r12
mov rcx, qword [rsp + 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140039657
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r12
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140039674
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov qword [rsp + 0x70], r15
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1402ba9b0
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