Function at 0x1402b2b00
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
movaps xmmword [rsp + 0x2e0], xmm7
movaps xmmword [rsp + 0x2d0], xmm6
mov byte [rsp + 0x37], dl
mov rdi, rcx
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov r14, qword [rcx]
lea r15, [rsp + 0x108]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.14014fd0c
mov rsi, rax
mov r12d, 0x4000
mov ebx, 0x14
mov r13d, 0x1000
jmp 0x1402b2b95
mov r12d, dword [rsp + 0x108]
add r12d, r13d
test rsi, rsi
je 0x1402b2b86
mov rcx, rsi
call fcn.14014fd14
mov ecx, r12d
call fcn.14014fd0c
mov rsi, rax
dec ebx
je 0x1402b2bf3
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.140257170
mov ebp, eax
cmp eax, 0xc0000023
je 0x1402b2b6e
cmp ebp, 0xc0000004
je 0x1402b2b6e
test ebp, ebp
js 0x1402b2bf3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov rbx, rsi
cmp dword [rbx + 0x50], ebp
je 0x1402b2c8b
mov eax, dword [rbx]
test rax, rax
je 0x1402b2be0
add rbx, rax
jne 0x1402b2bcb
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402b2c4a
jmp 0x1402b2ff7
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402b2c4a
mov dword [rsp + 0x20], ebp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x5f
mov r9d, 2
call fcn.140257510
lea rcx, [rsp + 0x190]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1400e59c0
mov rcx, rdi
call fcn.140257540
test rsi, rsi
je 0x1402b2c57
mov rcx, rsi
call fcn.14014fd14
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.140151210
movaps xmm6, xmmword [rsp + 0x2d0]
movaps xmm7, xmmword [rsp + 0x2e0]
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rbx, rbx
je 0x1402b2c4a
cmp dword [rbx + 4], 0
je 0x1402b2c4a
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x118]
lea rax, [rdi + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rdi + 0x130]
mov qword [rsp + 0x58], rax
lea r12, [rbx + 0x128]
movaps xmm6, xmmword [0x1402dffe0]
xorps xmm7, xmm7
xor r15d, r15d
jmp 0x1402b2e15
mov dword [rsp + 0x170], 0
mov edx, 0x4d0
mov rcx, r14
call fcn.1400e74c0
mov byte [rsp + 0x110], 1
mov rcx, qword [rsp + 0x118]
add rcx, qword [rsp + 0x108]
call fcn.140150130
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
mov dword [rsp + 0x174], 0x20
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x178], eax
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, rbp
xor edx, edx
lea r8, [rsp + 0xd0]
mov r9d, 0x30
call fcn.140257210
test eax, eax
jns 0x1402b31ed
mov ebp, eax
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402b2dcc
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1ab
mov r9d, 2
call fcn.140257510
mov r8d, 0x18
lea rcx, [rsp + 0x190]
lea rdx, str.NtQueryInformationThread
call fcn.1400e59c0
mov rcx, rbp
call fcn.140257540
mov rcx, qword [rsp + 0x38]
call fcn.1400b1da0
cmp byte [rsp + 0x147], 0
jns 0x1402b2ded
mov rcx, qword [rsp + 0x130]
call fcn.14014fcd8
mov qword [rsp + 0x180], r14
lea rcx, [rsp + 0x180]
call fcn.1400e9740
inc r15
mov eax, dword [rbx + 4]
add r12, 0x50
cmp r15, rax
jae 0x1402b2c4a
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
mov qword [rsp + 0x108], 0
mov byte [rsp + 0x110], 0
xor ecx, ecx
mov dword [r14 + 0x60], ecx
movups xmmword [r14 + 0x50], xmm7
movups xmmword [r14 + 0x40], xmm7
movups xmmword [r14 + 0x30], xmm7
movups xmmword [r14 + 0x20], xmm7
movups xmmword [r14 + 0x10], xmm7
movups xmmword [r14], xmm7
mov rax, qword [r12 + 8]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0xd0], r13
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0x90], 0x30
lea rax, [rsp + 0x98]
mov dword [rax + 0x10], ecx
movups xmmword [rax], xmm7
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xd0]
mov edx, 0x4a
lea r8, [rsp + 0x90]
mov r9, r12
call fcn.1402570d0
test eax, eax
js 0x1402b2f95
mov rbp, qword [rsp + 0xd0]
test rbp, rbp
je 0x1402b2dd6
mov r13, rdi
mov dil, byte [rdi + 0x160]
mov rax, qword [rsp + 0x148]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
mov qword [rsp + 0x38], rbp
je 0x1402b2cd9
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1402b3060
mov ecx, 2
call fcn.140106140
test al, al
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x1402b2dcc
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x9c
mov r9d, 2
call fcn.1401c3e40
mov r8d, ntohl
lea rcx, [rsp + 0x190]
lea rdx, [0x14034a0a3]
call fcn.1400e59c0
mov rcx, rbp
call fcn.1401c3ec0
jmp 0x1402b2dcc
mov ebp, eax
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402b2dd6
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x80
mov r9d, 2
call fcn.140257510
mov r8d, ntohl
lea rcx, [rsp + 0x190]
lea rdx, str.NtOpenThread
call fcn.1400e59c0
mov rcx, rbp
call fcn.140257540
jmp 0x1402b2dd6
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x71
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x190]
lea rdx, str.process
mov r8d, 8
call fcn.1400e59c0
mov rcx, rax
mov edx, ebp
call fcn.140025110
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1400e59c0
mov rcx, rdi
call fcn.14006fb80
jmp 0x1402b2c4a
mov ebp, eax
test dil, dil
je 0x1402b30fb
test ebp, ebp
jne 0x1402b30fb
mov ecx, 1
call fcn.140106140
xor ebp, ebp
test al, al
je 0x1402b3101
lea rdi, [rsp + 0x180]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa1
mov r9d, 1
call fcn.14006f590
mov r8d, 7
lea rcx, [rsp + 0x190]
lea rdx, str.Thread
call fcn.1400e59c0
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.1400255b0
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1400e59c0
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.140025110
mov rcx, rdi
call fcn.14006fb80
jmp 0x1402b3101
movzx eax, dil
sub ebp, eax
mov dword [rsp + 0x170], ebp
cmp byte [rsp + 0x37], 0
mov rdi, r13
je 0x1402b3138
lea rcx, [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
call fcn.1402b2400
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x1402b2dcc
jmp 0x1402b317f
mov ecx, 0x800
call fcn.1402c9750
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rdx, qword [rsp + 0x38]
jne 0x1402b3164
lea rcx, [rsp + 0x108]
call fcn.1402b2320
jmp 0x1402b3177
mov r8d, 0x800
lea rcx, [rsp + 0x108]
call fcn.1402b24e0
test al, al
je 0x1402b2dcc
mov rbp, qword [rsp + 0x38]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1402b2d1b
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402b2dcc
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xc0
mov r9d, 2
call fcn.1401c3e40
mov r8d, ntohl
lea rcx, [rsp + 0x190]
lea rdx, [0x14034a0ee]
jmp 0x1402b2f83
mov qword [rsp + 0xc0], r13
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov rdx, qword [rsp + 0xd8]
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x90]
call fcn.1402948a0
test al, al
je 0x1402b336d
cmp byte [rsp + 0x37], 0
jne 0x1402b3262
mov rcx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
jmp 0x1402b32c3
movups xmmword [rsp + 0x18c], xmm6
movaps xmmword [rsp + 0x180], xmm6
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x180]
call fcn.1402948a0
mov ecx, dword [rsp + 0x184]
mov ebp, dword [rsp + 0x188]
test al, al
mov eax, 0
cmove rcx, rax
cmove rbp, rax
mov qword [rsp + 0x160], rbp
mov rax, rcx
sub rax, rbp
jae 0x1402b3365
mov qword [rsp + 0x40], rcx
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402b3363
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1cb
mov r9d, 2
call fcn.14006f590
mov r8d, 0x15
lea rcx, [rsp + 0x190]
lea rdx, str.invalid_stack_range:
call fcn.1400e59c0
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.1400255b0
mov r8d, 3
mov rcx, rax
lea rdx, [0x14034a037]
call fcn.1400e59c0
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.1400255b0
mov rcx, rbp
call fcn.14006fb80
xor eax, eax
mov qword [rsp + 0x168], rax
mov eax, dword [0x140381c58]
mov ecx, dword [0x140374080]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402b3531
mov rax, qword [0x140381c50]
test rax, rax
je 0x1402b3435
mov qword [rsp + 0x88], r13
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x88]
call qword [0x140352210]
test eax, eax
js 0x1402b347c
mov rbp, qword [rsp + 0x88]
mov qword [rsp + 0x78], rbp
test rbp, rbp
je 0x1402b351e
mov rcx, rbp
call fcn.140172434
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x78]
call fcn.1400fe610
cmp byte [rsp + 0x147], 0
jns 0x1402b3414
mov rcx, qword [rsp + 0x130]
call fcn.14014fcd8
mov rax, qword [rsp + 0x190]
mov qword [r14 + 0x28], rax
movups xmm0, xmmword [rsp + 0x180]
movups xmmword [r14 + 0x18], xmm0
mov rcx, rbp
call fcn.1400c9ba0
mov rbp, qword [rdi + 0x138]
cmp rbp, qword [rdi + 0x140]
jb 0x1402b345c
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x108]
call fcn.1402b3740
mov rbp, rax
jmp 0x1402b3470
mov rcx, rbp
lea rdx, [rsp + 0x108]
call fcn.1402b38a0
add rbp, 0x78
mov qword [rdi + 0x138], rbp
jmp 0x1402b2dcc
mov ebp, eax
mov ecx, 1
call fcn.140106140
test al, al
je 0x1402b3435
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1dc
mov r9d, 1
call fcn.14006f590
mov r8d, 0x16
lea rcx, [rsp + 0x190]
lea rdx, str.GetThreadDescription:
call fcn.1400e59c0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
mov edx, ebp
call fcn.1401c3bb0
movsx r8, byte [rsp + 0x77]
lea rdx, [rsp + 0x60]
test r8, r8
jns 0x1402b34f1
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.1400e59c0
cmp byte [rsp + 0x77], 0
jns 0x1402b350c
mov rcx, qword [rsp + 0x60]
call fcn.14014fcd8
lea rcx, [rsp + 0x180]
call fcn.14006fb80
jmp 0x1402b3435
lea rcx, [0x1402ea01c]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.14018e880
lea rcx, [0x140381c58]
call fcn.14014fd1c
cmp dword [0x140381c58], 0xffffffff
jne 0x1402b3392
lea rcx, [0x1402f1584]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400b27d0
mov qword [0x140381c50], rax
lea rcx, [0x140381c58]
call fcn.14014fdd0
jmp 0x1402b3392