Function at 0x1400c16f0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x768
movaps xmmword [rsp + 0x750], xmm7
movaps xmmword [rsp + 0x740], xmm6
mov byte [rsp + 0x37], dl
mov r13, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x738], rax
mov r15, qword [rcx]
lea r12, [rsp + 0xd0]
mov dword [r12], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.14010059c
mov r14, rax
mov ebp, 0x4000
mov esi, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, r14
mov r8d, ebp
mov r9, r12
call fcn.140185710
mov edi, eax
cmp eax, 0xc0000023
je 0x1400c1783
cmp edi, 0xc0000004
jne 0x1400c183f
mov ebp, dword [rsp + 0xd0]
add ebp, ebx
test r14, r14
je 0x1400c1799
mov rcx, r14
call fcn.1401005a4
mov ecx, ebp
call fcn.14010059c
mov r14, rax
dec esi
jne 0x1400c175b
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x1400c17fe
mov dword [rsp + 0x20], edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x220]
mov rcx, rdi
mov r8d, 0x5a
mov r9d, 2
call fcn.140185a80
lea rcx, [rsp + 0x230]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1400cf4f0
mov rcx, rdi
call fcn.14008e4a0
test r14, r14
je 0x1400c180b
mov rcx, r14
call fcn.1401005a4
mov rcx, qword [rsp + 0x738]
xor rcx, rsp
call fcn.1401013e0
movaps xmm6, xmmword [rsp + 0x740]
movaps xmm7, xmmword [rsp + 0x750]
add rsp, 0x768
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test edi, edi
js 0x1400c17a7
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov rsi, r14
cmp dword [rsi + 0x50], edi
je 0x1400c18e6
mov eax, dword [rsi]
add rsi, rax
test rax, rax
cmove rsi, rax
test rsi, rsi
jne 0x1400c1855
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x1400c17fe
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rbx, [rsp + 0x220]
mov rcx, rbx
mov r8d, 0x6c
mov r9d, 2
call fcn.14004a520
lea rcx, [rsp + 0x230]
lea rdx, str.process
mov r8d, 8
call fcn.1400cf4f0
mov rcx, rax
mov edx, edi
call fcn.14001a2d0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1400cf4f0
mov rcx, rbx
call fcn.14004a9c0
jmp 0x1400c17fe
test rsi, rsi
je 0x1400c17fe
cmp dword [rsi + 4], 0
je 0x1400c17fe
mov rcx, r13
lea r13, [rsp + 0x68]
lea rax, [rcx + 0x90]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rcx
lea rax, [rcx + 0x130]
mov qword [rsp + 0x40], rax
movaps xmm6, xmmword [0x1401d9dd0]
xorps xmm7, xmm7
xor r12d, r12d
mov r8d, 0x510
lea rdi, [rsp + 0x220]
mov rcx, rdi
mov dl, 0xaa
call fcn.140103d70
lea rbp, [r12 + r12*4]
shl rbp, 4
lea rbx, [rsi + rbp]
add rbx, 0x128
mov r8d, 0x504
mov rcx, rdi
xor edx, edx
call fcn.140103d70
mov rax, qword [rbx + 8]
mov qword [rsp + 0x6f0], 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 [r13], xmm7
mov dword [r13 + 0x10], 0
movups xmmword [r13 + 0x18], xmm7
lea rcx, [rsp + 0xa0]
mov edx, 0x4a
lea r8, [rsp + 0x60]
mov r9, rbx
call fcn.140185670
test eax, eax
js 0x1400c1a17
mov r15, qword [rsp + 0xa0]
test r15, r15
je 0x1400c20c6
mov rax, qword [rsp + 0x38]
mov dil, byte [rax + 0x160]
mov rax, qword [rsp + 0x6f0]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x1400c1a79
mov dword [rsp + 0x718], 0
lea rcx, [rsp + 0x220]
call fcn.140100c80
jmp 0x1400c1c53
mov ebx, eax
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x1400c20c6
mov dword [rsp + 0x20], ebx
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x7b
mov r9d, 2
call fcn.140185a80
mov r8d, ntohl
lea rcx, [rsp + 0xe0]
lea rdx, str.NtOpenThread
call fcn.1400cf4f0
mov rcx, rdi
call fcn.14008e4a0
jmp 0x1400c20c6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, eax
test eax, eax
je 0x1400c1aee
cmp ebx, 0xffffffff
jne 0x1400c1b7f
mov ecx, 2
call fcn.1400d9610
test al, al
lea r13, [rsp + 0x68]
je 0x1400c20be
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, 0x97
mov r9d, 2
call fcn.140158e40
mov r8d, ntohl
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401ffb93]
jmp 0x1400c1ffa
test dil, dil
je 0x1400c1b7f
mov ecx, 1
call fcn.1400d9610
xor ebx, ebx
test al, al
je 0x1400c1b85
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x9c
mov r9d, 1
call fcn.14004a520
mov r8d, 7
lea rcx, [rsp + 0xe0]
lea rdx, str.Thread
call fcn.1400cf4f0
mov rdx, qword [rsp + 0x6f0]
mov rcx, rax
call fcn.14001a730
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1400cf4f0
xor ebx, ebx
mov rcx, rax
xor edx, edx
call fcn.14001a2d0
mov rcx, rdi
call fcn.14004a9c0
jmp 0x1400c1b85
movzx eax, dil
sub ebx, eax
mov dword [rsp + 0x718], ebx
mov r8d, 0x4d0
lea rdi, [rsp + 0x220]
mov rcx, rdi
xor edx, edx
call fcn.140103d70
cmp byte [rsp + 0x37], 0
je 0x1400c1c23
mov dword [rsp + 0x220], 0x10001f
mov rcx, r15
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x1400c1c42
mov ecx, 2
call fcn.1400d9610
test al, al
lea r13, [rsp + 0x68]
je 0x1400c20be
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, 0xae
mov r9d, 2
call fcn.140158e40
mov r8d, 0x15
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401ffbde]
jmp 0x1400c1ffa
mov dword [rsp + 0x250], 0x10001f
mov rcx, r15
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400c1fa2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x1400c1f48
mov dword [rsp + 0x71c], 0x20
mov eax, dword [rsi + rbp + 0x138]
mov dword [rsp + 0x720], 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.1401857b0
test eax, eax
js 0x1400c1d7a
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 + 0x6f8], rdx
mov qword [rsp + 0x700], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x60]
call fcn.14019b6b0
test al, al
lea r13, [rsp + 0x68]
je 0x1400c1e93
cmp byte [rsp + 0x37], 0
je 0x1400c1de1
movups xmmword [rsp + 0xdc], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x6f8], rdx
mov qword [rsp + 0x700], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0xd0]
call fcn.14019b6b0
mov ebx, dword [rsp + 0xd4]
mov ebp, dword [rsp + 0xd8]
test al, al
mov eax, 0
cmove rbx, rax
cmove rbp, rax
jmp 0x1400c1deb
mov ebx, eax
mov ecx, 2
call fcn.1400d9610
test al, al
lea r13, [rsp + 0x68]
je 0x1400c20be
mov dword [rsp + 0x20], ebx
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x15b
mov r9d, 2
call fcn.140185a80
mov r8d, 0x18
lea rcx, [rsp + 0xe0]
lea rdx, str.NtQueryInformationThread
call fcn.1400cf4f0
mov rcx, rdi
call fcn.14008e4a0
jmp 0x1400c20be
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov qword [rsp + 0x708], rbp
mov rax, rbx
sub rax, rbp
jae 0x1400c1e8b
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x1400c1e7d
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x17b
mov r9d, 2
call fcn.14004a520
mov r8d, 0x15
lea rcx, [rsp + 0xe0]
lea rdx, str.invalid_stack_range:
call fcn.1400cf4f0
mov rcx, rax
mov rdx, rbx
call fcn.14001a730
mov r8d, 3
mov rcx, rax
lea rdx, [0x1401ffb6e]
call fcn.1400cf4f0
mov rcx, rax
mov rdx, rbp
call fcn.14001a730
mov rcx, rdi
call fcn.14004a9c0
mov qword [rsp + 0x710], 0
jmp 0x1400c1e93
mov qword [rsp + 0x710], rax
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rdi + 0x138]
cmp rbp, qword [rdi + 0x140]
je 0x1400c1ed1
mov r8d, 0x510
mov rcx, rbp
lea rdx, [rsp + 0x220]
call fcn.140103960
add rbp, 0x510
mov qword [rdi + 0x138], rbp
jmp 0x1400c20be
mov rax, qword [rsp + 0x40]
sub rbp, qword [rax]
sar rbp, 4
movabs rax, 0x2c3f35ba781948b1
imul rbp, rax
lea rax, [rbp + 1]
movabs rcx, 0x329161f9add3c0
cmp rax, rcx
ja 0x1400c20da
mov rdi, rbp
add rdi, rbp
cmp rdi, rax
cmovb rdi, rax
movabs rax, 0x1948b0fcd6e9e0
cmp rbp, rax
cmovae rdi, rcx
test rdi, rdi
mov r13, qword [rsp + 0x38]
je 0x1400c200c
cmp rdi, rcx
ja 0x1400c20e4
imul rcx, rdi, 0x510
call fcn.140100528
jmp 0x1400c200e
mov ecx, 2
call fcn.1400d9610
test al, al
lea r13, [rsp + 0x68]
je 0x1400c20be
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, 0xbc
mov r9d, 2
call fcn.140158e40
mov r8d, ntohl
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401ffc05]
jmp 0x1400c1ffa
mov ecx, 2
call fcn.1400d9610
test al, al
lea r13, [rsp + 0x68]
je 0x1400c20be
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, 0xb6
mov r9d, 2
call fcn.140158e40
mov r8d, 0x10
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401ffbf4]
call fcn.1400cf4f0
mov rcx, rdi
call fcn.140158f30
jmp 0x1400c20be
xor eax, eax
imul rbx, rbp, 0x510
add rbx, rax
imul rcx, rdi, 0x510
add rcx, rax
mov qword [rsp + 0x58], rcx
mov r8d, 0x510
mov rcx, rbx
lea rdx, [rsp + 0x220]
call fcn.140103960
mov eax, 0x510
add rax, rbx
mov rdi, qword [r13 + 0x130]
mov rbp, qword [r13 + 0x138]
cmp rbp, rdi
je 0x1400c2092
mov qword [rsp + 0x50], rax
mov r13, 0xfffffffffffffaf0
add rbp, r13
add rbx, r13
mov r8d, 0x510
mov rcx, rbx
mov rdx, rbp
call fcn.140103960
cmp rdi, rbp
jne 0x1400c2064
mov rax, qword [rsp + 0x40]
mov rbp, qword [rax]
mov r13, qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov qword [r13 + 0x130], rbx
mov qword [r13 + 0x138], rax
mov rax, qword [rsp + 0x58]
mov qword [r13 + 0x140], rax
test rbp, rbp
lea r13, [rsp + 0x68]
je 0x1400c20be
mov rcx, rbp
call fcn.140100564
mov rcx, r15
call fcn.14008e8b0
inc r12
mov eax, dword [rsi + 4]
cmp r12, rax
jb 0x1400c192b
jmp 0x1400c17fe
mov rcx, qword [rsp + 0x40]
call fcn.140131070
call fcn.1401143a0
int3