Function at 0x140154670
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 [0x1401af040]
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.1400be36c
mov rsi, rax
mov r12d, 0x4000
mov ebx, 0x14
mov r13d, 0x1000
jmp 0x140154705
mov r12d, dword [rsp + 0x108]
add r12d, r13d
test rsi, rsi
je 0x1401546f6
mov rcx, rsi
call fcn.1400be374
mov ecx, r12d
call fcn.1400be36c
mov rsi, rax
dec ebx
je 0x140154763
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.14014abe0
mov ebp, eax
cmp eax, 0xc0000023
je 0x1401546de
cmp ebp, 0xc0000004
je 0x1401546de
test ebp, ebp
js 0x140154763
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov rbx, rsi
cmp dword [rbx + 0x50], ebp
je 0x1401547fb
mov eax, dword [rbx]
test rax, rax
je 0x140154750
add rbx, rax
jne 0x14015473b
mov ecx, 2
call fcn.14009a9a0
test al, al
je 0x1401547ba
jmp 0x140154b67
mov ecx, 2
call fcn.14009a9a0
test al, al
je 0x1401547ba
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.14014af80
lea rcx, [rsp + 0x190]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1400823f0
mov rcx, rdi
call fcn.14014afb0
test rsi, rsi
je 0x1401547c7
mov rcx, rsi
call fcn.1400be374
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.1400bf690
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 0x1401547ba
cmp dword [rbx + 4], 0
je 0x1401547ba
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x118]
lea rax, [rdi + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rdi + 0x1d0]
mov qword [rsp + 0x58], rax
lea r12, [rbx + 0x128]
movaps xmm6, xmmword [0x14017b970]
xorps xmm7, xmm7
xor r15d, r15d
jmp 0x140154985
mov dword [rsp + 0x170], 0
mov edx, 0x4d0
mov rcx, r14
call fcn.140083930
mov byte [rsp + 0x110], 1
mov rcx, qword [rsp + 0x118]
add rcx, qword [rsp + 0x108]
call fcn.1400bf340
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.14014ac80
test eax, eax
jns 0x140154d5d
mov ebp, eax
mov ecx, 2
call fcn.14009a9a0
test al, al
je 0x14015493c
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.14014af80
mov r8d, 0x18
lea rcx, [rsp + 0x190]
lea rdx, str.NtQueryInformationThread
call fcn.1400823f0
mov rcx, rbp
call fcn.14014afb0
mov rcx, qword [rsp + 0x38]
call fcn.14007b930
cmp byte [rsp + 0x147], 0
jns 0x14015495d
mov rcx, qword [rsp + 0x130]
call fcn.1400be338
mov qword [rsp + 0x180], r14
lea rcx, [rsp + 0x180]
call fcn.140085db0
inc r15
mov eax, dword [rbx + 4]
add r12, 0x50
cmp r15, rax
jae 0x1401547ba
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.14014ab40
test eax, eax
js 0x140154b05
mov rbp, qword [rsp + 0xd0]
test rbp, rbp
je 0x140154946
mov r13, rdi
mov dil, byte [rdi + 0x200]
mov rax, qword [rsp + 0x148]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
mov qword [rsp + 0x38], rbp
je 0x140154849
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x140154bd0
mov ecx, 2
call fcn.14009a9a0
test al, al
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x14015493c
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.140114ea0
mov r8d, 0xd
lea rcx, [rsp + 0x190]
lea rdx, [0x14019cbdf]
call fcn.1400823f0
mov rcx, rbp
call fcn.140114f20
jmp 0x14015493c
mov ebp, eax
mov ecx, 2
call fcn.14009a9a0
test al, al
je 0x140154946
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.14014af80
mov r8d, 0xc
lea rcx, [rsp + 0x190]
lea rdx, str.NtOpenThread
call fcn.1400823f0
mov rcx, rbp
call fcn.14014afb0
jmp 0x140154946
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x71
mov r9d, 2
call fcn.1400479f0
lea rcx, [rsp + 0x190]
lea rdx, str.process
mov r8d, 8
call fcn.1400823f0
mov rcx, rax
mov edx, ebp
call fcn.140025110
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1400823f0
mov rcx, rdi
call fcn.140047fe0
jmp 0x1401547ba
mov ebp, eax
test dil, dil
je 0x140154c6b
test ebp, ebp
jne 0x140154c6b
mov ecx, 1
call fcn.14009a9a0
xor ebp, ebp
test al, al
je 0x140154c71
lea rdi, [rsp + 0x180]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa1
mov r9d, 1
call fcn.1400479f0
mov r8d, 7
lea rcx, [rsp + 0x190]
lea rdx, str.Thread
call fcn.1400823f0
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.1400823f0
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.140025110
mov rcx, rdi
call fcn.140047fe0
jmp 0x140154c71
movzx eax, dil
sub ebp, eax
mov dword [rsp + 0x170], ebp
cmp byte [rsp + 0x37], 0
mov rdi, r13
je 0x140154ca8
lea rcx, [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
call fcn.140153f70
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x14015493c
jmp 0x140154cef
mov ecx, 0x800
call fcn.140162ff0
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rdx, qword [rsp + 0x38]
jne 0x140154cd4
lea rcx, [rsp + 0x108]
call fcn.140153e90
jmp 0x140154ce7
mov r8d, 0x800
lea rcx, [rsp + 0x108]
call fcn.140154050
test al, al
je 0x14015493c
mov rbp, qword [rsp + 0x38]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14015488b
mov ecx, 2
call fcn.14009a9a0
test al, al
je 0x14015493c
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.140114ea0
mov r8d, 0xc
lea rcx, [rsp + 0x190]
lea rdx, [0x14019cc2a]
jmp 0x140154af3
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.14014f970
test al, al
je 0x140154edd
cmp byte [rsp + 0x37], 0
jne 0x140154dd2
mov rcx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
jmp 0x140154e33
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.14014f970
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 0x140154ed5
mov qword [rsp + 0x40], rcx
mov ecx, 2
call fcn.14009a9a0
test al, al
je 0x140154ed3
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.1400479f0
mov r8d, 0x15
lea rcx, [rsp + 0x190]
lea rdx, str.invalid_stack_range:
call fcn.1400823f0
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.1400255b0
mov r8d, 3
mov rcx, rax
lea rdx, [0x140192a38]
call fcn.1400823f0
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.1400255b0
mov rcx, rbp
call fcn.140047fe0
xor eax, eax
mov qword [rsp + 0x168], rax
mov eax, dword [0x1401caaa0]
mov ecx, dword [0x1401be1a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401550a1
mov rax, qword [0x1401caa98]
test rax, rax
je 0x140154fa5
mov qword [rsp + 0x88], r13
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x88]
call qword [0x1401a12c0]
test eax, eax
js 0x140154fec
mov rbp, qword [rsp + 0x88]
mov qword [rsp + 0x78], rbp
test rbp, rbp
je 0x14015508e
mov rcx, rbp
call fcn.1400dc6b4
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x78]
call fcn.140094780
cmp byte [rsp + 0x147], 0
jns 0x140154f84
mov rcx, qword [rsp + 0x130]
call fcn.1400be338
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.14007f650
mov rbp, qword [rdi + 0x1d8]
cmp rbp, qword [rdi + 0x1e0]
jb 0x140154fcc
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x108]
call fcn.1401552b0
mov rbp, rax
jmp 0x140154fe0
mov rcx, rbp
lea rdx, [rsp + 0x108]
call fcn.140155410
add rbp, 0x78
mov qword [rdi + 0x1d8], rbp
jmp 0x14015493c
mov ebp, eax
mov ecx, 1
call fcn.14009a9a0
test al, al
je 0x140154fa5
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1dc
mov r9d, 1
call fcn.1400479f0
mov r8d, 0x16
lea rcx, [rsp + 0x190]
lea rdx, str.GetThreadDescription:
call fcn.1400823f0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
mov edx, ebp
call fcn.140114c10
movsx r8, byte [rsp + 0x77]
lea rdx, [rsp + 0x60]
test r8, r8
jns 0x140155061
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.1400823f0
cmp byte [rsp + 0x77], 0
jns 0x14015507c
mov rcx, qword [rsp + 0x60]
call fcn.1400be338
lea rcx, [rsp + 0x180]
call fcn.140047fe0
jmp 0x140154fa5
lea rcx, [0x14018083d]
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.1400f81f0
lea rcx, [0x1401caaa0]
call fcn.1400be37c
cmp dword [0x1401caaa0], 0xffffffff
jne 0x140154f02
lea rcx, [0x14018636a]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.14007d010
mov qword [0x1401caa98], rax
lea rcx, [0x1401caaa0]
call fcn.1400be430
jmp 0x140154f02