Function at 0x140130750
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 [0x14036e038]
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.1401ae9ec
mov rsi, rax
mov r12d, 0x4000
mov r13d, 0x14
mov ebx, 0x1000
jmp 0x1401307e6
mov r12d, dword [rsp + 0x108]
add r12d, ebx
test rsi, rsi
je 0x1401307d6
mov rcx, rsi
call fcn.1401ae9f4
mov ecx, r12d
call fcn.1401ae9ec
mov rsi, rax
dec r13d
je 0x140130848
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.140283490
mov ebp, eax
cmp eax, 0xc0000023
je 0x1401307be
cmp ebp, 0xc0000004
je 0x1401307be
test ebp, ebp
js 0x140130848
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r12, rsi
cmp dword [r12 + 0x50], ebp
je 0x140130a42
mov eax, dword [r12]
test rax, rax
je 0x140130835
add r12, rax
jne 0x14013081c
mov ecx, 2
call fcn.140162930
test al, al
je 0x140130856
jmp 0x14013117c
mov ecx, 2
call fcn.140162930
test al, al
jne 0x140130897
test rsi, rsi
je 0x140130863
mov rcx, rsi
call fcn.1401ae9f4
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.1401b0080
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
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.140283830
lea rcx, [rsp + 0x190]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1401e8d00
mov rcx, rdi
call fcn.140283860
jmp 0x140130856
mov r13d, eax
test bl, bl
je 0x140130983
test r13d, r13d
jne 0x140130983
mov ecx, 1
call fcn.140162930
xor r13d, r13d
test al, al
je 0x140130989
lea rbx, [rsp + 0x180]
mov rcx, rbx
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa1
mov r9d, 1
call fcn.1400762b0
mov r8d, 7
lea rcx, [rsp + 0x190]
lea rdx, str.Thread
call fcn.1401e8d00
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.140025560
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1401e8d00
xor r13d, r13d
mov rcx, rax
xor edx, edx
call fcn.1400250e0
mov rcx, rbx
call fcn.1400768a0
jmp 0x140130989
movzx eax, bl
sub r13d, eax
mov dword [rsp + 0x170], r13d
cmp byte [rsp + 0x37], 0
lea rbx, [rsp + 0x98]
jne 0x1401309ea
mov ecx, 0x800
call fcn.1402d79d0
test al, al
mov r13, r15
jne 0x1401309c8
lea rcx, [rsp + 0x108]
mov r15, qword [rsp + 0x38]
mov rdx, r15
call fcn.1402c9a70
jmp 0x1401309e3
mov r8d, 0x800
lea rcx, [rsp + 0x108]
mov r15, qword [rsp + 0x38]
mov rdx, r15
call fcn.1402c9c30
mov r8, r15
test al, al
jmp 0x140130a07
lea rcx, [rsp + 0x108]
mov r13, qword [rsp + 0x38]
mov rdx, r13
call fcn.1402c9b50
mov r8, r13
test al, al
mov r13, r15
lea r15, [rsp + 0xd0]
je 0x140130cc9
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140130e0d
mov ecx, 2
call fcn.140162930
test al, al
mov r8, qword [rsp + 0x38]
je 0x140130cc9
jmp 0x140131396
test r12, r12
je 0x140130856
cmp dword [r12 + 4], 0
je 0x140130856
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x118]
lea rbx, [rsp + 0x98]
lea rax, [rdi + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rdi + 0x130]
mov qword [rsp + 0x58], rax
lea rbp, [r12 + 0x128]
xor ecx, ecx
movaps xmm6, xmmword [0x1402eb060]
xorps xmm7, xmm7
lea r15, [rsp + 0xd0]
lea r8, [rsp + 0x90]
xor edx, edx
mov qword [rsp + 0x50], rdx
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
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 [rbp + 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
mov dword [rbx + 0x10], ecx
movups xmmword [rbx], xmm7
movups xmmword [rbx + 0x18], xmm7
mov rcx, r15
mov edx, 0x4a
mov r9, rbp
call fcn.1402833f0
test eax, eax
js 0x140130be3
mov r8, qword [rsp + 0xd0]
test r8, r8
lea r15, [rsp + 0xd0]
je 0x140130c00
mov bl, byte [rdi + 0x160]
mov rax, qword [rsp + 0x148]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x140130c85
mov dword [rsp + 0x170], 0
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
mov rax, rdx
sub rax, rcx
cmp rax, 0x4cf
jbe 0x140130dd3
cmp rax, 0x4d0
je 0x1401311e5
add rax, 0xfffffffffffffb30
dec rdx
cmp rax, rdx
ja 0x140130c53
jmp 0x1401311ef
mov r15d, eax
mov ecx, 2
call fcn.140162930
test al, al
jne 0x140130cd6
lea r15, [rsp + 0xd0]
cmp byte [rsp + 0x147], 0
lea r8, [rsp + 0x90]
jns 0x140130c27
mov rcx, qword [rsp + 0x130]
call fcn.1401ae9b8
lea r8, [rsp + 0x90]
mov rcx, qword [rsp + 0x118]
test rcx, rcx
mov rdx, qword [rsp + 0x50]
je 0x140130c66
mov rax, qword [rsp + 0x120]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x140131208
lea rcx, [0x1402f4f7c]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401ec0b0
inc rdx
mov eax, dword [r12 + 4]
add rbp, 0x50
cmp rdx, rax
mov ecx, 0
jb 0x140130aaf
jmp 0x140130856
mov r15, r13
mov qword [rsp + 0x38], r8
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1401308e5
mov ecx, 2
call fcn.140162930
test al, al
mov r13, r15
lea rbx, [rsp + 0x98]
lea r15, [rsp + 0xd0]
mov r8, qword [rsp + 0x38]
jne 0x140130d5e
mov rcx, r8
call fcn.1400e9730
jmp 0x140130c00
mov dword [rsp + 0x20], r15d
lea r15, [rsp + 0x180]
mov rcx, r15
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x80
mov r9d, 2
call fcn.140283830
mov r8d, ntohl
lea rcx, [rsp + 0x190]
lea rdx, str.NtOpenThread
call fcn.1401e8d00
mov rcx, r15
call fcn.140283860
jmp 0x140130bf8
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x108]
mov r15, r8
call fcn.140131460
mov r8, r15
mov r13, rax
mov qword [rdi + 0x138], r13
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0xd0]
jmp 0x140130cc9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x9c
mov r9d, 2
call fcn.14021aa00
mov r8d, ntohl
lea rcx, [rsp + 0x190]
lea rdx, [0x140354d33]
call fcn.1401e8d00
lea rcx, [rsp + 0x180]
call fcn.14021aa80
mov r8, qword [rsp + 0x38]
jmp 0x140130cc9
mov r15d, eax
mov ecx, 2
call fcn.140162930
test al, al
mov r8, qword [rsp + 0x38]
je 0x140130d51
jmp 0x140131227
mov qword [rsp + 0x38], r8
mov edx, 0x4d0
sub rdx, rax
mov rcx, r14
call fcn.14003bc40
mov rcx, qword [rsp + 0x118]
lea rbx, [rsp + 0x98]
mov byte [rsp + 0x110], 1
add rcx, qword [rsp + 0x108]
call fcn.1401aefa0
mov dword [rsp + 0x174], 0x20
mov eax, dword [rbp + 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, qword [rsp + 0x38]
xor edx, edx
mov r8, r15
mov r9d, 0x30
call fcn.140283530
test eax, eax
js 0x140130db8
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.1402b2890
test al, al
mov r8, qword [rsp + 0x38]
je 0x140130f97
cmp byte [rsp + 0x37], 0
je 0x140130f51
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 r15, r8
mov r8d, 0x1c
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x180]
call fcn.1402b2890
mov r8, r15
mov r15d, dword [rsp + 0x184]
mov r13d, dword [rsp + 0x188]
test al, al
mov eax, 0
cmove r15, rax
cmove r13, rax
jmp 0x140130f61
mov r13d, eax
mov ecx, 1
call fcn.140162930
test al, al
je 0x14013106a
jmp 0x14013127e
mov r15, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa0]
mov qword [rsp + 0x160], r13
mov rax, r15
sub rax, r13
jae 0x140130f8f
mov qword [rsp + 0x38], r8
mov ecx, 2
call fcn.140162930
test al, al
jne 0x14013131a
xor eax, eax
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x168], rax
mov eax, dword [0x14038cc18]
mov ecx, dword [0x14037f078]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401313ff
mov rax, qword [0x14038cc10]
test rax, rax
je 0x14013106d
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x88], rcx
mov r15, r8
mov rcx, r8
lea rdx, [rsp + 0x88]
call qword [0x14035cc68]
test eax, eax
js 0x140130f37
mov r13, qword [rsp + 0x88]
mov qword [rsp + 0x78], r13
test r13, r13
je 0x1401313ec
mov rcx, r13
call fcn.1401d1e74
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x78]
call fcn.14015b4e0
cmp byte [rsp + 0x147], 0
jns 0x140131049
mov rcx, qword [rsp + 0x130]
call fcn.1401ae9b8
mov rax, qword [rsp + 0x190]
mov qword [r14 + 0x28], rax
movups xmm0, xmmword [rsp + 0x180]
movups xmmword [r14 + 0x18], xmm0
mov rcx, r13
call fcn.140109520
mov r8, r15
mov r13, qword [rdi + 0x138]
cmp r13, qword [rdi + 0x140]
jae 0x140130d25
test r13, r13
je 0x1401313d9
mov al, byte [rsp + 0x110]
mov byte [r13 + 8], al
mov rax, qword [rsp + 0x108]
mov qword [r13], rax
movups xmmword [r13 + 0x10], xmm7
mov qword [r13 + 0x20], 0
mov rax, qword [rsp + 0x118]
mov r15, qword [rsp + 0x120]
sub r15, rax
je 0x140131112
mov qword [rsp + 0x38], r8
js 0x14013144f
mov rbx, rax
mov rcx, r15
call fcn.1401ae97c
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], rax
lea rcx, [rax + r15]
mov qword [rsp + 0x40], rcx
mov qword [r13 + 0x20], rcx
mov rcx, rax
mov rdx, rbx
mov r8, r15
call fcn.1401b1b20
mov rax, qword [rsp + 0x40]
mov qword [r13 + 0x18], rax
lea rbx, [rsp + 0x98]
mov r8, qword [rsp + 0x38]
lea rcx, [r13 + 0x28]
cmp byte [rsp + 0x147], 0
js 0x14013115f
mov rax, qword [r14 + 0x28]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r14 + 0x18]
movups xmmword [rcx], xmm0
mov eax, dword [r14 + 0x60]
mov dword [r13 + 0x70], eax
movups xmm0, xmmword [r14 + 0x30]
movups xmm1, xmmword [r14 + 0x40]
movups xmm2, xmmword [r14 + 0x50]
movups xmmword [r13 + 0x60], xmm2
movups xmmword [r13 + 0x50], xmm1
movups xmmword [r13 + 0x40], xmm0
add r13, 0x78
jmp 0x140130d40
mov rdx, qword [rsp + 0x130]
mov r15, r8
mov r8, qword [rsp + 0x138]
call fcn.14014f4f0
mov r8, r15
jmp 0x140131130
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x71
mov r9d, 2
call fcn.1400762b0
lea rcx, [rsp + 0x190]
lea rdx, str.process
mov r8d, 8
call fcn.1401e8d00
mov rcx, rax
mov edx, ebp
call fcn.1400250e0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1401e8d00
mov rcx, rdi
call fcn.1400768a0
jmp 0x140130856
mov qword [rsp + 0x38], r8
jmp 0x140130df0
mov qword [rsp + 0x38], r8
lea rax, [rcx + 0x4d0]
mov qword [rsp + 0x120], rax
jmp 0x140130df0
mov qword [rsp + 0x120], rcx
call fcn.1401ae9b8
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x50]
jmp 0x140130c66
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r15, r8
mov r8d, 0x1ab
mov r9d, 2
call fcn.140283830
mov r8d, 0x18
lea rcx, [rsp + 0x190]
lea rdx, str.NtQueryInformationThread
call fcn.1401e8d00
lea rcx, [rsp + 0x180]
call fcn.140283860
mov r8, r15
jmp 0x140130d51
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1dc
mov r9d, 1
call fcn.1400762b0
mov r8d, 0x16
lea rcx, [rsp + 0x190]
lea rdx, str.GetThreadDescription:
call fcn.1401e8d00
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov edx, r13d
call fcn.14021a770
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x1401312e2
mov r8, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call fcn.1401e8d00
cmp byte [rsp + 0x77], 0
jns 0x140131300
mov rcx, qword [rsp + 0x60]
call fcn.1401ae9b8
lea rcx, [rsp + 0x180]
call fcn.1400768a0
lea rbx, [rsp + 0x98]
jmp 0x14013106a
mov qword [rsp + 0x40], r15
lea r15, [rsp + 0x180]
mov rcx, r15
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1cb
mov r9d, 2
call fcn.1400762b0
mov r8d, 0x15
lea rcx, [rsp + 0x190]
lea rdx, str.invalid_stack_range:
call fcn.1401e8d00
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.140025560
mov r8d, 3
mov rcx, rax
lea rdx, [0x140354cc7]
call fcn.1401e8d00
mov rcx, rax
mov rdx, r13
call fcn.140025560
mov rcx, r15
call fcn.1400768a0
jmp 0x140130f88
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xc0
mov r9d, 2
call fcn.14021aa00
mov r8d, ntohl
lea rcx, [rsp + 0x190]
lea rdx, [0x140354d7e]
jmp 0x140130d9c
lea rcx, [0x1402f4f7c]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401ec0b0
lea rcx, [0x1402f4f7c]
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.1401ec0b0
lea rcx, [0x14038cc18]
mov r15, r8
call fcn.1401aead0
mov r8, r15
cmp dword [0x14038cc18], 0xffffffff
jne 0x140130fbc
lea rcx, [0x1402fc574]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400ea4a0
mov qword [0x14038cc10], rax
lea rcx, [0x14038cc18]
call fcn.1401aeb68
mov r8, r15
jmp 0x140130fbc
add r13, 0x10
mov rcx, r13
call fcn.1401e8ca0
int3