Function at 0x140099750
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x758
movaps xmmword [rsp + 0x740], xmm7
movaps xmmword [rsp + 0x730], xmm6
mov byte [rsp + 0x37], dl
mov r14, rcx
mov rax, qword [0x1401c8018]
xor rax, rsp
mov qword [rsp + 0x728], rax
mov r15, qword [rcx]
lea r12, [rsp + 0xd0]
mov dword [r12], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.1400d4f2c
mov r13, rax
mov ebp, 0x4000
mov esi, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, r13
mov r8d, ebp
mov r9, r12
call fcn.140160f20
mov edi, eax
cmp eax, 0xc0000023
je 0x1400997e3
cmp edi, 0xc0000004
jne 0x14009989f
mov ebp, dword [rsp + 0xd0]
add ebp, ebx
test r13, r13
je 0x1400997f9
mov rcx, r13
call fcn.1400d4f34
mov ecx, ebp
call fcn.1400d4f2c
mov r13, rax
dec esi
jne 0x1400997bb
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x14009985e
mov dword [rsp + 0x20], edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x210]
mov rcx, rdi
mov r8d, 0x59
mov r9d, 2
call fcn.1401612c0
lea rcx, [rsp + 0x220]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1400a5d10
mov rcx, rdi
call fcn.140095e80
test r13, r13
je 0x14009986b
mov rcx, r13
call fcn.1400d4f34
mov rcx, qword [rsp + 0x728]
xor rcx, rsp
call fcn.1400d5720
movaps xmm6, xmmword [rsp + 0x730]
movaps xmm7, xmmword [rsp + 0x740]
add rsp, 0x758
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test edi, edi
js 0x140099807
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov rbp, r13
cmp dword [rbp + 0x50], edi
je 0x140099947
mov eax, dword [rbp]
add rbp, rax
test rax, rax
cmove rbp, rax
test rbp, rbp
jne 0x1400998b5
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x14009985e
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rbx, [rsp + 0x210]
mov rcx, rbx
mov r8d, 0x6b
mov r9d, 2
call fcn.140050ec0
lea rcx, [rsp + 0x220]
lea rdx, str.process
mov r8d, 8
call fcn.1400a5d10
mov rcx, rax
mov edx, edi
call fcn.140039d10
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1400a5d10
mov rcx, rbx
call fcn.140051360
jmp 0x14009985e
test rbp, rbp
je 0x14009985e
cmp dword [rbp + 4], 0
je 0x14009985e
lea rax, [r14 + 0x108]
mov qword [rsp + 0x40], rax
lea rax, [r14 + 0x220]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [0x1401a01c0]
lea rsi, [rsp + 0x210]
xorps xmm7, xmm7
xor r12d, r12d
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x710]
movaps xmmword [rax], xmm6
lea rbx, [r12 + r12*4]
shl rbx, 4
lea rdi, [rbx + rbp]
add rdi, 0x128
mov r8d, 0x504
mov rcx, rsi
xor edx, edx
call fcn.1400d8590
mov rax, qword [rdi + 8]
mov qword [rsp + 0x6e0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x60], 0x30
lea rax, [rsp + 0x80]
movups xmmword [rax - 0x18], xmm7
mov dword [rax - 8], 0
movups xmmword [rax], xmm7
lea rcx, [rsp + 0xa0]
mov edx, 0x4a
lea r8, [rsp + 0x60]
mov r9, rdi
call fcn.140160e80
test eax, eax
js 0x140099b95
mov r15, qword [rsp + 0xa0]
test r15, r15
je 0x14009a0fb
mov sil, byte [r14 + 0x250]
mov rax, qword [rsp + 0x6e0]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x140099bf7
mov dword [rsp + 0x708], 0
lea rsi, [rsp + 0x210]
mov rcx, rsi
call fcn.1400d68a0
mov dword [rsp + 0x70c], 0x20
mov eax, dword [rbp + rbx + 0x138]
mov dword [rsp + 0x710], eax
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
lea r8, [rsp + 0xa0]
mov r9d, 0x30
call fcn.140160fc0
test eax, eax
js 0x140099cab
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x6e8], rdx
mov qword [rsp + 0x6f0], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x60]
call fcn.140152f00
test al, al
je 0x140099f3c
cmp byte [rsp + 0x37], 0
je 0x140099e94
movups xmmword [rsp + 0xdc], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x6e8], rdx
mov qword [rsp + 0x6f0], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0xd0]
call fcn.140152f00
mov edi, dword [rsp + 0xd4]
mov ebx, dword [rsp + 0xd8]
test al, al
mov eax, 0
cmove rdi, rax
cmove rbx, rax
jmp 0x140099e9e
mov edi, eax
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x14009a0fb
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x7a
mov r9d, 2
call fcn.1401612c0
mov r8d, 0xc
lea rcx, [rsp + 0xe0]
lea rdx, str.NtOpenThread
call fcn.1400a5d10
mov rcx, rdi
call fcn.140095e80
jmp 0x14009a0fb
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x140099d0d
mov edi, eax
test eax, eax
jne 0x140099d6d
test sil, sil
je 0x140099d6d
mov ecx, 1
call fcn.1400b0f50
xor edi, edi
test al, al
je 0x140099d73
lea rsi, [rsp + 0xd0]
mov rcx, rsi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x9b
mov r9d, 1
call fcn.140050ec0
mov r8d, 7
lea rcx, [rsp + 0xe0]
lea rdx, str.Thread
call fcn.1400a5d10
mov rdx, qword [rsp + 0x6e0]
mov rcx, rax
call fcn.14003a190
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1400a5d10
xor edi, edi
mov rcx, rax
xor edx, edx
call fcn.140039d10
mov rcx, rsi
call fcn.140051360
jmp 0x140099d73
mov edi, eax
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x14009a0f3
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x15a
mov r9d, 2
call fcn.1401612c0
mov r8d, 0x18
lea rcx, [rsp + 0xe0]
lea rdx, str.NtQueryInformationThread
call fcn.1400a5d10
mov rcx, rdi
call fcn.140095e80
jmp 0x14009a0f3
mov ecx, 2
call fcn.1400b0f50
test al, al
lea rsi, [rsp + 0x210]
je 0x14009a0f3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x96
mov r9d, 2
call fcn.140126e40
mov r8d, 0xd
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401b8334]
jmp 0x14009a02c
movzx eax, sil
sub edi, eax
mov dword [rsp + 0x708], edi
mov r8d, 0x4d0
lea rsi, [rsp + 0x210]
mov rcx, rsi
xor edx, edx
call fcn.1400d8590
cmp byte [rsp + 0x37], 0
je 0x140099e0c
mov dword [rsp + 0x210], 0x10001f
mov rcx, r15
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x140099e2b
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x14009a0f3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xad
mov r9d, 2
call fcn.140126e40
mov r8d, 0x15
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401b837f]
jmp 0x14009a02c
mov dword [rsp + 0x240], 0x10001f
mov rcx, r15
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140099fd9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140099a70
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x14009a0f3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xbb
mov r9d, 2
call fcn.140126e40
mov r8d, 0xc
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401b83a6]
jmp 0x14009a02c
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x6f8], rbx
mov rax, rdi
sub rax, rbx
jae 0x140099f34
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x140099f32
lea rcx, [rsp + 0xd0]
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x17a
mov r9d, 2
call fcn.140050ec0
mov r8d, 0x15
lea rcx, [rsp + 0xe0]
lea rdx, str.invalid_stack_range:
call fcn.1400a5d10
mov rcx, rax
mov rdx, rdi
call fcn.14003a190
mov r8d, 3
mov rcx, rax
lea rdx, [0x1401b1e5d]
call fcn.1400a5d10
mov rcx, rax
mov rdx, rbx
call fcn.14003a190
lea rcx, [rsp + 0xd0]
call fcn.140051360
xor eax, eax
mov qword [rsp + 0x700], rax
mov rbx, qword [r14 + 0x228]
cmp rbx, qword [r14 + 0x230]
je 0x140099f70
mov r8d, 0x510
mov rcx, rbx
mov rdx, rsi
call fcn.1400d8180
add rbx, 0x510
mov qword [r14 + 0x228], rbx
jmp 0x14009a0f3
mov rax, qword [rsp + 0x38]
sub rbx, qword [rax]
sar rbx, 4
movabs rax, 0x2c3f35ba781948b1
imul rbx, rax
lea rax, [rbx + 1]
movabs rcx, 0x329161f9add3c0
cmp rax, rcx
ja 0x14009a10f
lea rsi, [rbx + rbx]
cmp rsi, rax
cmovb rsi, rax
movabs rax, 0x1948b0fcd6e9e0
cmp rbx, rax
cmovae rsi, rcx
test rsi, rsi
je 0x14009a03e
cmp rsi, rcx
ja 0x14009a119
imul rcx, rsi, 0x510
call fcn.1400d4eb8
jmp 0x14009a040
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x14009a0f3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb5
mov r9d, 2
call fcn.140126e40
mov r8d, 0x10
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401b8395]
call fcn.1400a5d10
mov rcx, rdi
call fcn.140126ec0
jmp 0x14009a0f3
xor eax, eax
imul rdi, rbx, 0x510
add rdi, rax
imul rcx, rsi, 0x510
add rcx, rax
mov qword [rsp + 0x58], rcx
mov r8d, 0x510
mov rcx, rdi
lea rdx, [rsp + 0x210]
call fcn.1400d8180
mov eax, 0x510
add rax, rdi
mov rsi, qword [r14 + 0x220]
mov rbx, qword [r14 + 0x228]
cmp rbx, rsi
je 0x14009a0c4
mov qword [rsp + 0x50], rax
mov r14, 0xfffffffffffffaf0
add rbx, r14
add rdi, r14
mov r8d, 0x510
mov rcx, rdi
mov rdx, rbx
call fcn.1400d8180
cmp rbx, rsi
jne 0x14009a096
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
mov r14, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x220], rdi
mov qword [r14 + 0x228], rax
mov rax, qword [rsp + 0x58]
mov qword [r14 + 0x230], rax
test rbx, rbx
lea rsi, [rsp + 0x210]
je 0x14009a0f3
mov rcx, rbx
call fcn.1400d4ef4
mov rcx, r15
call fcn.14008f1d0
inc r12
mov eax, dword [rbp + 4]
cmp r12, rax
jb 0x14009998c
jmp 0x14009985e
mov rcx, qword [rsp + 0x38]
call fcn.14010ac90
call fcn.1400e7480
int3