Function at 0x14012c910
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6f8
movaps xmmword [rsp + 0x6e0], xmm6
mov byte [rsp + 0x2f], dl
mov r12, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x6d8], rax
mov r14, qword [rcx]
mov ecx, 0x4000
call fcn.14014a890
mov r15, rax
mov ebp, 0x4000
xor esi, esi
lea rdi, [rsp + 0xa8]
mov r13d, 0x1000
mov ecx, 5
mov rdx, r15
mov r8d, ebp
mov r9, rdi
call fcn.1400c0920
mov ebx, eax
cmp eax, 0xc0000023
je 0x14012c98d
cmp ebx, 0xc0000004
jne 0x14012c9b6
mov ebp, dword [rsp + 0xa8]
add ebp, r13d
mov rcx, r15
call fcn.14014a880
mov rcx, rbp
call fcn.14014a890
mov r15, rax
inc esi
cmp esi, 0x14
jb 0x14012c969
jmp 0x14012ca52
test ebx, ebx
js 0x14012ca52
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
mov rsi, r15
cmp dword [rsi + 0x50], ebx
je 0x14012cad7
mov eax, dword [rsi]
add rsi, rax
test rax, rax
cmove rsi, rax
test rsi, rsi
jne 0x14012c9cc
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012caa3
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x1c0]
mov rcx, rdi
mov r8d, 0x6c
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0x1c8]
lea rdx, str.process
call fcn.140002b70
mov rcx, rax
mov edx, ebx
call fcn.140016d40
lea rdx, str._not_found
mov rcx, rax
call fcn.140002b70
mov rcx, rdi
call fcn.14003c960
jmp 0x14012caa3
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012caa3
mov dword [rsp + 0x20], ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x1c0]
mov rcx, rdi
mov r8d, 0x5a
mov r9d, 2
call fcn.1400c0d30
lea rcx, [rsp + 0x1c8]
lea rdx, str.NtQuerySystemInformation
call fcn.140002b70
mov rcx, rdi
call fcn.1400c0d60
mov rcx, r15
call fcn.14014a880
mov rcx, qword [rsp + 0x6d8]
xor rcx, rsp
call fcn.14014ac50
movaps xmm6, xmmword [rsp + 0x6e0]
add rsp, 0x6f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rsi, rsi
je 0x14012caa3
cmp dword [rsi + 4], 0
je 0x14012caa3
lea r14, [rsp + 0x48]
lea rax, [r12 + 0x98]
mov qword [rsp + 0x30], rax
lea rax, [r12 + 0x140]
mov qword [rsp + 0x38], rax
lea rbp, [rsi + 0x128]
lea rcx, [rsp + 0x1c0]
xorps xmm6, xmm6
xor edi, edi
mov r8d, 0x504
xor edx, edx
call fcn.14016ed50
mov rax, qword [rbp + 8]
mov qword [rsp + 0x690], rax
mov dword [rsp + 0x40], 0x30
movups xmmword [r14], xmm6
mov dword [r14 + 0x10], 0
movups xmmword [r14 + 0x18], xmm6
lea rcx, [rsp + 0x78]
mov edx, 0x4a
lea r8, [rsp + 0x40]
mov r9, rbp
call fcn.1400c0c90
test eax, eax
js 0x14012cc83
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x14012d006
movzx ebx, byte [r12 + 0x170]
mov rax, qword [rsp + 0x690]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x14012ccdf
mov dword [rsp + 0x6b8], 0
lea rcx, [rsp + 0x1c0]
call fcn.14014cac0
mov dword [rsp + 0x6bc], 0x20
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x6c0], eax
mov qword [rsp + 0x20], 0
mov rcx, r13
xor edx, edx
lea r8, [rsp + 0x78]
mov r9d, 0x30
call fcn.1400c09c0
test eax, eax
js 0x14012cd8e
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x698], rdx
mov qword [rsp + 0x6a0], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
call fcn.140119e90
test al, al
je 0x14012cf5e
cmp byte [rsp + 0x2f], 0
je 0x14012cebe
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x698], rdx
mov qword [rsp + 0x6a0], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0xa8]
call fcn.140119e90
mov r14d, dword [rsp + 0xac]
mov ebx, dword [rsp + 0xb0]
test al, al
mov eax, 0
cmove r14, rax
cmove rbx, rax
jmp 0x14012cec8
mov ebx, eax
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012d006
mov dword [rsp + 0x20], ebx
lea rbx, [rsp + 0xa8]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x7b
mov r9d, 2
call fcn.1400c0d30
lea rcx, [rsp + 0xb0]
lea rdx, str.NtOpenThread
call fcn.140002b70
mov rcx, rbx
call fcn.1400c0d60
jmp 0x14012d006
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14012cdea
sub eax, ebx
mov dword [rsp + 0x6b8], eax
mov r8d, 0x4d0
lea rbx, [rsp + 0x1c0]
mov rcx, rbx
xor edx, edx
call fcn.14016ed50
cmp byte [rsp + 0x2f], 0
je 0x14012ce3c
mov dword [rsp + 0x1c0], 0x10001f
mov rcx, r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x14012ce5b
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012cffe
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xa8]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xa8
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0xb8]
lea rdx, [0x1401bb5c9]
jmp 0x14012cff1
mov ebx, eax
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012cffe
mov dword [rsp + 0x20], ebx
lea rbx, [rsp + 0xa8]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x155
mov r9d, 2
call fcn.1400c0d30
lea rcx, [rsp + 0xb0]
lea rdx, str.NtQueryInformationThread
call fcn.140002b70
mov rcx, rbx
call fcn.1400c0d60
jmp 0x14012cffe
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012cffe
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xa8]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x97
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0xb8]
lea rdx, [0x1401bb5bb]
jmp 0x14012cff1
mov dword [rsp + 0x1f0], 0x10001f
mov rcx, r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14012cfa8
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14012cbb0
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012cffe
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xa8]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb6
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0xb8]
lea rdx, [0x1401bb5f0]
jmp 0x14012cff1
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x6a8], rbx
mov rax, r14
sub rax, rbx
jae 0x14012cf51
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012cf4f
lea rax, [rsp + 0xa8]
mov rcx, rax
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x175
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0xb0]
lea rdx, str.invalid_stack_range:
call fcn.140002b70
mov rcx, rax
mov rdx, r14
call fcn.140011850
mov rcx, rax
lea rdx, [0x1401bb596]
call fcn.140002b70
mov rcx, rax
mov rdx, rbx
call fcn.140011850
lea rcx, [rsp + 0xa8]
call fcn.14003c960
xor eax, eax
lea r14, [rsp + 0x48]
mov qword [rsp + 0x6b0], rax
mov rcx, qword [r12 + 0x148]
mov rdx, qword [r12 + 0x150]
cmp rdx, rcx
je 0x14012cf94
mov r8d, 0x510
lea rdx, [rsp + 0x1c0]
call fcn.14016e8e0
add qword [r12 + 0x148], 0x510
jmp 0x14012cffe
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x1c0]
call fcn.14012d160
jmp 0x14012cffe
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14012cffe
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xa8]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb0
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0xb8]
lea rdx, [0x1401bb5df]
call fcn.140002b70
mov rcx, rbx
call fcn.14003d430
mov rcx, r13
call fcn.1400bcf20
inc rdi
mov eax, dword [rsi + 4]
add rbp, 0x50
cmp rdi, rax
lea rcx, [rsp + 0x1c0]
jb 0x14012cb15
jmp 0x14012caa3