Function at 0x140116bfa
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 edi, edx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x30], rcx
mov r14, qword [rcx]
mov ecx, 0x4000
call fcn.14014390c
mov rsi, rax
lea r15, [rsp + 0x108]
mov dword [r15], 0xaaaaaaaa
mov r12d, 0x4000
mov ebx, 0x14
mov r13d, 0x1000
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.1401079b6
mov ebp, eax
cmp eax, 0xc0000023
je 0x140116c8e
cmp ebp, 0xc0000004
jne 0x140116d4d
mov r12d, dword [rsp + 0x108]
add r12d, r13d
test rsi, rsi
je 0x140116ca6
mov rcx, rsi
call fcn.140143914
mov ecx, r12d
call fcn.14014390c
mov rsi, rax
dec ebx
jne 0x140116c66
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140116d0c
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.140107d18
lea rcx, [rsp + 0x190]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.14000206f
mov rcx, rdi
call fcn.140107d44
test rsi, rsi
je 0x140116d19
mov rcx, rsi
call fcn.140143914
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.140143c30
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 ebp, ebp
js 0x140116cb5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r12, rsi
mov rdx, qword [rsp + 0x30]
cmp dword [r12 + 0x50], ebp
je 0x140116dfc
mov eax, dword [r12]
test rax, rax
je 0x140116d81
add r12, rax
jne 0x140116d68
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140116d0c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x71
mov r9d, 2
call fcn.1400520b0
lea rcx, [rsp + 0x190]
lea rdx, str.process
mov r8d, 8
call fcn.14000206f
mov rcx, rax
mov edx, ebp
call fcn.14000fa74
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.14000206f
mov rcx, rdi
call fcn.1400525a0
jmp 0x140116d0c
test r12, r12
je 0x140116d0c
cmp dword [r12 + 4], 0
je 0x140116d0c
mov byte [rsp + 0x2f], dil
movabs rcx, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x118]
lea rdi, [rsp + 0x88]
lea rax, [rdx + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rdx + 0x130]
mov qword [rsp + 0x48], rax
lea rax, [rdx + 0x148]
mov qword [rsp + 0x40], rax
movaps xmm6, xmmword [section..rdata]
xorps xmm7, xmm7
lea r13, [r12 + 0x128]
lea r15, [rsp + 0x108]
xor ebx, ebx
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 edx, edx
mov dword [r14 + 0x60], edx
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 [r13 + 8]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x100], rcx
movaps xmmword [rsp + 0xf0], xmm6
mov qword [rsp + 0xc0], rcx
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0x80], 0x30
mov dword [rdi + 0x10], edx
movups xmmword [rdi], xmm7
movups xmmword [rdi + 0x18], xmm7
lea rcx, [rsp + 0xc0]
mov edx, 0x4a
lea r8, [rsp + 0x80]
mov r9, r13
call fcn.14010791c
test eax, eax
js 0x14011710f
mov rbp, qword [rsp + 0xc0]
lea rax, [0x140198bb0]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rbp
mov byte [rsp + 0x100], 0
test rbp, rbp
je 0x14011779b
mov rax, qword [rsp + 0x30]
mov dil, byte [rax + 0x160]
mov rax, qword [rsp + 0x148]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x140117190
mov dword [rsp + 0x170], 0
mov edx, 0x4d0
mov rcx, r14
call fcn.1400031c0
mov byte [rsp + 0x110], 1
mov rcx, qword [rsp + 0x118]
add rcx, qword [rsp + 0x108]
call fcn.140144d20
mov dil, byte [rsp + 0x2f]
mov dword [rsp + 0x174], 0x20
mov eax, dword [r13 + 0x10]
mov dword [rsp + 0x178], eax
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x20], 0
xor edx, edx
lea r8, [rsp + 0xc0]
mov r9d, 0x30
call fcn.140107a4e
test eax, eax
js 0x140117248
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 + 0x150], rdx
mov qword [rsp + 0x158], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x80]
call fcn.1401084ac
test al, al
movabs r8, 0x222222222222222
je 0x140117440
test dil, dil
je 0x140117380
movups xmmword [rsp + 0x18c], xmm6
movaps xmmword [rsp + 0x180], xmm6
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x180]
call fcn.1401084ac
movabs r8, 0x222222222222222
mov r15d, dword [rsp + 0x184]
mov ebp, dword [rsp + 0x188]
test al, al
mov eax, 0
cmove r15, rax
cmove rbp, rax
jmp 0x140117390
mov ebp, eax
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140117168
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.140107d18
mov r8d, 0xc
lea rcx, [rsp + 0x190]
lea rdx, str.NtOpenThread
call fcn.14000206f
mov rcx, rbp
call fcn.140107d44
lea rax, [0x140198bb0]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 0
mov byte [rsp + 0x100], 0
jmp 0x14011779b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1401172b2
mov r15d, eax
test dil, dil
je 0x14011731a
test r15d, r15d
jne 0x14011731a
mov ecx, 1
call fcn.140051fe0
xor r15d, r15d
test al, al
je 0x140117321
lea rdi, [rsp + 0x180]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa1
mov r9d, 1
call fcn.1400520b0
mov r8d, 7
lea rcx, [rsp + 0x190]
lea rdx, str.Thread
call fcn.14000206f
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.14000fea6
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.14000206f
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.14000fa74
mov rcx, rdi
call fcn.1400525a0
jmp 0x140117321
mov ebp, eax
mov ecx, 2
call fcn.140051fe0
test al, al
lea rdi, [rsp + 0x88]
je 0x14011779b
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.140107d18
mov r8d, 0x18
lea rcx, [rsp + 0x190]
lea rdx, str.NtQueryInformationThread
call fcn.14000206f
mov rcx, rbp
call fcn.140107d44
jmp 0x14011779b
mov ecx, 2
call fcn.140051fe0
test al, al
lea rdi, [rsp + 0x88]
lea r15, [rsp + 0x108]
je 0x14011779b
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.1400533b0
mov r8d, 0xd
lea rcx, [rsp + 0x190]
lea rdx, [0x14019e361]
jmp 0x14011762e
movzx eax, dil
sub r15d, eax
mov dword [rsp + 0x170], r15d
cmp byte [rsp + 0x2f], 0
lea rdi, [rsp + 0x88]
je 0x140117350
lea r15, [rsp + 0x108]
mov rcx, r15
mov rdx, rbp
call fcn.14011655a
jmp 0x1401175b5
mov ecx, 0x800
call fcn.140134d9d
test al, al
lea r15, [rsp + 0x108]
je 0x1401175aa
mov r8d, 0x800
mov rcx, r15
mov rdx, rbp
call fcn.14011662a
jmp 0x1401175b5
mov r15, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
mov qword [rsp + 0x160], rbp
mov rax, r15
sub rax, rbp
jae 0x140117430
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140117424
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1cb
mov r9d, 2
call fcn.1400520b0
mov r8d, 0x15
lea rcx, [rsp + 0x190]
lea rdx, str.invalid_stack_range:
call fcn.14000206f
mov rcx, rax
mov rdx, r15
call fcn.14000fea6
mov r8d, 3
mov rcx, rax
lea rdx, [0x140183e2f]
call fcn.14000206f
mov rcx, rax
mov rdx, rbp
call fcn.14000fea6
lea rcx, [rsp + 0x180]
call fcn.1400525a0
xor eax, eax
movabs r8, 0x222222222222222
mov qword [rsp + 0x168], rax
lea r15, [rsp + 0x108]
mov eax, dword [0x1401c9720]
mov ecx, dword [0x1401c65c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x1401177d4
mov rax, qword [0x1401c9718]
test rax, rax
movabs rdi, 0xaaaaaaaaaaaaaaaa
je 0x14011768a
mov qword [rsp + 0x78], rdi
mov rcx, qword [rsp + 0xf8]
lea rdx, [rsp + 0x78]
call qword [0x1401b1be0]
test eax, eax
js 0x14011752e
mov qword [rsp + 0x190], rdi
mov rcx, qword [rsp + 0x78]
lea rax, [0x14019c448]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rcx
mov byte [rsp + 0x190], 0
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x14011782f
call fcn.140169634
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.1400457b0
test byte [rsp + 0x130], 1
je 0x140117509
mov rcx, qword [rsp + 0x140]
call fcn.1401438d8
mov rax, qword [rsp + 0x70]
mov qword [r14 + 0x28], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r14 + 0x18], xmm0
lea rcx, [rsp + 0x180]
call fcn.14010444e
jmp 0x140117676
mov ebp, eax
mov ecx, 1
call fcn.140051fe0
test al, al
je 0x140117676
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1dc
mov r9d, 1
call fcn.1400520b0
mov r8d, 0x16
lea rcx, [rsp + 0x190]
lea rdx, str.GetThreadDescription:
call fcn.14000206f
mov r15, rax
lea rcx, [rsp + 0x60]
mov edx, ebp
call fcn.1400530c0
movzx r8d, byte [rsp + 0x60]
test r8b, 1
je 0x140117640
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x140117648
mov rcx, r15
mov rdx, rbp
call fcn.140116488
test al, al
je 0x14011779b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
mov dil, byte [rsp + 0x2f]
jne 0x140116fc9
mov ecx, 2
call fcn.140051fe0
test al, al
lea rdi, [rsp + 0x88]
je 0x14011779b
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.1400533b0
mov r8d, 0xc
lea rcx, [rsp + 0x190]
lea rdx, [0x14019e3ac]
call fcn.14000206f
mov rcx, rbp
call fcn.1400534a0
jmp 0x14011779b
shr r8d, 1
lea rdx, [rsp + 0x61]
mov rcx, r15
call fcn.14000206f
test byte [rsp + 0x60], 1
je 0x140117661
mov rcx, qword [rsp + 0x70]
call fcn.1401438d8
lea rcx, [rsp + 0x180]
call fcn.1400525a0
lea r15, [rsp + 0x108]
movabs rdi, 0xaaaaaaaaaaaaaaaa
movabs r8, 0x222222222222222
mov rax, qword [rsp + 0x30]
mov rbp, qword [rax + 0x138]
mov rax, qword [rax + 0x140]
cmp rbp, rax
jae 0x1401176c3
mov rcx, rbp
mov rdx, r15
call fcn.1401179e9
add rbp, 0x78
lea rdi, [rsp + 0x88]
mov r15, qword [rsp + 0x30]
jmp 0x14011778c
mov qword [rsp + 0x1a0], rdi
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x180], xmm6
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rdi]
sub rbp, rcx
sar rbp, 3
movabs r9, 0xeeeeeeeeeeeeeeef
imul rbp, r9
lea rdx, [rbp + 1]
cmp rdx, r8
ja 0x140117842
sub rax, rcx
sar rax, 3
imul rax, r9
lea rcx, [rax + rax]
cmp rcx, rdx
cmova rdx, rcx
movabs rcx, 0x111111111111111
cmp rax, rcx
cmovae rdx, r8
lea rcx, [rsp + 0x180]
mov r15, rcx
mov r8, rbp
mov r9, qword [rsp + 0x40]
call fcn.140117abc
mov rcx, qword [rsp + 0x190]
lea rdx, [rsp + 0x108]
call fcn.1401179e9
add qword [rsp + 0x190], 0x78
mov rcx, rdi
mov rdi, r15
mov rdx, r15
call fcn.140117b28
mov r15, qword [rsp + 0x30]
mov rbp, qword [r15 + 0x138]
mov rcx, rdi
call fcn.140117ba0
lea rdi, [rsp + 0x88]
mov qword [r15 + 0x138], rbp
lea r15, [rsp + 0x108]
lea rcx, [rsp + 0xf0]
call fcn.1400dc176
mov rcx, r15
call fcn.14011799e
inc rbx
mov eax, dword [r12 + 4]
add r13, 0x50
cmp rbx, rax
movabs rcx, 0xaaaaaaaaaaaaaaaa
jb 0x140116e70
jmp 0x140116d0c
lea rcx, [0x1401c9720]
call fcn.1401439f0
movabs r8, 0x222222222222222
cmp dword [0x1401c9720], 0xffffffff
jne 0x140117465
lea rcx, [0x140183f58]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.140104518
mov qword [0x1401c9718], rax
lea rcx, [0x1401c9720]
call fcn.140143a88
movabs r8, 0x222222222222222
jmp 0x140117465
lea rcx, [0x140180113]
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.140005804
mov rcx, rdi
call fcn.140003430
int3