Function at 0x14008427e
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x318
movaps xmmword [rsp + 0x300], xmm7
movaps xmmword [rsp + 0x2f0], xmm6
mov byte [rsp + 0x37], dl
mov rdi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x2e8], rax
mov rsi, qword [rcx]
lea r14, [rsp + 0x108]
mov dword [r14], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.140153d54
mov r13, rax
mov r15d, 0x4000
mov ebx, 0x14
mov r12d, 0x1000
mov ecx, 5
mov rdx, r13
mov r8d, r15d
mov r9, r14
call fcn.1401a8af0
mov ebp, eax
cmp eax, 0xc0000004
jne 0x140084332
mov r15d, dword [rsp + 0x108]
add r15d, r12d
test r13, r13
je 0x14008431e
mov rcx, r13
call fcn.1401541d4
mov ecx, r15d
call fcn.140153d54
mov r13, rax
dec ebx
jne 0x1400842ea
jmp 0x140084ed6
cmp ebp, 0xc0000023
je 0x140084306
test ebp, ebp
js 0x140084ed6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, eax
mov qword [rsp + 0x40], r13
cmp dword [r13 + 0x50], esi
je 0x14008436f
mov eax, dword [r13]
test rax, rax
je 0x140084b0e
add r13, rax
jne 0x140084352
jmp 0x140084b0e
test r13, r13
je 0x1400843b6
cmp dword [r13 + 4], 0
je 0x1400843b6
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x110]
lea rax, [rdi + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rdi + 0x130]
mov qword [rsp + 0x58], rax
movaps xmm6, xmmword [0x1402fccc0]
xorps xmm7, xmm7
xor ebx, ebx
jmp 0x14008444a
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400843c5
call fcn.1401541d4
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.140156fe0
movaps xmm6, xmmword [rsp + 0x2f0]
movaps xmm7, xmmword [rsp + 0x300]
add rsp, 0x318
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x188]
call fcn.140153bcc
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x14008443a
mov rax, qword [rsp + 0x120]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140084d45
mov qword [rsp + 0x120], rcx
call fcn.140153bcc
inc rbx
mov eax, dword [r13 + 4]
cmp rbx, rax
jae 0x1400843b6
lea r15, [rbx + rbx*4]
shl r15, 4
mov qword [r14 + 0x50], rbp
movups xmmword [r14 + 0x40], xmm6
movups xmmword [r14 + 0x30], xmm6
movups xmmword [r14 + 0x20], xmm6
movups xmmword [r14 + 0x10], xmm6
movups xmmword [r14], xmm6
xor eax, eax
mov qword [rsp + 0x108], rax
mov byte [rsp + 0x110], 0
movups xmmword [r14 + 0x44], xmm7
movups xmmword [r14 + 0x38], xmm7
movups xmmword [r14 + 0x28], xmm7
movups xmmword [r14 + 0x18], xmm7
movups xmmword [r14 + 8], xmm7
lea r9, [r13 + r15 + 0x128]
mov qword [r14 + 0x88], rax
movups xmmword [r14 + 0x78], xmm7
movups xmmword [r14 + 0x68], xmm7
movups xmmword [r14 + 0x58], xmm7
mov rax, qword [r9 + 8]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0xd0], rbp
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]
call fcn.140084fd7
test eax, eax
js 0x1400848e1
mov rsi, qword [rsp + 0xd0]
test rsi, rsi
je 0x140084947
mov bpl, byte [rdi + 0x160]
mov rax, qword [rsp + 0x130]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
je 0x140084b84
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x140084860
mov r12d, eax
test bpl, bpl
je 0x140084574
test r12d, r12d
je 0x140084e2e
movzx eax, bpl
sub r12d, eax
mov dword [rsp + 0x158], r12d
cmp byte [rsp + 0x37], 0
movabs rbp, 0xaaaaaaaaaaaaaaaa
jne 0x14008484b
mov ecx, 0x800
call fcn.140084f42
lea rcx, [rsp + 0x108]
mov rdx, rsi
test al, al
jne 0x14008482f
call fcn.1400851aa
test al, al
je 0x1400848c5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x14008496d
lea rax, [r15 + r13]
add rax, 0x100
mov dword [rsp + 0x15c], 0x20
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x160], eax
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
lea r8, [rsp + 0xd0]
mov r9d, 0x30
call fcn.140085071
test eax, eax
js 0x1400849c1
mov qword [rsp + 0xc0], rbp
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov rdx, qword [rsp + 0xd8]
mov qword [rsp + 0x138], rdx
mov qword [rsp + 0x140], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x90]
call fcn.140093f96
test al, al
je 0x1400846c2
cmp byte [rsp + 0x37], 0
jne 0x140084dd5
mov r12, qword [rsp + 0x98]
mov r15, qword [rsp + 0xa0]
mov qword [rsp + 0x148], r15
mov rax, r12
sub rax, r15
jb 0x140084d4b
mov qword [rsp + 0x150], rax
mov eax, dword [0x140365fd8]
mov ecx, dword [0x1403576e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400847e8
mov rax, qword [0x140365fd0]
test rax, rax
je 0x140084782
mov qword [rsp + 0x88], rbp
mov rcx, rsi
lea rdx, [rsp + 0x88]
call qword [0x14037e008]
test eax, eax
js 0x140084a4e
mov r15, qword [rsp + 0x88]
mov qword [rsp + 0x78], r15
test r15, r15
je 0x140084d42
mov rcx, r15
call fcn.14015468c
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x1a0]
lea rdx, [rsp + 0x78]
call fcn.1400c7180
cmp byte [rsp + 0x19f], 0
js 0x140084839
mov rax, qword [rsp + 0x1b0]
mov qword [r14 + 0x88], rax
movups xmm0, xmmword [rsp + 0x1a0]
movups xmmword [r14 + 0x78], xmm0
mov rcx, r15
call fcn.14008510c
mov r15, qword [rdi + 0x138]
cmp r15, qword [rdi + 0x140]
je 0x1400847d4
test r15, r15
je 0x140084d48
mov rcx, r15
lea rdx, [rsp + 0x108]
call fcn.1400854ba
add r15, 0x98
mov qword [rdi + 0x138], r15
mov rcx, rsi
call fcn.14005ec2a
cmp byte [rsp + 0x19f], 0
jns 0x140084406
jmp 0x1400843f9
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x108]
call fcn.14008527a
jmp 0x1400847b9
lea rcx, [0x140365fd8]
call fcn.1401547b8
cmp dword [0x140365fd8], 0xffffffff
jne 0x1400846e7
lea rcx, [0x140303a40]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400950ce
mov qword [0x140365fd0], rax
lea rcx, [0x140365fd8]
call fcn.140153cf4
jmp 0x1400846e7
call fcn.1402aa8e2
jmp 0x1400845ba
mov rcx, qword [rsp + 0x188]
call fcn.140153bcc
jmp 0x14008475e
lea rcx, [rsp + 0x108]
mov rdx, rsi
call fcn.1402aa816
jmp 0x1400845ba
cmp dword [0x1403629c0], 2
movabs rbp, 0xaaaaaaaaaaaaaaaa
jg 0x1400848c5
lea r15, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea r12, [rsp + 0x1a0]
mov rcx, r12
mov r8d, 0xa3
mov r9d, 2
call fcn.14009c6a0
lea rdx, [0x14032c6ee]
mov r8d, 0xd
mov rcx, r15
call fcn.140097cc9
mov rcx, r12
call fcn.14009c720
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xd
mov r8d, 0xf
call fcn.14007b270
jmp 0x1400847b9
cmp dword [0x1403629c0], 2
jg 0x140084947
mov esi, eax
lea r15, [rsp + 0x1b0]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea r12, [rsp + 0x1a0]
mov rcx, r12
mov r8d, 0x87
mov r9d, 2
call fcn.140117f40
lea rax, [0x1402fff68]
mov qword [r12], rax
mov dword [r12 + 0x138], esi
lea rdx, str.NtOpenThread
mov r8d, 0xc
mov rcx, r15
call fcn.140097cc9
mov rcx, r12
call fcn.140274da0
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xc
mov r8d, 0xf
call fcn.14007b270
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x1400847c1
cmp dword [0x1403629c0], 2
jg 0x1400848c5
lea r15, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea r12, [rsp + 0x1a0]
mov rcx, r12
mov r8d, 0xc7
mov r9d, 2
call fcn.14009c6a0
lea rdx, [0x14032c739]
mov r8d, 0xc
jmp 0x1400848b5
cmp dword [0x1403629c0], 2
jg 0x140084a28
mov r15d, eax
lea rbp, [rsp + 0x1b0]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea r12, [rsp + 0x1a0]
mov rcx, r12
mov r8d, 0x1c9
mov r9d, 2
call fcn.140117f40
lea rax, [0x1402fff68]
mov qword [r12], rax
mov dword [r12 + 0x138], r15d
lea rdx, str.NtQueryInformationThread
mov r8d, 0x18
mov rcx, rbp
call fcn.140097cc9
mov rcx, r12
call fcn.140274da0
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xe
mov r8d, 0xf
call fcn.14007b270
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x1400847b9
cmp dword [0x1403629c0], 1
jg 0x140084782
cmp dword [0x140356398], 0
je 0x140084782
mov r15d, eax
lea r12, [rsp + 0x1b0]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x1a0]
mov r8d, 0x1fd
mov r9d, 1
call fcn.140117f40
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
mov rcx, r12
call fcn.140097cc9
mov rbp, rax
lea r12, [rsp + 0x60]
mov rcx, r12
mov edx, r15d
call fcn.14009c7e0
movzx r8d, byte [r12 + 0x17]
test r8b, r8b
js 0x140084acc
and r8d, 0x7f
jmp 0x140084ad6
mov r8, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rcx, rbp
mov rdx, r12
call fcn.140097cc9
cmp byte [rsp + 0x77], 0
jns 0x140084af2
mov rcx, qword [rsp + 0x60]
call fcn.140153bcc
lea rcx, [rsp + 0x1a0]
call fcn.14009caf0
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x140084782
cmp dword [0x1403629c0], 2
jg 0x1400843b6
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x1a0]
mov rcx, rdi
mov r8d, pe_nt_image_headers64
mov r9d, 2
call fcn.140117f40
lea rcx, [rsp + 0x1b0]
lea rdx, str.process
mov r8d, 8
call fcn.140097cc9
mov rcx, rax
mov edx, esi
call fcn.14010a6ce
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.140097cc9
mov rcx, rdi
call fcn.14009caf0
jmp 0x1400843b6
mov dword [rsp + 0x158], 0
mov rbp, qword [rsp + 0x118]
mov r12, qword [rsp + 0x120]
mov rax, r12
sub rax, rbp
mov rcx, rax
mov qword [rsp + 0x38], rax
cmp rax, 0x4cf
jbe 0x140084c13
cmp qword [rsp + 0x38], 0x4d0
je 0x140084be7
mov rax, r12
sub rax, rbp
add rax, 0xfffffffffffffb30
dec r12
cmp rax, r12
ja 0x140084eca
add rbp, 0x4d0
mov qword [rsp + 0x120], rbp
mov byte [rsp + 0x110], 1
mov rcx, qword [rsp + 0x118]
add rcx, qword [rsp + 0x108]
call fcn.140156ca0
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x1400845d3
mov r9d, 0x4d0
mov eax, 0x4d0
sub rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x128]
mov r8, rdx
sub r8, r12
cmp r8, rax
jb 0x140084c5a
lea rcx, [r12 + rax]
test r12, r12
je 0x140084ecd
mov byte [r12], 0
inc r12
dec rax
jne 0x140084c3a
mov qword [rsp + 0x120], rcx
jmp 0x140084be7
sub rdx, rbp
lea rax, [rdx + rdx]
cmp rax, 0x4d1
cmovae r9, rax
movabs rax, 0x3fffffffffffffff
cmp rdx, rax
movabs rcx, 0x7fffffffffffffff
cmovb rcx, r9
mov qword [rsp + 0x50], rcx
call fcn.140153bd4
mov r8, qword [rsp + 0x38]
lea rdx, [rax + r8]
mov r10, qword [rsp + 0x50]
add r10, rax
lea rcx, [rax + 0x4d0]
mov r9, rax
add r9, r8
je 0x140084ed0
mov byte [r9], 0
inc r8
cmp r8, 0x4d0
jne 0x140084ca8
cmp r12, rbp
je 0x140084d25
mov rdx, qword [rsp + 0x38]
add rdx, rax
dec rdx
mov r8, r12
mov r9b, byte [r8 - 1]
dec r8
mov byte [rdx], r9b
dec rdx
cmp r8, rbp
jne 0x140084cd7
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], r10
dec r12
cmp qword [rsp + 0x38], r12
ja 0x140084ed3
test rbp, rbp
je 0x140084be7
mov rcx, rbp
call fcn.140153bcc
jmp 0x140084be7
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], r10
mov rbp, r12
jmp 0x140084d0f
int3
int3
int3
cmp dword [0x1403629c0], 2
jg 0x140084dc4
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbp, [rsp + 0x1a0]
mov rcx, rbp
mov r8d, 0x1ec
mov r9d, 2
call fcn.140117f40
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x1b0]
call fcn.140097cc9
mov rcx, rax
mov rdx, r12
call fcn.14012537c
lea rdx, [0x14030b97e]
mov r8d, 3
mov rcx, rax
call fcn.140097cc9
mov rcx, rax
mov rdx, r15
call fcn.14012537c
mov rcx, rbp
call fcn.14009caf0
xor eax, eax
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x1400846ba
lea r15, [rsp + 0x1a0]
movups xmmword [r15 + 0xc], xmm6
movaps xmmword [r15], xmm6
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x138], rdx
mov qword [rsp + 0x140], 0x1788
mov r8d, 0x1c
mov rcx, qword [rsp + 0x48]
mov r9, r15
call fcn.140093f96
mov r12d, dword [r15 + 4]
mov r15d, dword [r15 + 8]
xor ecx, ecx
test al, al
cmove r12, rcx
cmove r15, rcx
jmp 0x1400846a6
xor r12d, r12d
cmp dword [0x1403629c0], 1
jg 0x14008457b
cmp dword [0x140356398], 0
je 0x14008457b
lea r12, [rsp + 0x1b0]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbp, [rsp + 0x1a0]
mov rcx, rbp
mov r8d, 0xa8
mov r9d, 1
call fcn.140117f40
lea rdx, str.Thread
mov r8d, 7
mov rcx, r12
call fcn.140097cc9
mov rdx, qword [rsp + 0x130]
mov rcx, rax
call fcn.14012537c
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
mov r8d, 0x34
mov rcx, rax
call fcn.140097cc9
xor r12d, r12d
mov rcx, rax
xor edx, edx
call fcn.14010a6ce
mov rcx, rbp
call fcn.14009caf0
jmp 0x14008457b
int3
int3
int3
int3
mov qword [rsp + 0x40], r13
cmp dword [0x1403629c0], 2
jg 0x1400843b6
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
mov r8d, 0x66
mov r9d, 2
call fcn.140117f40
lea rax, [0x1402fff68]
mov qword [rsi], rax
mov dword [rsi + 0x138], ebp
lea rcx, [rsp + 0x1b0]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.140097cc9
mov rcx, rsi
call fcn.140274da0
jmp 0x1400843b6