Function at 0x1400be330
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 byte [rsp + 0x37], dl
mov r14, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x728], rax
mov r12, qword [rcx]
lea r13, [rsp + 0xd0]
mov dword [r13], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.14011dd70
mov r15, rax
mov ebp, 0x4000
mov esi, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, r15
mov r8d, ebp
mov r9, r13
call fcn.1401aa540
mov edi, eax
cmp eax, 0xc0000023
je 0x1400be3bf
cmp edi, 0xc0000004
jne 0x1400be436
mov ebp, dword [rsp + 0xd0]
add ebp, ebx
test r15, r15
je 0x1400be3d5
mov rcx, r15
call fcn.14011d788
mov ecx, ebp
call fcn.14011dd70
mov r15, rax
dec esi
jne 0x1400be39b
mov ecx, 2
call fcn.1400d5300
test al, al
jne 0x1400becbd
test r15, r15
je 0x1400be402
mov rcx, r15
call fcn.14011d788
mov rcx, qword [rsp + 0x728]
xor rcx, rsp
call fcn.14011fe20
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 0x1400be3e3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov rbp, r15
cmp dword [rbp + 0x50], edi
je 0x1400be4da
mov eax, dword [rbp]
add rbp, rax
test rax, rax
cmove rbp, rax
test rbp, rbp
jne 0x1400be448
mov ecx, 2
call fcn.1400d5300
test al, al
je 0x1400be3f5
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.14000c5c0
lea rcx, [rsp + 0x220]
lea rdx, str.process
mov r8d, 8
call fcn.140152d20
mov rcx, rax
mov edx, edi
call fcn.140043140
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.140152d20
mov rcx, rbx
call fcn.14000c690
jmp 0x1400be3f5
test rbp, rbp
je 0x1400be3f5
cmp dword [rbp + 4], 0
je 0x1400be3f5
lea rax, [r14 + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [r14 + 0x130]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [0x1401efb80]
lea rsi, [rsp + 0x210]
xorps xmm7, xmm7
xor r12d, r12d
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x710]
movaps xmmword [rax], xmm6
lea rbx, [r12 + r12*4]
shl rbx, 4
lea rdi, [rbx + rbp]
add rdi, 0x128
mov r8d, 0x504
mov rcx, rsi
xor edx, edx
call fcn.140122050
mov rax, qword [rdi + 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 + 0x80]
movups xmmword [rax - 0x18], xmm7
mov dword [rax - 8], 0
movups xmmword [rax], xmm7
lea rcx, [rsp + 0xa0]
mov edx, 0x4a
lea r8, [rsp + 0x60]
mov r9, rdi
call fcn.1401aa4a0
test eax, eax
js 0x1400be728
mov r13, qword [rsp + 0xa0]
test r13, r13
je 0x1400bec32
mov sil, byte [r14 + 0x160]
mov rax, qword [rsp + 0x6e0]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x1400be78a
mov dword [rsp + 0x708], 0
lea rsi, [rsp + 0x210]
mov rcx, rsi
call fcn.14011fac0
mov dword [rsp + 0x70c], 0x20
mov eax, dword [rbp + 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, r13
xor edx, edx
lea r8, [rsp + 0xa0]
mov r9d, 0x30
call fcn.1401aa5e0
test eax, eax
js 0x1400be83e
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 + 0x40]
lea r9, [rsp + 0x60]
call fcn.140198f00
test al, al
je 0x1400bea60
cmp byte [rsp + 0x37], 0
je 0x1400bea2a
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 + 0x40]
lea r9, [rsp + 0xd0]
call fcn.140198f00
mov edi, dword [rsp + 0xd4]
mov ebx, dword [rsp + 0xd8]
test al, al
mov eax, 0
cmove rdi, rax
cmove rbx, rax
jmp 0x1400bea34
mov edi, eax
mov ecx, 2
call fcn.1400d5300
test al, al
je 0x1400bec32
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.1401aa8e0
mov r8d, 0xc
lea rcx, [rsp + 0xe0]
lea rdx, str.NtOpenThread
call fcn.140152d20
mov rcx, rdi
call fcn.1401aa910
jmp 0x1400bec32
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1400be8a0
mov edi, eax
test sil, sil
je 0x1400be901
test edi, edi
jne 0x1400be901
mov ecx, 1
call fcn.1400d5300
xor edi, edi
test al, al
je 0x1400be907
lea rsi, [rsp + 0xd0]
mov rcx, rsi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x9b
mov r9d, 1
call fcn.14000c5c0
mov r8d, 7
lea rcx, [rsp + 0xe0]
lea rdx, str.Thread
call fcn.140152d20
mov rdx, qword [rsp + 0x6e0]
mov rcx, rax
call fcn.14009c220
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140152d20
xor edi, edi
mov rcx, rax
xor edx, edx
call fcn.140043140
mov rcx, rsi
call fcn.14000c690
jmp 0x1400be907
mov edi, eax
mov ecx, 2
call fcn.1400d5300
test al, al
je 0x1400bec2a
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.1401aa8e0
mov r8d, 0x18
lea rcx, [rsp + 0xe0]
lea rdx, str.NtQueryInformationThread
call fcn.140152d20
mov rcx, rdi
call fcn.1401aa910
jmp 0x1400bec2a
mov ecx, 2
call fcn.1400d5300
test al, al
lea rsi, [rsp + 0x210]
je 0x1400bec2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x96
mov r9d, 2
call fcn.14016e140
mov r8d, 0xd
lea rcx, [rsp + 0xe0]
lea rdx, [0x140207317]
jmp 0x1400beb63
movzx eax, sil
sub edi, eax
mov dword [rsp + 0x708], edi
mov r8d, 0x4d0
lea rsi, [rsp + 0x210]
mov rcx, rsi
xor edx, edx
call fcn.140122050
cmp byte [rsp + 0x37], 0
je 0x1400be9a1
mov dword [rsp + 0x210], 0x10001f
mov rcx, r13
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x1400be9c0
mov ecx, 2
call fcn.1400d5300
test al, al
je 0x1400bec2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xad
mov r9d, 2
call fcn.14016e140
mov r8d, 0x15
lea rcx, [rsp + 0xe0]
lea rdx, [0x140207362]
jmp 0x1400beb63
mov dword [rsp + 0x240], 0x10001f
mov rcx, r13
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400beb0f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1400be603
mov ecx, 2
call fcn.1400d5300
test al, al
je 0x1400bec2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xbb
mov r9d, 2
call fcn.14016e140
mov r8d, 0xc
lea rcx, [rsp + 0xe0]
lea rdx, [0x140207389]
jmp 0x1400beb63
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x6f8], rbx
mov rax, rdi
sub rax, rbx
jae 0x1400bea58
mov ecx, 2
call fcn.1400d5300
test al, al
jne 0x1400bec46
xor eax, eax
mov qword [rsp + 0x700], rax
mov rdi, qword [r14 + 0x138]
cmp rdi, qword [r14 + 0x140]
je 0x1400bea94
mov r8d, 0x510
mov rcx, rdi
mov rdx, rsi
call fcn.140121c40
add rdi, 0x510
mov qword [r14 + 0x138], rdi
jmp 0x1400bec2a
mov rax, qword [rsp + 0x38]
sub rdi, qword [rax]
mov rax, rdi
movabs rcx, 0x6522c3f35ba78195
imul rcx
mov rdi, rdx
mov rcx, rdx
shr rcx, 0x3f
sar rdi, 9
lea rax, [rdi + rcx]
inc rax
movabs rdx, 0x329161f9add3c0
cmp rax, rdx
ja 0x1400bed0b
add rdi, rcx
lea rsi, [rdi + rdi]
cmp rsi, rax
cmovb rsi, rax
movabs rax, 0x1948b0fcd6e9e0
cmp rdi, rax
cmovae rsi, rdx
test rsi, rsi
je 0x1400beb75
cmp rsi, rdx
ja 0x1400bed15
imul rcx, rsi, 0x510
call fcn.14011d790
jmp 0x1400beb77
mov ecx, 2
call fcn.1400d5300
test al, al
je 0x1400bec2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb5
mov r9d, 2
call fcn.14016e140
mov r8d, 0x10
lea rcx, [rsp + 0xe0]
lea rdx, [0x140207378]
call fcn.140152d20
mov rcx, rdi
call fcn.14016e1c0
jmp 0x1400bec2a
xor eax, eax
imul rdi, rdi, 0x510
add rdi, rax
imul rcx, rsi, 0x510
add rcx, rax
mov qword [rsp + 0x58], rcx
mov r8d, 0x510
mov rcx, rdi
lea rdx, [rsp + 0x210]
call fcn.140121c40
mov eax, 0x510
add rax, rdi
mov rsi, qword [r14 + 0x130]
mov rbx, qword [r14 + 0x138]
cmp rbx, rsi
je 0x1400bebfb
mov qword [rsp + 0x50], rax
mov r14, 0xfffffffffffffaf0
add rbx, r14
add rdi, r14
mov r8d, 0x510
mov rcx, rdi
mov rdx, rbx
call fcn.140121c40
cmp rbx, rsi
jne 0x1400bebcd
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
mov r14, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x130], rdi
mov qword [r14 + 0x138], rax
mov rax, qword [rsp + 0x58]
mov qword [r14 + 0x140], rax
test rbx, rbx
lea rsi, [rsp + 0x210]
je 0x1400bec2a
mov rcx, rbx
call fcn.14011d780
mov rcx, r13
call fcn.14000c220
inc r12
mov eax, dword [rbp + 4]
cmp r12, rax
jb 0x1400be51f
jmp 0x1400be3f5
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.14000c5c0
mov r8d, 0x15
lea rcx, [rsp + 0xe0]
lea rdx, str.invalid_stack_range:
call fcn.140152d20
mov rcx, rax
mov rdx, rdi
call fcn.14009c220
mov r8d, 3
mov rcx, rax
lea rdx, [0x1401f53ab]
call fcn.140152d20
mov rcx, rax
mov rdx, rbx
call fcn.14009c220
lea rcx, [rsp + 0xd0]
call fcn.14000c690
jmp 0x1400bea56
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.1401aa8e0
lea rcx, [rsp + 0x220]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.140152d20
mov rcx, rdi
call fcn.1401aa910
jmp 0x1400be3f5
mov rcx, qword [rsp + 0x38]
call fcn.140152a60
call fcn.14011d580
int3