Function at 0x140249438
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
movaps xmmword [rsp + 0x2f0], xmm7
movaps xmmword [rsp + 0x2e0], xmm6
mov byte [rsp + 0x37], dl
mov rdi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x2d8], rax
mov r14, qword [rcx]
lea r15, [rsp + 0xf8]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.14010d000
mov rsi, rax
mov r12d, 0x4000
mov r13d, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.1401ec69a
mov ebp, eax
cmp eax, 0xc0000023
je 0x1402494cc
cmp ebp, 0xc0000004
jne 0x140249593
mov r12d, dword [rsp + 0xf8]
add r12d, ebx
test rsi, rsi
je 0x1402494e4
mov rcx, rsi
call fcn.14010ccd4
mov ecx, r12d
call fcn.14010d000
mov rsi, rax
dec r13d
jne 0x1402494a4
cmp dword [0x1402f4050], 2
jg 0x140249552
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x190]
mov rcx, rdi
mov r8d, 0x67
mov r9d, 2
call fcn.1400c0e80
lea rax, [0x14029e0f0]
mov qword [rdi], rax
mov dword [rdi + 0x138], ebp
lea rcx, [rsp + 0x1a0]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.14017d289
mov rcx, rdi
call fcn.140210de6
test rsi, rsi
je 0x14024955f
mov rcx, rsi
call fcn.14010ccd4
mov rcx, qword [rsp + 0x2d8]
xor rcx, rsp
call fcn.14010fba0
movaps xmm6, xmmword [rsp + 0x2e0]
movaps xmm7, xmmword [rsp + 0x2f0]
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test ebp, ebp
js 0x1402494f4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r12, rsi
cmp dword [r12 + 0x50], ebp
je 0x140249634
mov eax, dword [r12]
test rax, rax
je 0x1402495c2
add r12, rax
jne 0x1402495a9
cmp dword [0x1402f4050], 2
jg 0x140249552
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x190]
mov rcx, rdi
mov r8d, 0x79
mov r9d, 2
call fcn.1400c0e80
lea rcx, [rsp + 0x1a0]
lea rdx, str.process
mov r8d, 8
call fcn.14017d289
mov rcx, rax
mov edx, ebp
call fcn.1400d0aa2
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.14017d289
mov rcx, rdi
call fcn.140089d40
jmp 0x140249552
test r12, r12
je 0x140249552
cmp dword [r12 + 4], 0
je 0x140249552
movabs rbx, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x100]
movaps xmm6, xmmword [0x14029bb90]
xorps xmm7, xmm7
xor r13d, r13d
jmp 0x140249748
cmp dword [0x1402f4050], 2
jg 0x1402496d5
mov r14d, eax
lea rbp, [rsp + 0x190]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x88
mov r9d, 2
call fcn.1400c0e80
lea rax, [0x14029e0f0]
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x2c8], r14d
mov r8d, 0xc
lea rcx, [rsp + 0x1a0]
lea rdx, str.NtOpenThread
call fcn.14017d289
mov rcx, rbp
call fcn.140210de6
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xc
mov r8d, 0xf
call fcn.140084770
cmp byte [rsp + 0x18f], 0
jns 0x140249703
mov rcx, qword [rsp + 0x178]
call fcn.14010cc0c
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x140249737
mov rax, qword [rsp + 0x110]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14024a0a3
mov qword [rsp + 0x110], rcx
call fcn.14010cc0c
inc r13
mov eax, dword [r12 + 4]
cmp r13, rax
jae 0x140249552
lea rbp, [r13*4]
add rbp, r13
shl rbp, 4
mov qword [r15 + 0x50], rbx
movups xmmword [r15 + 0x40], xmm6
movups xmmword [r15 + 0x30], xmm6
movups xmmword [r15 + 0x20], xmm6
movups xmmword [r15 + 0x10], xmm6
movups xmmword [r15], xmm6
xor eax, eax
mov qword [rsp + 0xf8], rax
mov byte [rsp + 0x100], 0
lea r9, [r12 + rbp]
add r9, 0x128
movups xmmword [r15 + 0x44], xmm7
movups xmmword [r15 + 0x38], xmm7
movups xmmword [r15 + 0x28], xmm7
movups xmmword [r15 + 0x18], xmm7
movups xmmword [r15 + 8], xmm7
mov qword [r15 + 0x88], rax
movups xmmword [r15 + 0x78], xmm7
movups xmmword [r15 + 0x68], xmm7
movups xmmword [r15 + 0x58], xmm7
mov rax, qword [r9 + 8]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0xc0], rbx
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0x80], 0x30
lea rax, [rsp + 0x88]
movups xmmword [rax], xmm7
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xc0]
mov edx, 0x4a
lea r8, [rsp + 0x80]
call fcn.1401ec600
test eax, eax
js 0x14024966d
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1402496d5
jmp 0x1402499ba
mov r14d, eax
test bl, bl
je 0x1402498e9
test r14d, r14d
jne 0x1402498e9
xor r14d, r14d
cmp dword [0x1402f4050], 1
jg 0x1402498ef
cmp dword [0x1402e3900], 0
je 0x1402498ef
lea r14, [rsp + 0x1a0]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbx, [rsp + 0x190]
mov rcx, rbx
mov r8d, 0xa9
mov r9d, 1
call fcn.1400c0e80
lea rdx, str.Thread
mov r8d, 7
mov rcx, r14
call fcn.14017d289
mov rdx, qword [rsp + 0x120]
mov rcx, rax
call fcn.1400e2aea
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
mov r8d, 0x34
mov rcx, rax
call fcn.14017d289
xor r14d, r14d
mov rcx, rax
xor edx, edx
call fcn.1400d0aa2
mov rcx, rbx
call fcn.140089d40
jmp 0x1402498ef
movzx eax, bl
sub r14d, eax
mov dword [rsp + 0x148], r14d
cmp byte [rsp + 0x37], 0
jne 0x14024992c
mov ecx, 0x800
call fcn.14025ec85
lea rcx, [rsp + 0xf8]
test al, al
je 0x140249920
mov rdx, qword [rsp + 0x38]
call fcn.140248e62
jmp 0x14024993e
mov rdx, qword [rsp + 0x38]
call fcn.140248cc6
jmp 0x14024993e
lea rcx, [rsp + 0xf8]
mov rdx, qword [rsp + 0x38]
call fcn.140248d96
test al, al
movabs rbx, 0xaaaaaaaaaaaaaaaa
je 0x140249a51
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140249afc
cmp dword [0x1402f4050], 2
jg 0x140249a51
lea rbp, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea r14, [rsp + 0x190]
mov rcx, r14
mov r8d, 0xc8
mov r9d, 2
call fcn.1401cdc40
lea rdx, [0x1402c7b59]
mov r8d, 0xc
mov rcx, rbp
jmp 0x140249a44
mov bl, byte [rdi + 0x160]
mov rax, qword [rsp + 0x120]
mov rdx, qword gs:[0x30]
cmp rax, qword [rdx + 0x48]
mov qword [rsp + 0x38], rcx
je 0x140249a77
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14024983c
cmp dword [0x1402f4050], 2
movabs rbx, 0xaaaaaaaaaaaaaaaa
jg 0x140249a51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r14, [rsp + 0x190]
mov rcx, r14
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa4
mov r9d, 2
call fcn.1401cdc40
mov r8d, 0xd
lea rcx, [rsp + 0x1a0]
lea rdx, [0x1402c7b0e]
call fcn.14017d289
mov rcx, r14
call fcn.1401cdcc0
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xd
mov r8d, 0xf
call fcn.140084770
mov rcx, qword [rsp + 0x38]
call fcn.140055670
jmp 0x1402496ec
mov dword [rsp + 0x148], 0
mov r8, qword [rsp + 0x108]
mov r14, qword [rsp + 0x110]
mov rcx, r14
sub rcx, r8
cmp rcx, 0x4cf
jbe 0x140249bd7
cmp rcx, 0x4d0
movabs rbx, 0xaaaaaaaaaaaaaaaa
je 0x140249adf
mov rax, r14
sub rax, r8
add rax, 0xfffffffffffffb30
dec r14
cmp rax, r14
ja 0x14024a0ac
add r8, 0x4d0
mov qword [rsp + 0x110], r8
mov byte [rsp + 0x100], 1
mov rcx, qword [rsp + 0x108]
add rcx, qword [rsp + 0xf8]
call fcn.14010f860
lea rax, [r12 + rbp]
add rax, 0x100
mov dword [rsp + 0x14c], 0x20
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x150], eax
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x38]
xor edx, edx
lea r8, [rsp + 0xc0]
mov r9d, 0x30
call fcn.1401ec732
test eax, eax
jns 0x140249d09
cmp dword [0x1402f4050], 2
jg 0x140249bc6
mov r14d, eax
lea rbp, [rsp + 0x190]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1ca
mov r9d, 2
call fcn.1400c0e80
lea rax, [0x14029e0f0]
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x2c8], r14d
mov r8d, 0x18
lea rcx, [rsp + 0x1a0]
lea rdx, str.NtQueryInformationThread
call fcn.14017d289
mov rcx, rbp
call fcn.140210de6
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xe
jmp 0x140249a5d
mov eax, 0x4d0
sub rax, rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x118]
mov rdx, rcx
sub rdx, r14
cmp rdx, rax
jb 0x140249c27
lea rcx, [r14 + rax]
test r14, r14
je 0x14024a0af
mov byte [r14], 0
inc r14
dec rax
jne 0x140249bfb
mov qword [rsp + 0x110], rcx
movabs rbx, 0xaaaaaaaaaaaaaaaa
jmp 0x140249adf
mov qword [rsp + 0x40], r8
sub rcx, r8
lea rax, [rcx + rcx]
cmp rax, 0x4d1
mov edx, 0x4d0
cmovae rdx, rax
movabs rax, 0x3fffffffffffffff
cmp rcx, rax
movabs rbx, 0x7fffffffffffffff
cmovb rbx, rdx
mov rcx, rbx
call fcn.14010cc14
mov r8, qword [rsp + 0x48]
lea rdx, [rax + r8]
add rbx, rax
lea rcx, [rax + 0x4d0]
mov r11, r8
mov r9, rax
add r9, r8
je 0x14024a0a6
mov byte [r9], 0
inc r8
cmp r8, 0x4d0
jne 0x140249c7b
cmp r14, qword [rsp + 0x40]
je 0x14024a081
lea rdx, [rax + r11]
dec rdx
mov r8, r14
mov r10, qword [rsp + 0x40]
mov r9b, byte [r8 - 1]
dec r8
mov byte [rdx], r9b
dec rdx
cmp r8, r10
jne 0x140249cb1
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rbx
dec r14
cmp r11, r14
ja 0x14024a0a9
mov rcx, qword [rsp + 0x40]
test rcx, rcx
movabs rbx, 0xaaaaaaaaaaaaaaaa
je 0x140249adf
call fcn.14010cc0c
jmp 0x140249adf
lea r14, [rdi + 0x90]
mov qword [rsp + 0xb0], rbx
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov rdx, qword [rsp + 0xc8]
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], 0x1788
mov r8d, 0x38
mov rcx, r14
lea r9, [rsp + 0x80]
call fcn.1402401a0
test al, al
je 0x140249e70
cmp byte [rsp + 0x37], 0
jne 0x140249d83
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
jmp 0x140249dd3
lea rbp, [rsp + 0x190]
movups xmmword [rbp + 0xc], xmm6
movaps xmmword [rbp], xmm6
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], 0x1788
mov r8d, 0x1c
mov rcx, r14
mov r9, rbp
call fcn.1402401a0
mov ebx, dword [rbp + 4]
mov r14d, dword [rbp + 8]
xor ecx, ecx
test al, al
cmove rbx, rcx
cmove r14, rcx
mov qword [rsp + 0x138], r14
mov rax, rbx
sub rax, r14
jae 0x140249e5e
cmp dword [0x1402f4050], 2
jg 0x140249e5c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbp, [rsp + 0x190]
mov rcx, rbp
mov r8d, 0x1ed
mov r9d, 2
call fcn.1400c0e80
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x1a0]
call fcn.14017d289
mov rcx, rax
mov rdx, rbx
call fcn.1400e2aea
lea rdx, [0x1402a604a]
mov r8d, 3
mov rcx, rax
call fcn.14017d289
mov rcx, rax
mov rdx, r14
call fcn.1400e2aea
mov rcx, rbp
call fcn.140089d40
xor eax, eax
mov qword [rsp + 0x140], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov eax, dword [0x140303030]
mov ecx, dword [0x1402f0db0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14024a03a
mov rax, qword [0x140303028]
test rax, rax
je 0x140249f38
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x78]
call qword [0x140318008]
test eax, eax
js 0x140249f8d
mov r14, qword [rsp + 0x78]
mov qword [rsp + 0x68], r14
test r14, r14
je 0x14024a0b2
mov rcx, r14
call fcn.14010ced4
lea rdx, [rsp + 0x68]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x190]
call fcn.1400952c0
cmp byte [rsp + 0x18f], 0
jns 0x140249f0a
mov rcx, qword [rsp + 0x178]
call fcn.14010cc0c
mov rax, qword [rsp + 0x1a0]
mov qword [r15 + 0x88], rax
movups xmm0, xmmword [rsp + 0x190]
movups xmmword [r15 + 0x78], xmm0
mov rcx, r14
call fcn.140247bf0
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov r14, qword [rdi + 0x138]
cmp r14, qword [rdi + 0x140]
jae 0x140249f6a
test r14, r14
je 0x14024a0b5
mov rcx, r14
lea rdx, [rsp + 0xf8]
call fcn.14024a41e
add r14, 0x98
jmp 0x140249f81
lea rcx, [rdi + 0x130]
lea rdx, [rsp + 0xf8]
call fcn.14024a2d4
mov r14, rax
mov qword [rdi + 0x138], r14
jmp 0x140249a68
cmp dword [0x1402f4050], 1
jg 0x140249f2e
cmp dword [0x1402e3900], 0
je 0x140249f2e
mov r14d, eax
lea rbx, [rsp + 0x1a0]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x190]
mov r8d, 0x1fe
mov r9d, 1
call fcn.1400c0e80
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
mov rcx, rbx
call fcn.14017d289
mov rbx, rax
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov edx, r14d
call fcn.1401cdae0
movzx r8d, byte [rbp + 0x17]
test r8b, r8b
js 0x14024a002
and r8d, 0x7f
jmp 0x14024a00c
mov r8, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rcx, rbx
mov rdx, rbp
call fcn.14017d289
cmp byte [rsp + 0x67], 0
jns 0x14024a028
mov rcx, qword [rsp + 0x50]
call fcn.14010cc0c
lea rcx, [rsp + 0x190]
call fcn.140089d40
jmp 0x140249f2e
lea rcx, [0x140303030]
call fcn.14010d4bc
cmp dword [0x140303030], 0xffffffff
jne 0x140249e95
lea rcx, [0x1402a136c]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.14006e48d
mov qword [0x140303028], rax
lea rcx, [0x140303030]
call fcn.14010d064
jmp 0x140249e95
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x40], r14
jmp 0x140249ce7
int3
int3
int3
int3
int3
int3
int3