Function at 0x140111940
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 r12d, edx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x6d8], rax
mov qword [rsp + 0x38], rcx
mov r14, qword [rcx]
mov ecx, 0x4000
call fcn.14011a3b0
mov r13, rax
mov ebp, 0x4000
xor esi, esi
lea rdi, [rsp + 0xb0]
mov r15d, 0x1000
mov ecx, 5
mov rdx, r13
mov r8d, ebp
mov r9, rdi
call fcn.1400a1c40
mov ebx, eax
cmp eax, 0xc0000023
je 0x1401119be
cmp ebx, 0xc0000004
jne 0x1401119e7
mov ebp, dword [rsp + 0xb0]
add ebp, r15d
mov rcx, r13
call fcn.14011a3a0
mov rcx, rbp
call fcn.14011a3b0
mov r13, rax
inc esi
cmp esi, 0x14
jb 0x14011199a
jmp 0x140111a88
test ebx, ebx
js 0x140111a88
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
mov rsi, r13
mov r14, qword [rsp + 0x38]
cmp dword [rsi + 0x50], ebx
je 0x140111b0d
mov eax, dword [rsi]
add rsi, rax
test rax, rax
cmove rsi, rax
test rsi, rsi
jne 0x140111a02
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111ad9
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x1c0]
mov r8d, 0x6c
mov r9d, 2
mov rcx, rdi
call fcn.14002c3a0
lea rcx, [rsp + 0x1c8]
lea rdx, str.process
call fcn.140002bb0
mov rcx, rax
mov edx, ebx
call fcn.1400126b0
lea rdx, str._not_found
mov rcx, rax
call fcn.140002bb0
mov rcx, rdi
call fcn.14002c830
jmp 0x140111ad9
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111ad9
mov dword [rsp + 0x20], ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x1c0]
mov r8d, 0x5a
mov r9d, 2
mov rcx, rdi
call fcn.1400a2050
lea rcx, [rsp + 0x1c8]
lea rdx, str.NtQuerySystemInformation
call fcn.140002bb0
mov rcx, rdi
call fcn.1400a2080
mov rcx, r13
call fcn.14011a3a0
mov rcx, qword [rsp + 0x6d8]
xor rcx, rsp
call fcn.14011a370
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 0x140111ad9
cmp dword [rsi + 4], 0
je 0x140111ad9
mov byte [rsp + 0x37], r12b
lea rax, [r14 + 0x98]
mov qword [rsp + 0x40], rax
lea rbp, [rsi + 0x128]
lea rcx, [rsp + 0x1c0]
xorps xmm6, xmm6
xor r12d, r12d
xor edx, edx
mov r8d, 0x504
mov rdi, rcx
call fcn.14011d800
mov rax, qword [rbp + 8]
mov qword [rsp + 0x690], rax
mov dword [rsp + 0x48], 0x30
lea rax, [rsp + 0x50]
movups xmmword [rax], xmm6
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm6
mov edx, 0x4a
lea rcx, [rsp + 0x80]
lea r8, [rsp + 0x48]
mov r9, rbp
call fcn.1400a1fb0
mov ebx, eax
test eax, eax
js 0x140111cb7
mov r15, qword [rsp + 0x80]
test r15, r15
je 0x140111ff6
movzx ebx, byte [r14 + 0xc8]
mov rax, qword [rsp + 0x690]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x140111d11
mov dword [rsp + 0x6b8], 0
mov rcx, rdi
call fcn.14011a000
mov dword [rsp + 0x6bc], 0x20
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x6c0], eax
mov qword [rsp + 0x20], 0
xor edx, edx
mov r9d, 0x30
mov rcx, r15
lea r8, [rsp + 0x80]
call fcn.1400a1ce0
mov ebx, eax
test eax, eax
js 0x140111dbb
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x698], rdx
mov qword [rsp + 0x6a0], 0x1788
mov r8d, 0x38
mov rcx, r14
lea r9, [rsp + 0x48]
call fcn.140111490
test al, al
mov rdx, rdi
je 0x140111f8c
cmp byte [rsp + 0x37], 0
je 0x140111ee9
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x698], rdx
mov qword [rsp + 0x6a0], 0xf98
mov r8d, 0x1c
mov rcx, r14
lea r9, [rsp + 0xb0]
call fcn.140111490
mov r14d, dword [rsp + 0xb4]
mov ebx, dword [rsp + 0xb8]
test al, al
mov eax, 0
cmove r14, rax
cmove rbx, rax
jmp 0x140111ef3
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111ff6
mov dword [rsp + 0x20], ebx
mov r8d, 0x7b
mov r9d, 2
lea rbx, [rsp + 0xb0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.1400a2050
lea rcx, [rsp + 0xb8]
lea rdx, str.NtOpenThread
call fcn.140002bb0
mov rcx, rbx
call fcn.1400a2080
jmp 0x140111ff6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x140111e15
sub eax, ebx
mov dword [rsp + 0x6b8], eax
xor edx, edx
mov r8d, 0x4d0
mov rbx, rdi
mov rcx, rdi
call fcn.14011d800
cmp byte [rsp + 0x37], 0
je 0x140111e67
mov dword [rsp + 0x1c0], 0x10001f
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x140111e86
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111fee
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0xa8
mov r9d, 2
lea rbx, [rsp + 0xb0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.14002d860
lea rcx, [rsp + 0xc0]
lea rdx, [0x140171235]
jmp 0x140111fe1
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111fee
mov dword [rsp + 0x20], ebx
mov r8d, 0x188
mov r9d, 2
lea rbx, [rsp + 0xb0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.1400a2050
lea rcx, [rsp + 0xb8]
lea rdx, str.NtQueryInformationThread
call fcn.140002bb0
mov rcx, rbx
call fcn.1400a2080
jmp 0x140111fee
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111fee
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0x97
mov r9d, 2
lea rbx, [rsp + 0xb0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.14002d860
lea rcx, [rsp + 0xc0]
lea rdx, [0x140171227]
jmp 0x140111fe1
mov dword [rsp + 0x1f0], 0x10001f
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140111f98
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140111be0
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111fee
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0xb6
mov r9d, 2
lea rbx, [rsp + 0xb0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.14002d860
lea rcx, [rsp + 0xc0]
lea rdx, [0x14017125c]
jmp 0x140111fe1
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x6a8], rbx
mov rax, r14
sub rax, rbx
jae 0x140111f7c
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111f7a
mov r8d, 0x1a8
mov r9d, 2
lea rax, [rsp + 0xb0]
mov rcx, rax
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.14002c3a0
lea rcx, [rsp + 0xb8]
lea rdx, str.invalid_stack_range:
call fcn.140002bb0
mov rcx, rax
mov rdx, r14
call fcn.14002d2e0
mov rcx, rax
lea rdx, [0x1401707a0]
call fcn.140002bb0
mov rcx, rax
mov rdx, rbx
call fcn.14002d2e0
lea rcx, [rsp + 0xb0]
call fcn.14002c830
xor eax, eax
mov r14, qword [rsp + 0x38]
mov rdx, rdi
mov qword [rsp + 0x6b0], rax
mov rcx, qword [rsp + 0x40]
call fcn.1401121a0
jmp 0x140111fee
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140111fee
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0xb0
mov r9d, 2
lea rbx, [rsp + 0xb0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.14002d860
lea rcx, [rsp + 0xc0]
lea rdx, [0x14017124b]
call fcn.140002bb0
mov rcx, rbx
call fcn.14002d9a0
mov rcx, r15
call fcn.14009e520
inc r12
mov eax, dword [rsi + 4]
add rbp, 0x50
cmp r12, rax
mov rcx, rdi
jb 0x140111b3e
jmp 0x140111ad9