Function at 0x1400c9254
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x758
movaps xmmword [rsp + 0x740], xmm7
movaps xmmword [rsp + 0x730], xmm6
mov r13d, edx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x728], rax
mov qword [rsp + 0x30], rcx
mov r14, qword [rcx]
lea r15, [rsp + 0xd0]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.140134a0c
mov r12, rax
mov ebp, 0x4000
mov esi, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, r12
mov r8d, ebp
mov r9, r15
call fcn.1400c29d6
mov edi, eax
cmp eax, 0xc0000023
je 0x1400c92e7
cmp edi, 0xc0000004
jne 0x1400c93a3
mov ebp, dword [rsp + 0xd0]
add ebp, ebx
test r12, r12
je 0x1400c92fd
mov rcx, r12
call fcn.140134a14
mov ecx, ebp
call fcn.140134a0c
mov r12, rax
dec esi
jne 0x1400c92bf
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c9362
mov dword [rsp + 0x20], edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x210]
mov rcx, rdi
mov r8d, 0x59
mov r9d, 2
call fcn.1400c2d34
lea rcx, [rsp + 0x220]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.14001df3c
mov rcx, rdi
call fcn.1400c2d60
test r12, r12
je 0x1400c936f
mov rcx, r12
call fcn.140134a14
mov rcx, qword [rsp + 0x728]
xor rcx, rsp
call fcn.140135280
movaps xmm6, xmmword [rsp + 0x730]
movaps xmm7, xmmword [rsp + 0x740]
add rsp, 0x758
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test edi, edi
js 0x1400c930b
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov rsi, r12
mov r14, qword [rsp + 0x30]
cmp dword [rsi + 0x50], edi
je 0x1400c9453
mov eax, dword [rsi]
add rsi, rax
test rax, rax
cmove rsi, rax
test rsi, rsi
jne 0x1400c93be
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c9362
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rbx, [rsp + 0x210]
mov rcx, rbx
mov r8d, 0x6b
mov r9d, 2
call fcn.14006c8f0
lea rcx, [rsp + 0x220]
lea rdx, str.process
mov r8d, 8
call fcn.14001df3c
mov rcx, rax
mov edx, edi
call fcn.14001a678
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.14001df3c
mov rcx, rbx
call fcn.14006cd80
jmp 0x1400c9362
test rsi, rsi
je 0x1400c9362
cmp dword [rsi + 4], 0
je 0x1400c9362
lea rax, [r14 + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [r14 + 0x130]
mov qword [rsp + 0x40], rax
lea rax, [r14 + 0x148]
mov qword [rsp + 0x50], rax
movaps xmm6, xmmword [0x140173f60]
xorps xmm7, xmm7
lea rdi, [rsp + 0x210]
xor ebp, ebp
mov byte [rsp + 0x2f], r13b
lea rax, [rsp + 0x710]
movaps xmmword [rax], xmm6
mov r8d, 0x504
mov r15, rdi
mov rcx, rdi
xor edx, edx
call fcn.140138090
lea rbx, [rbp*4]
add rbx, rbp
shl rbx, 4
lea r9, [rsi + rbx]
add r9, 0x128
mov rax, qword [r9 + 8]
mov qword [rsp + 0x6e0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x60], 0x30
lea rax, [rsp + 0x68]
movups xmmword [rax], xmm7
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xa0]
mov edx, 0x4a
lea r8, [rsp + 0x60]
call fcn.1400c293c
test eax, eax
js 0x1400c96b5
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
mov rdi, r15
je 0x1400c9cbd
mov r14b, byte [r14 + 0x160]
mov rax, qword [rsp + 0x6e0]
mov rdx, qword gs:[0x30]
cmp rax, qword [rdx + 0x48]
mov qword [rsp + 0x38], rcx
jne 0x1400c9716
mov dword [rsp + 0x708], 0
mov rcx, rdi
call fcn.140135050
mov r14, qword [rsp + 0x30]
mov dword [rsp + 0x70c], 0x20
mov eax, dword [rsi + rbx + 0x138]
mov dword [rsp + 0x710], eax
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x38]
xor edx, edx
lea r8, [rsp + 0xa0]
mov r9d, 0x30
call fcn.1400c2a6e
test eax, eax
js 0x1400c97c7
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 + 0x6e8], rdx
mov qword [rsp + 0x6f0], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x60]
call fcn.1400c9e34
test al, al
je 0x1400c9a72
test r13b, r13b
je 0x1400c99ca
movups xmmword [rsp + 0xdc], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x6e8], rdx
mov qword [rsp + 0x6f0], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0xd0]
call fcn.1400c9e34
mov edi, dword [rsp + 0xd4]
mov ebx, dword [rsp + 0xd8]
test al, al
mov eax, 0
cmove rdi, rax
cmove rbx, rax
jmp 0x1400c99d4
mov edi, eax
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c970e
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x7a
mov r9d, 2
call fcn.1400c2d34
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rcx, [rsp + 0xe0]
lea rdx, str.NtOpenThread
call fcn.14001df3c
mov rcx, rdi
call fcn.1400c2d60
mov rdi, r15
jmp 0x1400c9cbd
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1400c9829
mov edi, eax
test eax, eax
jne 0x1400c9889
test r14b, r14b
je 0x1400c9889
mov ecx, 1
call fcn.14006c840
xor edi, edi
test al, al
je 0x1400c988f
lea r14, [rsp + 0xd0]
mov rcx, r14
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, reloc.SHELL32.dll_ILFree
mov r9d, 1
call fcn.14006c8f0
mov r8d, 7
lea rcx, [rsp + 0xe0]
lea rdx, str.Thread
call fcn.14001df3c
mov rdx, qword [rsp + 0x6e0]
mov rcx, rax
call fcn.14001aad0
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.14001df3c
xor edi, edi
mov rcx, rax
xor edx, edx
call fcn.14001a678
mov rcx, r14
call fcn.14006cd80
jmp 0x1400c988f
mov edi, eax
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c9aa1
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x15a
mov r9d, 2
call fcn.1400c2d34
mov r8d, 0x18
lea rcx, [rsp + 0xe0]
lea rdx, str.NtQueryInformationThread
call fcn.14001df3c
mov rcx, rdi
call fcn.1400c2d60
jmp 0x1400c9aa1
mov ecx, 2
call fcn.14006c840
test al, al
mov r14, qword [rsp + 0x30]
mov rdi, r15
je 0x1400c9cb3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xd0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, reloc.OLEAUT32.dll_DllRegisterServer
mov r9d, 2
call fcn.14006d900
mov r8d, 0xd
lea rcx, [rsp + 0xe0]
lea rdx, [0x140185d33]
jmp 0x1400c9c01
movzx eax, r14b
sub edi, eax
mov dword [rsp + 0x708], edi
mov r8d, 0x4d0
mov rdi, r15
mov rcx, r15
xor edx, edx
call fcn.140138090
test r13b, r13b
mov r14, qword [rsp + 0x30]
je 0x1400c9938
mov dword [rsp + 0x210], 0x10001f
mov r13, qword [rsp + 0x38]
mov rcx, r13
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x1400c995c
mov ecx, 2
call fcn.14006c840
test al, al
mov r13b, byte [rsp + 0x2f]
je 0x1400c9cb3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xd0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xad
mov r9d, 2
call fcn.14006d900
mov r8d, 0x15
lea rcx, [rsp + 0xe0]
lea rdx, [0x140185d7e]
jmp 0x1400c9c01
mov dword [rsp + 0x240], 0x10001f
mov r13, qword [rsp + 0x38]
mov rcx, r13
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400c9ba9
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
mov r13b, byte [rsp + 0x2f]
jne 0x1400c9590
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c9cb3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xd0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xbb
mov r9d, 2
call fcn.14006d900
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rcx, [rsp + 0xe0]
lea rdx, [0x140185da5]
jmp 0x1400c9c01
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x6f8], rbx
mov rax, rdi
sub rax, rbx
jae 0x1400c9a6a
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c9a68
lea rcx, [rsp + 0xd0]
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x17a
mov r9d, 2
call fcn.14006c8f0
mov r8d, 0x15
lea rcx, [rsp + 0xe0]
lea rdx, str.invalid_stack_range:
call fcn.14001df3c
mov rcx, rax
mov rdx, rdi
call fcn.14001aad0
mov r8d, 3
mov rcx, rax
lea rdx, [0x140185cf5]
call fcn.14001df3c
mov rcx, rax
mov rdx, rbx
call fcn.14001aad0
lea rcx, [rsp + 0xd0]
call fcn.14006cd80
xor eax, eax
mov qword [rsp + 0x700], rax
mov rdi, qword [r14 + 0x138]
cmp rdi, qword [r14 + 0x140]
je 0x1400c9aa9
mov r8d, 0x510
mov rcx, rdi
mov rdx, r15
call fcn.1401379e0
add rdi, 0x510
mov qword [r14 + 0x138], rdi
mov rdi, r15
jmp 0x1400c9cb3
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xf0], rax
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [rsp + 0x40]
sub rdi, qword [rax]
sar rdi, 4
movabs rax, 0x2c3f35ba781948b1
imul rdi, rax
lea rax, [rdi + 1]
movabs rcx, 0x329161f9add3c0
cmp rax, rcx
mov rbx, 0xfffffffffffffaf0
ja 0x1400c9cd1
lea rdx, [rdi + rdi]
cmp rdx, rax
cmovb rdx, rax
movabs rax, 0x1948b0fcd6e9e0
cmp rdi, rax
cmovae rdx, rcx
lea rcx, [rsp + 0xd0]
mov r8, rdi
mov r9, qword [rsp + 0x50]
call fcn.1400c9dbe
mov rdi, qword [rsp + 0xe0]
mov r8d, 0x510
mov rcx, rdi
mov rdx, r15
call fcn.1401379e0
add rdi, 0x510
mov qword [rsp + 0x58], rdi
mov r13, qword [r14 + 0x130]
mov r14, qword [r14 + 0x138]
mov rdi, qword [rsp + 0xd8]
cmp r14, r13
je 0x1400c9c13
add r14, rbx
add rdi, rbx
mov r8d, 0x510
mov rcx, rdi
mov rdx, r14
call fcn.1401379e0
cmp r14, r13
jne 0x1400c9b78
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x130]
mov r14, qword [rbx + 0x138]
jmp 0x1400c9c1b
mov ecx, 2
call fcn.14006c840
test al, al
mov r13b, byte [rsp + 0x2f]
je 0x1400c9cb3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xd0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb5
mov r9d, 2
call fcn.14006d900
mov r8d, 0x10
lea rcx, [rsp + 0xe0]
lea rdx, [0x140185d94]
call fcn.14001df3c
mov rcx, rbx
call fcn.14006d9f0
jmp 0x1400c9cb3
mov rcx, r14
mov rbx, qword [rsp + 0x30]
mov qword [rbx + 0x130], rdi
mov qword [rsp + 0xd8], rcx
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x138], rax
mov qword [rsp + 0xe0], r14
mov rax, qword [rbx + 0x140]
mov rdx, qword [rsp + 0xe8]
mov qword [rbx + 0x140], rdx
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xd0], rcx
mov rax, r14
sub rax, rcx
mov r13b, byte [rsp + 0x2f]
je 0x1400c9ca1
add rax, 0xfffffffffffffaf0
shr rax, 4
movabs rdx, 0xca4587e6b74f033
mul rdx
shr rdx, 2
not rdx
imul rax, rdx, 0x510
add r14, rax
mov qword [rsp + 0xe0], r14
test rcx, rcx
mov rdi, r15
je 0x1400c9cae
call fcn.1401349d4
mov r14, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140099e3e
inc rbp
mov eax, dword [rsi + 4]
cmp rbp, rax
jb 0x1400c94a3
jmp 0x1400c9362
mov rcx, qword [rsp + 0x40]
call fcn.14001ba1a
int3