Function at 0x14001ec14
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x7c8
movaps xmmword [rsp + 0x7b0], xmm7
movaps xmmword [rsp + 0x7a0], xmm6
mov byte [rsp + 0x2f], dl
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x798], rax
mov qword [rsp + 0x40], rcx
mov r12, qword [rcx]
lea r14, [rsp + 0xf0]
mov dword [r14], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.1400ca15c
mov r15, rax
mov ebp, 0x4000
mov esi, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, r15
mov r8d, ebp
mov r9, r14
call fcn.1401890d6
mov edi, eax
cmp eax, 0xc0000023
je 0x14001eca8
cmp edi, 0xc0000004
jne 0x14001ed64
mov ebp, dword [rsp + 0xf0]
add ebp, ebx
test r15, r15
je 0x14001ecbe
mov rcx, r15
call fcn.1400c9cb4
mov ecx, ebp
call fcn.1400ca15c
mov r15, rax
dec esi
jne 0x14001ec80
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14001ed23
mov dword [rsp + 0x20], edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x250]
mov rcx, rdi
mov r8d, 0x5d
mov r9d, 2
call fcn.1401f42cc
lea rcx, [rsp + 0x260]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1400a7acb
mov rcx, rdi
call fcn.1401f42f8
test r15, r15
je 0x14001ed30
mov rcx, r15
call fcn.1400c9cb4
mov rcx, qword [rsp + 0x798]
xor rcx, rsp
call fcn.1400ccfe0
movaps xmm6, xmmword [rsp + 0x7a0]
movaps xmm7, xmmword [rsp + 0x7b0]
add rsp, 0x7c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test edi, edi
js 0x14001eccc
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov rbp, r15
cmp dword [rbp + 0x50], edi
je 0x14001ee0c
mov eax, dword [rbp]
add rbp, rax
test rax, rax
cmove rbp, rax
test rbp, rbp
jne 0x14001ed7a
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14001ed23
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rbx, [rsp + 0x250]
mov rcx, rbx
mov r8d, 0x6f
mov r9d, 2
call fcn.140122230
lea rcx, [rsp + 0x260]
lea rdx, str.process
mov r8d, 8
call fcn.1400a7acb
mov rcx, rax
mov edx, edi
call fcn.14013ae04
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1400a7acb
mov rcx, rbx
call fcn.140001c60
jmp 0x14001ed23
test rbp, rbp
je 0x14001ed23
cmp dword [rbp + 4], 0
je 0x14001ed23
lea rdi, [rsp + 0x750]
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 0x90]
mov qword [rsp + 0x38], rcx
add rax, 0x130
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x80]
movaps xmm6, xmmword [0x140257270]
xorps xmm7, xmm7
lea r12, [rbp + 0x128]
lea r13, [rsp + 0x250]
xor r14d, r14d
movaps xmmword [rdi], xmm6
mov r8d, 0x504
mov rcx, r13
xor edx, edx
call fcn.1400cf750
movups xmmword [rdi + 8], xmm7
movups xmmword [rdi + 0x18], xmm7
movups xmmword [rdi + 0x28], xmm7
mov qword [rdi + 0x38], 0
mov rax, qword [r12 + 8]
mov qword [rsp + 0x720], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x60], 0x30
movups xmmword [rsi - 0x18], xmm7
mov dword [rsi - 8], 0
movups xmmword [rsi], xmm7
lea rcx, [rsp + 0xa0]
mov edx, 0x4a
lea r8, [rsp + 0x60]
mov r9, r12
call fcn.140197beb
test eax, eax
js 0x14001ef53
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
je 0x14001efac
mov r13, rdi
mov rax, qword [rsp + 0x40]
mov sil, byte [rax + 0x160]
mov rax, qword [rsp + 0x720]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
mov qword [rsp + 0x30], rbx
jne 0x14001efc8
mov dword [rsp + 0x748], 0
lea rcx, [rsp + 0x250]
call fcn.1400cd920
mov rdi, r13
lea rsi, [rsp + 0x80]
jmp 0x14001f1d2
mov ebx, eax
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14001efac
mov dword [rsp + 0x20], ebx
lea rbx, [rsp + 0xf0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x7e
mov r9d, 2
call fcn.1401f42cc
mov r8d, 0xc
lea rcx, [rsp + 0x100]
lea rdx, str.NtOpenThread
call fcn.1400a7acb
mov rcx, rbx
call fcn.1401f42f8
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xc
mov r8d, 0xf
call fcn.14007e960
jmp 0x14001f393
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, eax
test eax, eax
je 0x14001f049
cmp ebx, 0xffffffff
jne 0x14001f0da
mov ecx, 2
call fcn.1400ac390
test al, al
mov rdi, r13
lea rsi, [rsp + 0x80]
mov rbx, qword [rsp + 0x30]
je 0x14001f36c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xf0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x9a
mov r9d, 2
call fcn.14014efd0
mov r8d, 0xd
lea rcx, [rsp + 0x100]
lea rdx, [0x14027a03a]
jmp 0x14001f35a
test sil, sil
je 0x14001f0da
mov ecx, 1
call fcn.1400ac390
xor ebx, ebx
test al, al
je 0x14001f0e0
lea rsi, [rsp + 0xf0]
mov rcx, rsi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x9f
mov r9d, 1
call fcn.140122230
mov r8d, 7
lea rcx, [rsp + 0x100]
lea rdx, str.Thread
call fcn.1400a7acb
mov rdx, qword [rsp + 0x720]
mov rcx, rax
call fcn.1400c2d3c
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1400a7acb
xor ebx, ebx
mov rcx, rax
xor edx, edx
call fcn.14013ae04
mov rcx, rsi
call fcn.140001c60
jmp 0x14001f0e0
movzx eax, sil
sub ebx, eax
mov dword [rsp + 0x748], ebx
mov r8d, 0x4d0
lea rsi, [rsp + 0x250]
mov rcx, rsi
xor edx, edx
call fcn.1400cf750
cmp byte [rsp + 0x2f], 0
je 0x14001f192
mov dword [rsp + 0x250], 0x10001f
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
mov rdi, r13
jne 0x14001f1b9
mov ecx, 2
call fcn.1400ac390
test al, al
lea rsi, [rsp + 0x80]
je 0x14001f36c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xf0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb1
mov r9d, 2
call fcn.14014efd0
mov r8d, 0x15
lea rcx, [rsp + 0x100]
lea rdx, [0x14027a085]
jmp 0x14001f35a
mov dword [rsp + 0x280], 0x10001f
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
mov rdi, r13
je 0x14001f302
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
lea rsi, [rsp + 0x80]
je 0x14001f2ac
mov dword [rsp + 0x74c], 0x20
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x750], eax
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
lea r8, [rsp + 0xa0]
mov r9d, 0x30
call fcn.140197c7e
test eax, eax
jns 0x14001f3c2
mov ebx, eax
mov ecx, 2
call fcn.1400ac390
test al, al
lea r13, [rsp + 0x250]
je 0x14001f28b
mov dword [rsp + 0x20], ebx
lea rbx, [rsp + 0xf0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x193
mov r9d, 2
call fcn.1401f42cc
mov r8d, 0x18
lea rcx, [rsp + 0x100]
lea rdx, str.NtQueryInformationThread
call fcn.1400a7acb
mov rcx, rbx
call fcn.1401f42f8
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xe
mov r8d, 0xf
call fcn.14007e960
mov rbx, qword [rsp + 0x30]
jmp 0x14001f38b
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14001f36c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xf0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xbf
mov r9d, 2
call fcn.14014efd0
mov r8d, 0xc
lea rcx, [rsp + 0x100]
lea rdx, [0x14027a0ac]
jmp 0x14001f35a
mov ecx, 2
call fcn.1400ac390
test al, al
lea rsi, [rsp + 0x80]
je 0x14001f36c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xf0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb9
mov r9d, 2
call fcn.14014efd0
mov r8d, 0x10
lea rcx, [rsp + 0x100]
lea rdx, [0x14027a09b]
call fcn.1400a7acb
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
call fcn.1401412f0
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xd
mov r8d, 0xf
call fcn.14007e960
lea r13, [rsp + 0x250]
mov rcx, rbx
call fcn.140189202
cmp byte [rsp + 0x78f], 0
jns 0x14001f3aa
mov rcx, qword [rsp + 0x778]
call fcn.1400c9cac
inc r14
mov eax, dword [rbp + 4]
add r12, 0x50
cmp r14, rax
jb 0x14001ee67
jmp 0x14001ed23
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 + 0x728], rdx
mov qword [rsp + 0x730], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x60]
call fcn.1401969d4
test al, al
lea r13, [rsp + 0x250]
mov rbx, qword [rsp + 0x30]
je 0x14001f54c
cmp byte [rsp + 0x2f], 0
je 0x14001f493
movups xmmword [rsp + 0xfc], xmm6
movaps xmmword [rsp + 0xf0], xmm6
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x728], rdx
mov qword [rsp + 0x730], 0x1788
mov r8d, 0x1c
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0xf0]
call fcn.1401969d4
mov edx, dword [rsp + 0xf4]
mov ecx, dword [rsp + 0xf8]
test al, al
mov eax, 0
cmove rdx, rax
cmove rcx, rax
jmp 0x14001f49d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x738], rcx
mov rax, rdx
sub rax, rcx
jae 0x14001f544
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rcx
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14001f542
lea rbx, [rsp + 0xf0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x1b5
mov r9d, 2
call fcn.140122230
mov r8d, 0x15
lea rcx, [rsp + 0x100]
lea rdx, str.invalid_stack_range:
call fcn.1400a7acb
mov rcx, rax
mov rdx, qword [rsp + 0x48]
call fcn.1400c2d3c
mov r8d, 3
mov rcx, rax
lea rdx, [0x14026c1ec]
call fcn.1400a7acb
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.1400c2d3c
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
call fcn.140001c60
xor eax, eax
mov qword [rsp + 0x740], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea rdx, [rsp + 0x248]
lea r8, [rsp + 0x240]
lea r9, [rsp + 0x238]
call qword [sym.imp.KERNEL32.dll_GetThreadTimes]
test eax, eax
jne 0x14001f610
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14001f650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xf0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xd4
mov r9d, 2
call fcn.14014efd0
mov r8d, 0xe
lea rcx, [rsp + 0x100]
lea rdx, [0x14027a0b9]
call fcn.1400a7acb
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
call fcn.1401412f0
jmp 0x14001f650
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x758], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x760], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x768], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x770], rax
mov eax, dword [0x14029c000]
mov ecx, dword [0x140293330]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001f79e
mov rax, qword [0x14029bff8]
test rax, rax
je 0x14001f78c
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe8], rcx
mov rcx, rbx
lea rdx, [rsp + 0xe8]
call rax
test eax, eax
js 0x14001f6c1
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0xd8], rcx
test rcx, rcx
jne 0x14001f728
xor eax, eax
jmp 0x14001f72d
mov ebx, eax
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14001f787
lea rcx, [rsp + 0xf0]
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xe1
mov r9d, 2
call fcn.140122230
mov r8d, 0x16
lea rcx, [rsp + 0x100]
lea rdx, str.GetThreadDescription:
call fcn.1400a7acb
mov rcx, rax
mov edx, ebx
call fcn.14014f0aa
lea rcx, [rsp + 0xf0]
call fcn.140001c60
jmp 0x14001f787
call fcn.1400ca328
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xd8]
call fcn.1400b6b40
cmp byte [rsp + 0x78f], 0
jns 0x14001f761
mov rcx, qword [rsp + 0x778]
call fcn.1400c9cac
mov rax, qword [rsp + 0x100]
mov qword [rdi + 0x38], rax
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rdi + 0x28], xmm0
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov rdx, r13
call fcn.140204e00
jmp 0x14001f38b
lea rcx, [0x14029c000]
call fcn.1400c9d58
cmp dword [0x14029c000], 0xffffffff
jne 0x14001f675
lea rcx, [0x14025755e]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1401420ab
mov qword [0x14029bff8], rax
lea rcx, [0x14029c000]
call fcn.1400c9cf8
jmp 0x14001f675