Function at 0x14037b770
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
movaps xmmword [rsp + 0x2d0], xmm7
movaps xmmword [rsp + 0x2c0], xmm6
mov byte [rsp + 0x2f], dl
mov rdi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov r14, qword [rcx]
lea r15, [rsp + 0xf8]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.140240d4c
mov rsi, rax
mov r12d, 0x4000
mov ebx, 0x14
mov r13d, 0x1000
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.140337660
mov ebp, eax
cmp eax, 0xc0000023
je 0x14037b800
cmp ebp, 0xc0000004
jne 0x14037b87a
mov r12d, dword [rsp + 0xf8]
add r12d, r13d
test rsi, rsi
je 0x14037b818
mov rcx, rsi
call fcn.140240d54
mov ecx, r12d
call fcn.140240d4c
mov rsi, rax
dec ebx
jne 0x14037b7dc
mov ecx, 2
call fcn.1401de860
test al, al
jne 0x14037bf54
test rsi, rsi
je 0x14037b846
mov rcx, rsi
call fcn.140240d54
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.140242430
movaps xmm6, xmmword [rsp + 0x2c0]
movaps xmm7, xmmword [rsp + 0x2d0]
add rsp, 0x2e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test ebp, ebp
js 0x14037b827
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r14, rsi
cmp dword [r14 + 0x50], ebp
je 0x14037b91a
mov eax, dword [r14]
test rax, rax
je 0x14037b8a3
add r14, rax
jne 0x14037b88c
mov ecx, 2
call fcn.1401de860
test al, al
je 0x14037b839
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.1400e3550
lea rcx, [rsp + 0x180]
lea rdx, str.process
mov r8d, 8
call fcn.14027e630
mov rcx, rax
mov edx, ebp
call fcn.140098cd0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.14027e630
mov rcx, rdi
call fcn.1400e3a40
jmp 0x14037b839
test r14, r14
je 0x14037b839
cmp dword [r14 + 4], 0
je 0x14037b839
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x108]
lea rax, [rdi + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rdi + 0x130]
mov qword [rsp + 0x48], rax
lea r15, [r14 + 0x128]
movaps xmm6, xmmword [0x1403aa440]
xorps xmm7, xmm7
xor ebx, ebx
movups xmmword [r13 + 0x58], xmm6
movups xmmword [r13 + 0x48], xmm6
movups xmmword [r13 + 0x38], xmm6
movups xmmword [r13 + 0x28], xmm6
movups xmmword [r13 + 0x18], xmm6
movups xmmword [r13 + 8], xmm6
movups xmmword [r13 - 8], xmm6
xor eax, eax
mov qword [rsp + 0xf8], rax
mov byte [rsp + 0x100], 0
mov qword [r13 + 0x10], rax
movups xmmword [r13], xmm7
mov qword [r13 + 0x28], rax
movups xmmword [r13 + 0x18], xmm7
movups xmmword [r13 + 0x54], xmm7
movups xmmword [r13 + 0x48], xmm7
movups xmmword [r13 + 0x38], xmm7
mov rax, qword [r15 + 8]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0xc0], r12
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]
mov r9, r15
call fcn.1403375c0
test eax, eax
js 0x14037baea
mov rbp, qword [rsp + 0xc0]
test rbp, rbp
je 0x14037baa0
mov r12, rdi
mov dil, byte [rdi + 0x160]
mov rax, qword [rsp + 0x138]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
mov qword [rsp + 0x30], rbp
je 0x14037bb48
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14037bc30
mov ecx, 2
call fcn.1401de860
test al, al
mov rdi, r12
movabs r12, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
jne 0x14037bccf
mov rcx, rbp
call fcn.14015e580
cmp byte [rsp + 0x137], 0
jns 0x14037bab7
mov rcx, qword [rsp + 0x120]
call fcn.140240d14
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x14037bad1
mov qword [rsp + 0x110], rcx
call fcn.140240d14
inc rbx
mov eax, dword [r14 + 4]
add r15, 0x50
cmp rbx, rax
jb 0x14037b96b
jmp 0x14037b839
mov ebp, eax
mov ecx, 2
call fcn.1401de860
test al, al
je 0x14037baa0
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x170]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x7f
mov r9d, 2
call fcn.140337a00
mov r8d, ntohl
lea rcx, [rsp + 0x180]
lea rdx, str.NtOpenThread
call fcn.14027e630
mov rcx, rbp
call fcn.140337a30
jmp 0x14037baa0
mov dword [rsp + 0x160], 0
lea rcx, [rsp + 0xf8]
call fcn.14037aea0
mov rdi, r12
movabs r12, 0xaaaaaaaaaaaaaaaa
mov dword [rsp + 0x164], 0x20
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0x168], eax
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, rbp
xor edx, edx
lea r8, [rsp + 0xc0]
mov r9d, 0x30
call fcn.140337700
test eax, eax
js 0x14037bd27
mov qword [rsp + 0xb0], r12
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov rdx, qword [rsp + 0xc8]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x80]
call fcn.140353570
test al, al
je 0x14037bddb
cmp byte [rsp + 0x2f], 0
je 0x14037c008
jmp 0x14037bfa2
mov ebp, eax
test dil, dil
je 0x14037bd40
test ebp, ebp
jne 0x14037bd40
mov ecx, 1
call fcn.1401de860
xor ebp, ebp
test al, al
je 0x14037bd46
lea rdi, [rsp + 0x170]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa0
mov r9d, 1
call fcn.1400e3550
mov r8d, 7
lea rcx, [rsp + 0x180]
lea rdx, str.Thread
call fcn.14027e630
mov rdx, qword [rsp + 0x138]
mov rcx, rax
call fcn.140099150
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.14027e630
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.140098cd0
mov rcx, rdi
call fcn.1400e3a40
jmp 0x14037bd46
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbp, [rsp + 0x170]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, reloc.SHELL32.dll_ILFree
mov r9d, 2
call fcn.1402b3940
mov r8d, ntohl
lea rcx, [rsp + 0x180]
lea rdx, [0x1404018af]
call fcn.14027e630
mov rcx, rbp
mov rbp, qword [rsp + 0x30]
call fcn.1402b39c0
jmp 0x14037ba98
mov ebp, eax
mov ecx, 2
call fcn.1401de860
test al, al
je 0x14037beb5
jmp 0x14037c0ce
movzx eax, dil
sub ebp, eax
mov dword [rsp + 0x160], ebp
cmp byte [rsp + 0x2f], 0
mov rdi, r12
je 0x14037bd83
lea rcx, [rsp + 0xf8]
mov rbp, qword [rsp + 0x30]
mov rdx, rbp
call fcn.14037b010
test al, al
movabs r12, 0xaaaaaaaaaaaaaaaa
je 0x14037ba98
jmp 0x14037beeb
mov ecx, 0x800
call fcn.140386150
test al, al
movabs r12, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
je 0x14037bed3
mov r8d, 0x800
lea rcx, [rsp + 0xf8]
mov rdx, rbp
call fcn.14037b120
jmp 0x14037bee3
mov qword [rsp + 0x150], rbp
mov rax, rcx
sub rax, rbp
jb 0x14037c01d
mov qword [rsp + 0x158], rax
mov eax, dword [0x14043a6e8]
mov ecx, dword [0x14042a04c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14037c1c6
mov rax, qword [0x14043a6e0]
test rax, rax
je 0x14037be8a
mov qword [rsp + 0x78], r12
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x78]
call qword [case.0x1402bbc90.0]
test eax, eax
js 0x14037c03b
mov rbp, qword [rsp + 0x78]
mov qword [rsp + 0x68], rbp
test rbp, rbp
je 0x14037c20d
mov rcx, rbp
call fcn.140268c14
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x68]
call fcn.1401e9a30
cmp byte [rsp + 0x137], 0
js 0x14037c0bc
mov rax, qword [rsp + 0x180]
mov qword [r13 + 0x28], rax
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [r13 + 0x18], xmm0
mov rcx, rbp
call fcn.140182f40
mov rbp, qword [rdi + 0x138]
cmp rbp, qword [rdi + 0x140]
je 0x14037bebf
mov rcx, rbp
lea rdx, [rsp + 0xf8]
call fcn.1401b3e60
add rbp, 0x78
mov qword [rdi + 0x138], rbp
mov rbp, qword [rsp + 0x30]
jmp 0x14037ba98
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xf8]
call fcn.1401b3b30
jmp 0x14037beb5
lea rcx, [rsp + 0xf8]
mov rdx, rbp
call fcn.14037af00
test al, al
je 0x14037ba98
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14037bb6d
mov ecx, 2
call fcn.1401de860
test al, al
je 0x14037ba98
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbp, [rsp + 0x170]
mov rcx, rbp
mov r8d, 0xbf
mov r9d, 2
call fcn.1402b3940
lea rdx, [0x1404018fa]
mov r8d, ntohl
lea rcx, [rsp + 0x180]
jmp 0x14037bd10
mov dword [rsp + 0x20], ebp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.140337a00
lea rcx, [rsp + 0x180]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.14027e630
mov rcx, rdi
call fcn.140337a30
jmp 0x14037b839
movups xmmword [rsp + 0x17c], xmm6
movaps xmmword [rsp + 0x170], xmm6
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x170]
call fcn.140353570
mov ecx, dword [rsp + 0x174]
mov ebp, dword [rsp + 0x178]
test al, al
mov eax, 0
cmove rcx, rax
cmove rbp, rax
jmp 0x14037bdbf
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
jmp 0x14037bdbf
mov qword [rsp + 0x38], rcx
mov ecx, 2
call fcn.1401de860
test al, al
jne 0x14037c11c
xor eax, eax
jmp 0x14037bdd3
mov ebp, eax
mov ecx, 1
call fcn.1401de860
test al, al
je 0x14037be8a
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x170]
mov r8d, 0x1db
mov r9d, 1
call fcn.1400e3550
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
lea rcx, [rsp + 0x180]
call fcn.14027e630
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
mov edx, ebp
call fcn.1402b37e0
lea rdx, [rsp + 0x50]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
jns 0x14037c195
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
jmp 0x14037c199
mov rcx, qword [rsp + 0x120]
call fcn.140240d14
jmp 0x14037be69
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x170]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1aa
mov r9d, 2
call fcn.140337a00
mov r8d, 0x18
lea rcx, [rsp + 0x180]
lea rdx, str.NtQueryInformationThread
call fcn.14027e630
mov rcx, rbp
call fcn.140337a30
jmp 0x14037beb5
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x170]
mov r8d, 0x1ca
mov r9d, 2
call fcn.1400e3550
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x180]
call fcn.14027e630
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.140099150
lea rdx, [0x140401867]
mov r8d, 3
mov rcx, rax
call fcn.14027e630
mov rcx, rax
mov rdx, rbp
call fcn.140099150
lea rcx, [rsp + 0x170]
call fcn.1400e3a40
jmp 0x14037c034
and r8d, 0x7f
mov rcx, qword [rsp + 0x38]
call fcn.14027e630
cmp byte [rsp + 0x67], 0
jns 0x14037c1b4
mov rcx, qword [rsp + 0x50]
call fcn.140240d14
lea rcx, [rsp + 0x170]
call fcn.1400e3a40
jmp 0x14037be8a
lea rcx, [0x14043a6e8]
call fcn.140240e30
cmp dword [0x14043a6e8], 0xffffffff
jne 0x14037be00
lea rcx, [0x1403b0260]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.14015ef80
mov qword [0x14043a6e0], rax
lea rcx, [0x14043a6e8]
call fcn.140240ec8
jmp 0x14037be00
mov qword [rsp + 0x70], 0
int3