Function at 0x1401645a0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
movaps xmmword [rsp + 0x2d0], xmm7
movaps xmmword [rsp + 0x2c0], xmm6
mov byte [rsp + 0x37], dl
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov qword [rsp + 0x38], rcx
mov r14, qword [rcx]
lea r15, [rsp + 0xf8]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.1400d75ec
mov rsi, rax
mov r12d, 0x4000
mov edi, 0x14
mov ebx, 0x1000
jmp 0x140164636
mov r12d, dword [rsp + 0xf8]
add r12d, ebx
test rsi, rsi
je 0x140164627
mov rcx, rsi
call fcn.1400d75f4
mov ecx, r12d
call fcn.1400d75ec
mov rsi, rax
dec edi
je 0x140164695
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.14015c670
mov ebp, eax
cmp eax, 0xc0000023
je 0x14016460f
cmp ebp, 0xc0000004
je 0x14016460f
test ebp, ebp
js 0x140164695
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov rbx, rsi
mov r12, qword [rsp + 0x38]
cmp dword [rbx + 0x50], ebp
je 0x1401646e8
mov eax, dword [rbx]
test rax, rax
je 0x140164682
add rbx, rax
jne 0x140164671
mov ecx, 2
call fcn.1400b7540
test al, al
je 0x1401646a7
jmp 0x140164fbd
mov ecx, 2
call fcn.1400b7540
test al, al
jne 0x14016472d
test rsi, rsi
je 0x1401646b4
mov rcx, rsi
call fcn.1400d75f4
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.1400d8aa0
movaps xmm6, xmmword [rsp + 0x2c0]
movaps xmm7, xmmword [rsp + 0x2d0]
add rsp, 0x2e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rbx, rbx
je 0x1401646a7
cmp dword [rbx + 4], 0
je 0x1401646a7
lea r14, [rsp + 0x108]
lea rax, [r12 + 0x108]
mov qword [rsp + 0x40], rax
lea rax, [r12 + 0x220]
mov qword [rsp + 0x48], rax
lea rbp, [rbx + 0x128]
movaps xmm6, xmmword [0x1401849f0]
xorps xmm7, xmm7
xor edi, edi
jmp 0x1401648ff
mov dword [rsp + 0x20], ebp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.14015ca10
lea rcx, [rsp + 0x180]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.14010fab0
mov rcx, rdi
call fcn.14015ca40
jmp 0x1401646a7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea r15, [rsp + 0x170]
mov rcx, r15
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x9b
mov r9d, 2
call fcn.140137dc0
mov r8d, 0xd
lea rcx, [rsp + 0x180]
lea rdx, [0x14019edbf]
call fcn.14010fab0
mov rcx, r15
call fcn.140137e40
jmp 0x1401648b8
mov r15d, eax
mov ecx, 2
call fcn.1400b7540
test al, al
je 0x1401648b8
mov dword [rsp + 0x20], r15d
lea r15, [rsp + 0x170]
mov rcx, r15
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1aa
mov r9d, 2
call fcn.14015ca10
mov r8d, 0x18
lea rcx, [rsp + 0x180]
lea rdx, str.NtQueryInformationThread
call fcn.14010fab0
mov rcx, r15
call fcn.14015ca40
jmp 0x1401648b8
mov r15d, eax
mov ecx, 2
call fcn.1400b7540
test al, al
je 0x1401648c0
mov dword [rsp + 0x20], r15d
lea r15, [rsp + 0x170]
mov rcx, r15
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x7f
mov r9d, 2
call fcn.14015ca10
mov r8d, 0xc
lea rcx, [rsp + 0x180]
lea rdx, str.NtOpenThread
call fcn.14010fab0
mov rcx, r15
call fcn.14015ca40
jmp 0x1401648c0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x140164dd3
mov ecx, 2
call fcn.1400b7540
test al, al
mov r12, qword [rsp + 0x38]
jne 0x14016477b
mov rcx, r13
call fcn.140084600
cmp byte [rsp + 0x137], 0
jns 0x1401648d7
mov rcx, qword [rsp + 0x120]
call fcn.1400d75b4
mov qword [rsp + 0x170], r14
lea rcx, [rsp + 0x170]
call fcn.1400a3990
inc rdi
mov eax, dword [rbx + 4]
add rbp, 0x50
cmp rdi, rax
jae 0x1401646a7
movups xmmword [r14 + 0x58], xmm6
movups xmmword [r14 + 0x48], xmm6
movups xmmword [r14 + 0x38], xmm6
movups xmmword [r14 + 0x28], xmm6
movups xmmword [r14 + 0x18], xmm6
movups xmmword [r14 + 8], xmm6
movups xmmword [r14 - 8], xmm6
xor eax, eax
mov qword [rsp + 0xf8], rax
mov byte [rsp + 0x100], 0
mov qword [r14 + 0x10], rax
movups xmmword [r14], xmm7
mov qword [r14 + 0x28], rax
movups xmmword [r14 + 0x18], xmm7
movups xmmword [r14 + 0x54], xmm7
movups xmmword [r14 + 0x48], xmm7
movups xmmword [r14 + 0x38], xmm7
mov rax, qword [rbp + 8]
mov qword [rsp + 0x138], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0x80], 0x30
lea rax, [rsp + 0x88]
movups xmmword [rax], xmm7
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xc0]
mov edx, 0x4a
lea r8, [rsp + 0x80]
mov r9, rbp
call fcn.14015c5d0
test eax, eax
js 0x140164832
mov r13, qword [rsp + 0xc0]
test r13, r13
je 0x1401648c0
mov r12b, byte [r12 + 0x250]
mov rax, qword [rsp + 0x138]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x14016488f
mov dword [rsp + 0x160], 0
mov edx, 0x4d0
mov rcx, r14
call fcn.1400a1be0
mov byte [rsp + 0x100], 1
mov rcx, qword [rsp + 0x108]
add rcx, qword [rsp + 0xf8]
call fcn.1400d8750
mov r12, qword [rsp + 0x38]
mov dword [rsp + 0x164], 0x20
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x168], eax
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, r13
xor edx, edx
lea r8, [rsp + 0xc0]
mov r9d, 0x30
call fcn.14015c710
test eax, eax
js 0x1401647ce
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov rdx, qword [rsp + 0xc8]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x80]
call fcn.1401606b0
test al, al
je 0x140164b9f
cmp byte [rsp + 0x37], 0
jne 0x140164b0b
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
jmp 0x140164b6e
movups xmmword [rsp + 0x17c], xmm6
movaps xmmword [rsp + 0x170], xmm6
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x170]
call fcn.1401606b0
mov r15d, dword [rsp + 0x174]
mov r12d, dword [rsp + 0x178]
test al, al
mov eax, 0
cmove r15, rax
cmove r12, rax
mov qword [rsp + 0x150], r12
mov rax, r15
sub rax, r12
jae 0x140164b92
mov ecx, 2
call fcn.1400b7540
test al, al
jne 0x140164d5c
xor eax, eax
mov qword [rsp + 0x158], rax
mov r12, qword [rsp + 0x38]
mov eax, dword [0x1401cf128]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140164f76
mov rax, qword [0x1401cf120]
test rax, rax
je 0x140164c63
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rcx
mov rcx, r13
lea rdx, [rsp + 0x78]
call qword [0x1401dd008]
test eax, eax
js 0x140164c9a
mov r15, qword [rsp + 0x78]
mov qword [rsp + 0x68], r15
test r15, r15
je 0x140164f4a
mov rcx, r15
call fcn.1400f6694
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x68]
call fcn.1400aef10
cmp byte [rsp + 0x137], 0
jns 0x140164c42
mov rcx, qword [rsp + 0x120]
call fcn.1400d75b4
mov rax, qword [rsp + 0x180]
mov qword [r14 + 0x28], rax
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [r14 + 0x18], xmm0
mov rcx, r15
call fcn.14008d6d0
mov r15, qword [r12 + 0x228]
cmp r15, qword [r12 + 0x230]
je 0x140164d0b
mov rcx, r15
lea rdx, [rsp + 0xf8]
call fcn.14008e200
add r15, 0x78
mov qword [r12 + 0x228], r15
jmp 0x1401648b8
mov r15d, eax
mov ecx, 1
call fcn.1400b7540
test al, al
je 0x140164c63
lea rcx, [rsp + 0x170]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1db
mov r9d, 1
call fcn.14004b4f0
mov r8d, 0x16
lea rcx, [rsp + 0x180]
lea rdx, str.GetThreadDescription:
call fcn.14010fab0
mov r12, rax
lea rcx, [rsp + 0x50]
mov edx, r15d
call fcn.140137c60
movzx r8d, byte [rsp + 0x67]
test r8b, r8b
js 0x140164d22
and r8d, 0x7f
lea rdx, [rsp + 0x50]
jmp 0x140164d2c
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xf8]
call fcn.14008e0c0
jmp 0x1401648b8
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, r12
call fcn.14010fab0
cmp byte [rsp + 0x67], 0
jns 0x140164d45
mov rcx, qword [rsp + 0x50]
call fcn.1400d75b4
lea rcx, [rsp + 0x170]
call fcn.14004bb30
mov r12, qword [rsp + 0x38]
jmp 0x140164c63
lea rcx, [rsp + 0x170]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1ca
mov r9d, 2
call fcn.14004b4f0
mov r8d, 0x15
lea rcx, [rsp + 0x180]
lea rdx, str.invalid_stack_range:
call fcn.14010fab0
mov rcx, rax
mov rdx, r15
call fcn.140025980
mov r8d, 3
mov rcx, rax
lea rdx, [0x14019add2]
call fcn.14010fab0
mov rcx, rax
mov rdx, r12
call fcn.140025980
lea rcx, [rsp + 0x170]
call fcn.14004bb30
jmp 0x140164b90
mov r15d, eax
test r12b, r12b
je 0x140164e76
test r15d, r15d
jne 0x140164e76
mov ecx, 1
call fcn.1400b7540
xor r15d, r15d
test al, al
je 0x140164e7d
lea r12, [rsp + 0x170]
mov rcx, r12
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa0
mov r9d, 1
call fcn.14004b4f0
mov r8d, 7
lea rcx, [rsp + 0x180]
lea rdx, str.Thread
call fcn.14010fab0
mov rdx, qword [rsp + 0x138]
mov rcx, rax
call fcn.140025980
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.14010fab0
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.140025500
mov rcx, r12
call fcn.14004bb30
jmp 0x140164e7d
movzx eax, r12b
sub r15d, eax
mov dword [rsp + 0x160], r15d
cmp byte [rsp + 0x37], 0
mov r12, qword [rsp + 0x38]
jne 0x140164ec9
mov ecx, 0x800
call fcn.14016d810
test al, al
jne 0x140164eb1
lea rcx, [rsp + 0xf8]
mov rdx, r13
call fcn.140163dc0
jmp 0x140164ed9
mov r8d, 0x800
lea rcx, [rsp + 0xf8]
mov rdx, r13
call fcn.140163f80
jmp 0x140164ed9
lea rcx, [rsp + 0xf8]
mov rdx, r13
call fcn.140163ea0
test al, al
je 0x1401648b8
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140164a36
mov ecx, 2
call fcn.1400b7540
test al, al
je 0x1401648b8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea r15, [rsp + 0x170]
mov rcx, r15
mov r8d, 0xbf
mov r9d, 2
call fcn.140137dc0
lea rdx, [0x14019ee0a]
mov r8d, 0xc
lea rcx, [rsp + 0x180]
jmp 0x1401647bc
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.140110530
lea rcx, [0x1401cf128]
call fcn.1400d76d0
cmp dword [0x1401cf128], 0xffffffff
jne 0x140164bc4
lea rcx, [0x14018e09a]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.140088c20
mov qword [0x1401cf120], rax
lea rcx, [0x1401cf128]
call fcn.1400d7768
jmp 0x140164bc4
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.14004b4f0
lea rcx, [rsp + 0x180]
lea rdx, str.process
mov r8d, 8
call fcn.14010fab0
mov rcx, rax
mov edx, ebp
call fcn.140025500
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.14010fab0
mov rcx, rdi
call fcn.14004bb30
jmp 0x1401646a7