Function at 0x1402ed200
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
movaps xmmword [rsp + 0x2e0], xmm7
movaps xmmword [rsp + 0x2d0], xmm6
mov r13d, edx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x38], rcx
mov r12, qword [rcx]
lea r15, [rsp + 0x108]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.1401b9d1c
mov r14, rax
mov ebp, 0x4000
mov esi, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, r14
mov r8d, ebp
mov r9, r15
call fcn.1402a7910
mov edi, eax
cmp eax, 0xc0000023
je 0x1402ed28f
cmp edi, 0xc0000004
jne 0x1402ed306
mov ebp, dword [rsp + 0x108]
add ebp, ebx
test r14, r14
je 0x1402ed2a5
mov rcx, r14
call fcn.1401b9d24
mov ecx, ebp
call fcn.1401b9d1c
mov r14, rax
dec esi
jne 0x1402ed26b
mov ecx, 2
call fcn.140160660
test al, al
jne 0x1402ed95b
test r14, r14
je 0x1402ed2d2
mov rcx, r14
call fcn.1401b9d24
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.1401bb0d0
movaps xmm6, xmmword [rsp + 0x2d0]
movaps xmm7, xmmword [rsp + 0x2e0]
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test edi, edi
js 0x1402ed2b3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov rbx, r14
mov rsi, qword [rsp + 0x38]
cmp dword [rbx + 0x50], edi
je 0x1402ed3a9
mov eax, dword [rbx]
test rax, rax
je 0x1402ed332
add rbx, rax
jne 0x1402ed31d
mov ecx, 2
call fcn.140160660
test al, al
je 0x1402ed2c5
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov r8d, 0x70
mov r9d, 2
call fcn.140076020
lea rcx, [rsp + 0x190]
lea rdx, str.process
mov r8d, 8
call fcn.1401f9cc0
mov rcx, rax
mov edx, edi
call fcn.14003a1d0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rbx
call fcn.140076510
jmp 0x1402ed2c5
test rbx, rbx
je 0x1402ed2c5
cmp dword [rbx + 4], 0
je 0x1402ed2c5
mov byte [rsp + 0x37], r13b
lea rdi, [rsp + 0x118]
lea rax, [rsi + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rsi + 0x148]
mov qword [rsp + 0x58], rax
lea rax, [rsi + 0x130]
mov qword [rsp + 0x50], rax
lea r13, [rbx + 0x128]
movaps xmm6, xmmword [0x14032f5c0]
xorps xmm7, xmm7
xor r15d, r15d
movups xmmword [rdi + 0x58], xmm6
movups xmmword [rdi + 0x48], xmm6
movups xmmword [rdi + 0x38], xmm6
movups xmmword [rdi + 0x28], xmm6
movups xmmword [rdi + 0x18], xmm6
movups xmmword [rdi + 8], xmm6
movups xmmword [rdi - 8], xmm6
xor eax, eax
mov qword [rsp + 0x108], rax
mov byte [rsp + 0x110], 0
mov qword [rdi + 0x10], rax
movups xmmword [rdi], xmm7
mov qword [rdi + 0x28], rax
movups xmmword [rdi + 0x18], xmm7
movups xmmword [rdi + 0x54], xmm7
movups xmmword [rdi + 0x48], xmm7
movups xmmword [rdi + 0x38], xmm7
mov rax, qword [r13 + 8]
mov qword [rsp + 0x148], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0x90], 0x30
lea rax, [rsp + 0x98]
movups xmmword [rax], xmm7
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xd0]
mov edx, 0x4a
lea r8, [rsp + 0x90]
mov r9, r13
call fcn.1402a7870
test eax, eax
js 0x1402ed567
mov r12, qword [rsp + 0xd0]
test r12, r12
je 0x1402ed51e
mov sil, byte [rsi + 0x160]
mov rax, qword [rsp + 0x148]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
je 0x1402ed5c5
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1402ed6af
mov ecx, 2
call fcn.140160660
test al, al
mov rsi, qword [rsp + 0x38]
jne 0x1402ed74e
mov rcx, r12
call fcn.1400eb500
cmp byte [rsp + 0x147], 0
jns 0x1402ed535
mov rcx, qword [rsp + 0x130]
call fcn.1401b9ce8
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x1402ed54f
mov qword [rsp + 0x120], rcx
call fcn.1401b9ce8
inc r15
mov eax, dword [rbx + 4]
add r13, 0x50
cmp r15, rax
jb 0x1402ed401
jmp 0x1402ed2c5
mov ebp, eax
mov ecx, 2
call fcn.140160660
test al, al
je 0x1402ed51e
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x7f
mov r9d, 2
call fcn.1402a7cb0
mov r8d, ntohl
lea rcx, [rsp + 0x190]
lea rdx, str.NtOpenThread
call fcn.1401f9cc0
mov rcx, rbp
call fcn.1402a7ce0
jmp 0x1402ed51e
mov dword [rsp + 0x170], 0
lea rcx, [rsp + 0x108]
call fcn.1402ec920
mov rsi, qword [rsp + 0x38]
mov dword [rsp + 0x174], 0x20
mov eax, dword [r13 + 0x10]
mov dword [rsp + 0x178], eax
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, r12
xor edx, edx
lea r8, [rsp + 0xd0]
mov r9d, 0x30
call fcn.1402a79b0
test eax, eax
js 0x1402ed7a1
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov rdx, qword [rsp + 0xd8]
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x90]
call fcn.1402cb990
test al, al
je 0x1402ed847
cmp byte [rsp + 0x37], 0
je 0x1402eda0f
jmp 0x1402ed9a9
mov ebp, eax
test sil, sil
je 0x1402ed7ba
test ebp, ebp
jne 0x1402ed7ba
mov ecx, 1
call fcn.140160660
xor ebp, ebp
test al, al
je 0x1402ed7c0
lea rsi, [rsp + 0x180]
mov rcx, rsi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa0
mov r9d, 1
call fcn.140076020
mov r8d, 7
lea rcx, [rsp + 0x190]
lea rdx, str.Thread
call fcn.1401f9cc0
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.14003a650
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1401f9cc0
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.14003a1d0
mov rcx, rsi
call fcn.140076510
jmp 0x1402ed7c0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, reloc.SHELL32.dll_ILFree
mov r9d, 2
call fcn.140224610
mov r8d, ntohl
lea rcx, [rsp + 0x190]
lea rdx, [0x14038a2e6]
call fcn.1401f9cc0
mov rcx, rbp
call fcn.140224690
jmp 0x1402ed516
mov ebp, eax
mov ecx, 2
call fcn.140160660
test al, al
je 0x1402ed516
jmp 0x1402edb44
movzx eax, sil
sub ebp, eax
mov dword [rsp + 0x170], ebp
cmp byte [rsp + 0x37], 0
mov rsi, qword [rsp + 0x38]
je 0x1402ed801
lea rcx, [rsp + 0x108]
mov rdx, r12
call fcn.1402eca90
test al, al
je 0x1402ed516
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1402ed5e2
jmp 0x1402edac3
mov ecx, 0x800
call fcn.1402f6020
test al, al
je 0x1402ed946
mov r8d, 0x800
lea rcx, [rsp + 0x108]
mov rdx, r12
call fcn.1402ecba0
jmp 0x1402ed7e3
mov qword [rsp + 0x160], rbp
mov rax, rcx
sub rax, rbp
jb 0x1402eda24
mov qword [rsp + 0x168], rax
mov eax, dword [0x1403c55f8]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402edc3c
mov rax, qword [0x1403c55f0]
test rax, rax
je 0x1402ed90d
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x88], rcx
mov rcx, r12
lea rdx, [rsp + 0x88]
call qword [0x1403de008]
test eax, eax
js 0x1402eda42
mov rbp, qword [rsp + 0x88]
mov qword [rsp + 0x78], rbp
test rbp, rbp
je 0x1402edc83
mov rcx, rbp
call fcn.1401e2874
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x78]
call fcn.14016a3b0
cmp byte [rsp + 0x147], 0
js 0x1402edb1b
mov rax, qword [rsp + 0x190]
mov qword [rdi + 0x28], rax
movups xmm0, xmmword [rsp + 0x180]
movups xmmword [rdi + 0x18], xmm0
mov rcx, rbp
call fcn.140115be0
mov rbp, qword [rsi + 0x138]
cmp rbp, qword [rsi + 0x140]
je 0x1402edb2d
mov rcx, qword [rsp + 0x58]
mov rdx, rbp
lea r8, [rsp + 0x108]
call fcn.1401435e0
add rbp, 0x78
mov qword [rsi + 0x138], rbp
jmp 0x1402ed516
lea rcx, [rsp + 0x108]
mov rdx, r12
call fcn.1402ec980
jmp 0x1402ed7e3
mov dword [rsp + 0x20], edi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.1402a7cb0
lea rcx, [rsp + 0x190]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1401f9cc0
mov rcx, rdi
call fcn.1402a7ce0
jmp 0x1402ed2c5
movups xmmword [rsp + 0x18c], xmm6
movaps xmmword [rsp + 0x180], xmm6
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x180]
call fcn.1402cb990
mov ecx, dword [rsp + 0x184]
mov ebp, dword [rsp + 0x188]
test al, al
mov eax, 0
cmove rcx, rax
cmove rbp, rax
jmp 0x1402ed82b
mov rcx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
jmp 0x1402ed82b
mov qword [rsp + 0x40], rcx
mov ecx, 2
call fcn.140160660
test al, al
jne 0x1402edb92
xor eax, eax
jmp 0x1402ed83f
mov ebp, eax
mov ecx, 1
call fcn.140160660
test al, al
je 0x1402ed90d
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x180]
mov r8d, 0x1db
mov r9d, 1
call fcn.140076020
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
lea rcx, [rsp + 0x190]
call fcn.1401f9cc0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
mov edx, ebp
call fcn.1402244c0
lea rdx, [rsp + 0x60]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
jns 0x1402edc0b
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
jmp 0x1402edc0f
mov ecx, 2
call fcn.140160660
test al, al
je 0x1402ed516
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbp, [rsp + 0x180]
mov rcx, rbp
mov r8d, 0xbf
mov r9d, 2
call fcn.140224610
lea rdx, [0x14038a331]
mov r8d, ntohl
lea rcx, [rsp + 0x190]
jmp 0x1402ed78f
mov rcx, qword [rsp + 0x130]
call fcn.1401b9ce8
jmp 0x1402ed8ed
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x108]
call fcn.1402eddf0
jmp 0x1402ed516
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1aa
mov r9d, 2
call fcn.1402a7cb0
mov r8d, 0x18
lea rcx, [rsp + 0x190]
lea rdx, str.NtQueryInformationThread
call fcn.1401f9cc0
mov rcx, rbp
call fcn.1402a7ce0
jmp 0x1402ed516
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x180]
mov r8d, 0x1ca
mov r9d, 2
call fcn.140076020
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x190]
call fcn.1401f9cc0
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.14003a650
lea rdx, [0x1403819c2]
mov r8d, 3
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rax
mov rdx, rbp
call fcn.14003a650
lea rcx, [rsp + 0x180]
call fcn.140076510
jmp 0x1402eda3b
and r8d, 0x7f
mov rcx, qword [rsp + 0x40]
call fcn.1401f9cc0
cmp byte [rsp + 0x77], 0
jns 0x1402edc2a
mov rcx, qword [rsp + 0x60]
call fcn.1401b9ce8
lea rcx, [rsp + 0x180]
call fcn.140076510
jmp 0x1402ed90d
lea rcx, [0x1403c55f8]
call fcn.1401b9e00
cmp dword [0x1403c55f8], 0xffffffff
jne 0x1402ed86c
lea rcx, [0x140333e72]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400ebdd0
mov qword [0x1403c55f0], rax
lea rcx, [0x1403c55f8]
call fcn.1401b9e98
jmp 0x1402ed86c
mov qword [rsp + 0x80], 0
int3