Function at 0x1400f7452
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x778
movaps xmmword [rsp + 0x760], xmm7
movaps xmmword [rsp + 0x750], xmm6
mov byte [rsp + 0x37], dl
mov r15, rcx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x748], rax
mov r14, qword [rcx]
lea r12, [rsp + 0xe0]
mov dword [r12], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.14012d33c
mov r13, rax
mov ebp, 0x4000
mov esi, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, r13
mov r8d, ebp
mov r9, r12
call fcn.1400debc8
mov edi, eax
cmp eax, 0xc0000023
je 0x1400f74e1
cmp edi, 0xc0000004
jne 0x1400f7506
mov ebp, dword [rsp + 0xe0]
add ebp, ebx
mov rcx, r13
call fcn.14012d344
mov rcx, rbp
call fcn.14012d33c
mov r13, rax
dec esi
jne 0x1400f74bd
jmp 0x1400f75ae
test edi, edi
js 0x1400f75ae
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov rsi, r13
cmp dword [rsi + 0x50], ebp
je 0x1400f7641
mov eax, dword [rsi]
add rsi, rax
test rax, rax
cmove rsi, rax
test rsi, rsi
jne 0x1400f751c
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400f7605
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x230]
mov rcx, rdi
mov r8d, 0x6c
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x240]
lea rdx, str.process
mov r8d, 8
call fcn.140001e21
mov rcx, rax
mov edx, ebp
call fcn.14000861c
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.140001e21
mov rcx, rdi
call fcn.14002cae0
jmp 0x1400f7605
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400f7605
mov dword [rsp + 0x20], edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x230]
mov rcx, rdi
mov r8d, 0x5a
mov r9d, 2
call fcn.1400def8c
lea rcx, [rsp + 0x240]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.140001e21
mov rcx, rdi
call fcn.1400defb8
mov rcx, r13
call fcn.14012d344
mov rcx, qword [rsp + 0x748]
xor rcx, rsp
call fcn.14012d670
movaps xmm6, xmmword [rsp + 0x750]
movaps xmm7, xmmword [rsp + 0x760]
add rsp, 0x778
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rsi, rsi
je 0x1400f7605
cmp dword [rsi + 4], 0
je 0x1400f7605
lea rax, [r15 + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [r15 + 0x130]
mov qword [rsp + 0x48], rax
lea r12, [rsi + 0x128]
lea rbx, [rsp + 0x230]
movaps xmm6, xmmword [section..rdata]
xorps xmm7, xmm7
xor r14d, r14d
mov qword [rsp + 0x38], r15
mov r8d, 0x510
mov rcx, rbx
mov dl, 0xaa
call fcn.140130ac0
mov r8d, 0x504
mov rcx, rbx
xor edx, edx
call fcn.140130ac0
mov rax, qword [r12 + 8]
mov qword [rsp + 0x700], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov dword [rsp + 0x50], 0x30
lea rax, [rsp + 0x58]
movups xmmword [rax], xmm7
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0x90]
mov edx, 0x4a
lea r8, [rsp + 0x50]
mov r9, r12
call fcn.1400deef6
test eax, eax
js 0x1400f7721
mov rbp, qword [rsp + 0x90]
jmp 0x1400f777c
mov edi, eax
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400f777a
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0xe0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x7b
mov r9d, 2
call fcn.1400def8c
mov r8d, 0xc
lea rcx, [rsp + 0xf0]
lea rdx, str.NtOpenThread
call fcn.140001e21
mov rcx, rdi
call fcn.1400defb8
xor ebp, ebp
lea rax, [0x140174ee0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rbp
mov byte [rsp + 0xd0], 0
test rbp, rbp
je 0x1400f7ce5
mov rax, r15
mov r15, rbx
mov bl, byte [rax + 0x160]
mov rax, qword [rsp + 0x700]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x1400f77e7
mov dword [rsp + 0x728], 0
mov rbx, r15
mov rcx, r15
call fcn.14012edd0
mov r15, qword [rsp + 0x38]
jmp 0x1400f79c2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
test eax, eax
je 0x1400f785f
cmp edi, 0xffffffff
jne 0x1400f78ef
mov ecx, 2
call fcn.14002c580
test al, al
mov rbx, r15
mov r15, qword [rsp + 0x38]
je 0x1400f7ce5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xe0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x97
mov r9d, 2
call fcn.14002d550
mov r8d, 0xd
lea rcx, [rsp + 0xf0]
lea rdx, [0x14017baca]
jmp 0x1400f7cd8
test bl, bl
je 0x1400f78ef
mov ecx, 1
call fcn.14002c580
xor edi, edi
test al, al
je 0x1400f78f4
lea rbx, [rsp + 0xe0]
mov rcx, rbx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x9c
mov r9d, 1
call fcn.14002c620
mov r8d, 7
lea rcx, [rsp + 0xf0]
lea rdx, str.Thread
call fcn.140001e21
mov rdx, qword [rsp + 0x700]
mov rcx, rax
call fcn.140008a78
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140001e21
xor edi, edi
mov rcx, rax
xor edx, edx
call fcn.14000861c
mov rcx, rbx
call fcn.14002cae0
jmp 0x1400f78f4
movzx eax, bl
sub edi, eax
mov dword [rsp + 0x728], edi
mov r8d, 0x4d0
mov rbx, r15
mov rcx, r15
xor edx, edx
call fcn.140130ac0
cmp byte [rsp + 0x37], 0
je 0x1400f798d
mov dword [rsp + 0x230], 0x10001f
mov rcx, rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
mov r15, qword [rsp + 0x38]
jne 0x1400f79b1
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400f7ce5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xe0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xae
mov r9d, 2
call fcn.14002d550
mov r8d, 0x15
lea rcx, [rsp + 0xf0]
lea rdx, [0x14017bb15]
jmp 0x1400f7cd8
mov dword [rsp + 0x260], 0x10001f
mov rcx, rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
mov r15, qword [rsp + 0x38]
je 0x1400f7c89
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x1400f7c34
mov dword [rsp + 0x72c], 0x20
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x730], eax
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x20], 0
xor edx, edx
lea r8, [rsp + 0x90]
mov r9d, 0x30
call fcn.1400dec59
test eax, eax
js 0x1400f7ae4
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x708], rdx
mov qword [rsp + 0x710], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
call fcn.1400b7708
test al, al
je 0x1400f7bee
cmp byte [rsp + 0x37], 0
je 0x1400f7b46
movups xmmword [rsp + 0xec], xmm6
movaps xmmword [rsp + 0xe0], xmm6
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x708], rdx
mov qword [rsp + 0x710], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0xe0]
call fcn.1400b7708
mov edi, dword [rsp + 0xe4]
mov ebp, dword [rsp + 0xe8]
test al, al
mov eax, 0
cmove rdi, rax
cmove rbp, rax
jmp 0x1400f7b50
mov edi, eax
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400f7ce5
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0xe0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x15b
mov r9d, 2
call fcn.1400def8c
mov r8d, 0x18
lea rcx, [rsp + 0xf0]
lea rdx, str.NtQueryInformationThread
call fcn.140001e21
mov rcx, rdi
call fcn.1400defb8
jmp 0x1400f7ce5
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov qword [rsp + 0x718], rbp
mov rax, rdi
sub rax, rbp
jae 0x1400f7be6
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400f7be4
lea rcx, [rsp + 0xe0]
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x17b
mov r9d, 2
call fcn.14002c620
mov r8d, 0x15
lea rcx, [rsp + 0xf0]
lea rdx, str.invalid_stack_range:
call fcn.140001e21
mov rcx, rax
mov rdx, rdi
call fcn.140008a78
mov r8d, 3
mov rcx, rax
lea rdx, [0x14016e638]
call fcn.140001e21
mov rcx, rax
mov rdx, rbp
call fcn.140008a78
lea rcx, [rsp + 0xe0]
call fcn.14002cae0
xor eax, eax
mov qword [rsp + 0x720], rax
mov rdi, qword [r15 + 0x138]
cmp rdi, qword [r15 + 0x140]
je 0x1400f7c22
mov r8d, 0x510
mov rcx, rdi
mov rdx, rbx
call fcn.1401306b0
add rdi, 0x510
mov qword [r15 + 0x138], rdi
jmp 0x1400f7ce5
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call fcn.1400f7df0
jmp 0x1400f7ce5
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400f7ce5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xe0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xbc
mov r9d, 2
call fcn.14002d550
mov r8d, 0xc
lea rcx, [rsp + 0xf0]
lea rdx, [0x14017bb3c]
jmp 0x1400f7cd8
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400f7ce5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xe0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb6
mov r9d, 2
call fcn.14002d550
mov r8d, 0x10
lea rcx, [rsp + 0xf0]
lea rdx, [0x14017bb2b]
call fcn.140001e21
mov rcx, rdi
call fcn.14002d640
lea rcx, [rsp + 0xc0]
call fcn.1400b839e
inc r14
mov eax, dword [rsi + 4]
add r12, 0x50
cmp r14, rax
jb 0x1400f7685
jmp 0x1400f7605