Function at 0x14000d800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140036140]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
xor edi, edi
movzx edx, byte [rcx + 0xcc]
movzx eax, byte [rcx + 0xcb]
imul edx, eax
movzx eax, byte [rcx + 0xca]
imul edx, eax
movzx eax, byte [rcx + 0xc9]
imul edx, eax
movzx eax, byte [rcx + 0xc8]
imul edx, eax
movzx eax, byte [rcx + 0xc7]
imul edx, eax
test edx, edx
setne dl
mov byte [rcx + 0xcd], dl
movzx ecx, byte [rcx + 0xc4]
movzx eax, byte [rbx + 0xc3]
imul ecx, eax
test ecx, ecx
setne al
mov byte [rbx + 0xc5], al
movzx r8d, al
movzx eax, dl
and r8d, eax
movzx eax, byte [rbx + 0xc6]
imul r8d, eax
test r8d, r8d
setne al
mov byte [rbx + 0xbe], al
lea rax, str.ALL_HARDWARE_IS_NOT_READY_TO_IMAGE_n
lea rcx, str.ALL_HARDWARE_IS_READY_TO_IMAGE_n
test r8d, r8d
cmove rcx, rax
call fcn.140004110
cmp byte [rbx + 0xbe], dil
je 0x14000de5a
cmp byte [rbx + 0xbf], dil
jne 0x14000de56
mov edx, 1
mov r8d, edx
mov rcx, qword [rbx + 0xd0]
call fcn.14000ca20
mov ecx, 0x2710
call fcn.14000cd80
mov byte [rbx + 0xbf], 1
mov rax, qword [rbx + 0xd8]
mov byte [rax + 0x80], 1
mov eax, dword [rbx + 0x104]
test eax, eax
jne 0x14000dac2
mov qword [rbp - 0x40], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
lea ecx, [rdi + 0x20]
call fcn.140027f20
mov dword [rax], 1
mov dword [rax + 4], 2
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdi
mov dword [rax + 0x18], edi
mov qword [rbp - 0x40], rax
lea ecx, [rdi + 0x18]
call fcn.140027f20
mov ecx, dword [rbx + 0x100]
mov dword [rax], ecx
mov rcx, qword [rbx + 0xd8]
mov qword [rax + 8], rcx
lea rcx, [0x1400262f0]
mov qword [rax + 0x10], rcx
mov qword [rbp - 8], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14000e1d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14000dab3
cmp dword [rbp - 0x48], edi
je 0x14000daa7
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp], xmm0
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000daa7
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp - 0x50], xmm0
lea edx, [rdi + 0x43]
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0xd0]
call fcn.14000ca20
nop
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x14000da64
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000da04
call fcn.14000cae0
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x14000da12
lea ecx, [rax + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x48], eax
jne 0x14000da29
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000da4f
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rbp - 0x50], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000da98
mov ebx, 0xfffffffe
lock xadd dword [rcx + 4], ebx
and ebx, 0xfffffffe
cmp ebx, 2
jne 0x14000da95
mov edi, 0xffffffff
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14000da95
lea edx, [rbx + 0x1e]
call fcn.1400281b4
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x14000de56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp eax, 1
jne 0x14000de56
mov rax, qword [rbx + 0xd8]
mov dword [rax + 0x4c], edi
xor r8d, r8d
mov edx, 0xb0
mov rcx, qword [rbx + 0xd0]
call fcn.14000ca20
mov ecx, 0x2710
call fcn.14000cd80
mov qword [rbp - 0x10], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov ecx, 0x20
call fcn.140027f20
mov dword [rax], 1
mov dword [rax + 4], 2
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdi
mov dword [rax + 0x18], edi
mov qword [rbp - 0x10], rax
mov ecx, 0x18
call fcn.140027f20
mov ecx, dword [rbx + 0x100]
mov dword [rax], ecx
mov rcx, qword [rbx + 0xd8]
mov qword [rax + 8], rcx
lea rcx, [0x1400245d0]
mov qword [rax + 0x10], rcx
mov qword [rbp - 8], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14000e1d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14000de47
cmp dword [rbp - 0x18], 0
je 0x14000de3b
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000de3b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x20], xmm0
mov ecx, 0x3e8
call fcn.14000cd80
mov qword [rbp - 0x28], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov ecx, 0x20
call fcn.140027f20
mov dword [rax], 1
mov dword [rax + 4], 2
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdi
mov dword [rax + 0x18], edi
mov qword [rbp - 0x28], rax
mov ecx, 0x10
call fcn.140027f20
mov rcx, qword [rbx + 0xd8]
mov qword [rax], rcx
lea rcx, [0x140026c50]
mov qword [rax + 8], rcx
mov qword [rbp], rax
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14000e210]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x14000de2c
cmp dword [rbp - 0x30], 0
je 0x14000de20
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000de20
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x38], xmm0
mov ecx, 0x186a0
call fcn.14000cd80
mov edx, 0xb0
mov r8d, 3
mov rcx, qword [rbx + 0xd0]
call fcn.14000ca20
mov ecx, 0x186a0
call fcn.14000cd80
mov edx, 0x43
lea r8d, [rdx - 0x42]
mov rcx, qword [rbx + 0xd0]
call fcn.14000ca20
mov ecx, 0x186a0
call fcn.14000cd80
nop
mov eax, dword [rbp - 0x30]
test eax, eax
je 0x14000dd33
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000dcd4
call fcn.14000cae0
mov eax, dword [rbp - 0x30]
test eax, eax
jne 0x14000dce2
lea ecx, [rax + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x30], eax
jne 0x14000dcf9
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000dd1f
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x38], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov rcx, qword [rbp - 0x28]
mov edi, 0xffffffff
lea ebx, [rdi - 1]
test rcx, rcx
je 0x14000dd69
mov eax, ebx
lock xadd dword [rcx + 4], eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14000dd66
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000dd66
lea edx, [rdi + 0x21]
call fcn.1400281b4
mov eax, dword [rbp - 0x30]
test eax, eax
je 0x14000dd74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x14000ddeb
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14000dd8c
call fcn.14000cae0
mov eax, dword [rbp - 0x18]
test eax, eax
jne 0x14000dd9a
lea ecx, [rax + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x18], eax
jne 0x14000ddb1
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x60], xmm0
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000ddd7
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x20], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14000de15
lock xadd dword [rcx + 4], ebx
and ebx, 0xfffffffe
cmp ebx, 2
jne 0x14000de12
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14000de12
lea edx, [rbx + 0x1e]
call fcn.1400281b4
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x14000de56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x30], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x18], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor eax, eax
jmp 0x14000de6b
lea rcx, str.Hardware_not_ready_to_image._n
call fcn.140004110
mov eax, 0x138a
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140027f00
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret