Function at 0x14012d290
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 [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x6d8], rax
mov r14, qword [rcx]
mov ecx, 0x4000
call fcn.14014b220
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.1400bf9b0
mov ebx, eax
cmp eax, 0xc0000023
je 0x14012d30d
cmp ebx, 0xc0000004
jne 0x14012d336
mov ebp, dword [rsp + 0xa8]
add ebp, r13d
mov rcx, r15
call fcn.14014b210
mov rcx, rbp
call fcn.14014b220
mov r15, rax
inc esi
cmp esi, 0x14
jb 0x14012d2e9
jmp 0x14012d3d2
test ebx, ebx
js 0x14012d3d2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
mov rsi, r15
cmp dword [rsi + 0x50], ebx
je 0x14012d457
mov eax, dword [rsi]
add rsi, rax
test rax, rax
cmove rsi, rax
test rsi, rsi
jne 0x14012d34c
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d423
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.14003bf00
lea rcx, [rsp + 0x1c8]
lea rdx, str.process
call fcn.140002b70
mov rcx, rax
mov edx, ebx
call fcn.140016b00
lea rdx, str._not_found
mov rcx, rax
call fcn.140002b70
mov rcx, rdi
call fcn.14003c3a0
jmp 0x14012d423
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d423
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.1400bfdc0
lea rcx, [rsp + 0x1c8]
lea rdx, str.NtQuerySystemInformation
call fcn.140002b70
mov rcx, rdi
call fcn.1400bfdf0
mov rcx, r15
call fcn.14014b210
mov rcx, qword [rsp + 0x6d8]
xor rcx, rsp
call fcn.14014b5e0
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 0x14012d423
cmp dword [rsi + 4], 0
je 0x14012d423
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.14016f6e0
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.1400bfd20
test eax, eax
js 0x14012d603
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x14012d986
movzx ebx, byte [r12 + 0x170]
mov rax, qword [rsp + 0x690]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x14012d65f
mov dword [rsp + 0x6b8], 0
lea rcx, [rsp + 0x1c0]
call fcn.14014d450
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.1400bfa50
test eax, eax
js 0x14012d70e
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.14011a700
test al, al
je 0x14012d8de
cmp byte [rsp + 0x2f], 0
je 0x14012d83e
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.14011a700
mov r14d, dword [rsp + 0xac]
mov ebx, dword [rsp + 0xb0]
test al, al
mov eax, 0
cmove r14, rax
cmove rbx, rax
jmp 0x14012d848
mov ebx, eax
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d986
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.1400bfdc0
lea rcx, [rsp + 0xb0]
lea rdx, str.NtOpenThread
call fcn.140002b70
mov rcx, rbx
call fcn.1400bfdf0
jmp 0x14012d986
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14012d76a
sub eax, ebx
mov dword [rsp + 0x6b8], eax
mov r8d, 0x4d0
lea rbx, [rsp + 0x1c0]
mov rcx, rbx
xor edx, edx
call fcn.14016f6e0
cmp byte [rsp + 0x2f], 0
je 0x14012d7bc
mov dword [rsp + 0x1c0], 0x10001f
mov rcx, r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x14012d7db
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d97e
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.14003cd30
lea rcx, [rsp + 0xb8]
lea rdx, [0x1401bbf79]
jmp 0x14012d971
mov ebx, eax
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d97e
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.1400bfdc0
lea rcx, [rsp + 0xb0]
lea rdx, str.NtQueryInformationThread
call fcn.140002b70
mov rcx, rbx
call fcn.1400bfdf0
jmp 0x14012d97e
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d97e
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.14003cd30
lea rcx, [rsp + 0xb8]
lea rdx, [0x1401bbf6b]
jmp 0x14012d971
mov dword [rsp + 0x1f0], 0x10001f
mov rcx, r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14012d928
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14012d530
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d97e
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.14003cd30
lea rcx, [rsp + 0xb8]
lea rdx, [0x1401bbfa0]
jmp 0x14012d971
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x6a8], rbx
mov rax, r14
sub rax, rbx
jae 0x14012d8d1
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d8cf
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.14003bf00
lea rcx, [rsp + 0xb0]
lea rdx, str.invalid_stack_range:
call fcn.140002b70
mov rcx, rax
mov rdx, r14
call fcn.140011870
mov rcx, rax
lea rdx, [0x1401bbf46]
call fcn.140002b70
mov rcx, rax
mov rdx, rbx
call fcn.140011870
lea rcx, [rsp + 0xa8]
call fcn.14003c3a0
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 0x14012d914
mov r8d, 0x510
lea rdx, [rsp + 0x1c0]
call fcn.14016f270
add qword [r12 + 0x148], 0x510
jmp 0x14012d97e
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x1c0]
call fcn.14012dae0
jmp 0x14012d97e
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14012d97e
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.14003cd30
lea rcx, [rsp + 0xb8]
lea rdx, [0x1401bbf8f]
call fcn.140002b70
mov rcx, rbx
call fcn.14003ce70
mov rcx, r13
call fcn.1400bbfa0
inc rdi
mov eax, dword [rsi + 4]
add rbp, 0x50
cmp rdi, rax
lea rcx, [rsp + 0x1c0]
jb 0x14012d495
jmp 0x14012d423