Function at 0x14038d400
Capabilities:
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 [0x140448038]
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.1402523fc
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.140356070
mov ebp, eax
cmp eax, 0xc0000023
je 0x14038d490
cmp ebp, 0xc0000004
jne 0x14038d50a
mov r12d, dword [rsp + 0xf8]
add r12d, r13d
test rsi, rsi
je 0x14038d4a8
mov rcx, rsi
call fcn.140252404
mov ecx, r12d
call fcn.1402523fc
mov rsi, rax
dec ebx
jne 0x14038d46c
mov ecx, 2
call fcn.140206de0
test al, al
jne 0x14038dbe4
test rsi, rsi
je 0x14038d4d6
mov rcx, rsi
call fcn.140252404
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.140253b80
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 0x14038d4b7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r14, rsi
cmp dword [r14 + 0x50], ebp
je 0x14038d5aa
mov eax, dword [r14]
test rax, rax
je 0x14038d533
add r14, rax
jne 0x14038d51c
mov ecx, 2
call fcn.140206de0
test al, al
je 0x14038d4c9
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.140110ed0
lea rcx, [rsp + 0x180]
lea rdx, str.process
mov r8d, 8
call fcn.140294040
mov rcx, rax
mov edx, ebp
call fcn.1400aa9c0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.140294040
mov rcx, rdi
call fcn.1401113c0
jmp 0x14038d4c9
test r14, r14
je 0x14038d4c9
cmp dword [r14 + 4], 0
je 0x14038d4c9
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 [0x1403d47c0]
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.140355fd0
test eax, eax
js 0x14038d77a
mov rbp, qword [rsp + 0xc0]
test rbp, rbp
je 0x14038d730
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 0x14038d7d8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14038d8c0
mov ecx, 2
call fcn.140206de0
test al, al
mov rdi, r12
movabs r12, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
jne 0x14038d95f
mov rcx, rbp
call fcn.140175020
cmp byte [rsp + 0x137], 0
jns 0x14038d747
mov rcx, qword [rsp + 0x120]
call fcn.1402523c4
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x14038d761
mov qword [rsp + 0x110], rcx
call fcn.1402523c4
inc rbx
mov eax, dword [r14 + 4]
add r15, 0x50
cmp rbx, rax
jb 0x14038d5fb
jmp 0x14038d4c9
mov ebp, eax
mov ecx, 2
call fcn.140206de0
test al, al
je 0x14038d730
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.140356410
mov r8d, ntohl
lea rcx, [rsp + 0x180]
lea rdx, str.NtOpenThread
call fcn.140294040
mov rcx, rbp
call fcn.140356440
jmp 0x14038d730
mov dword [rsp + 0x160], 0
lea rcx, [rsp + 0xf8]
call fcn.14038cb30
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.140356110
test eax, eax
js 0x14038d9b7
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.140381bc0
test al, al
je 0x14038da6b
cmp byte [rsp + 0x2f], 0
je 0x14038dc98
jmp 0x14038dc32
mov ebp, eax
test dil, dil
je 0x14038d9d0
test ebp, ebp
jne 0x14038d9d0
mov ecx, 1
call fcn.140206de0
xor ebp, ebp
test al, al
je 0x14038d9d6
lea rdi, [rsp + 0x170]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa0
mov r9d, 1
call fcn.140110ed0
mov r8d, 7
lea rcx, [rsp + 0x180]
lea rdx, str.Thread
call fcn.140294040
mov rdx, qword [rsp + 0x138]
mov rcx, rax
call fcn.1400aae40
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140294040
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.1400aa9c0
mov rcx, rdi
call fcn.1401113c0
jmp 0x14038d9d6
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.1402d7130
mov r8d, ntohl
lea rcx, [rsp + 0x180]
lea rdx, [0x1404313e4]
call fcn.140294040
mov rcx, rbp
mov rbp, qword [rsp + 0x30]
call fcn.1402d71b0
jmp 0x14038d728
mov ebp, eax
mov ecx, 2
call fcn.140206de0
test al, al
je 0x14038db45
jmp 0x14038dd82
movzx eax, dil
sub ebp, eax
mov dword [rsp + 0x160], ebp
cmp byte [rsp + 0x2f], 0
mov rdi, r12
je 0x14038da13
lea rcx, [rsp + 0xf8]
mov rbp, qword [rsp + 0x30]
mov rdx, rbp
call fcn.14038cca0
test al, al
movabs r12, 0xaaaaaaaaaaaaaaaa
je 0x14038d728
jmp 0x14038db7b
mov ecx, 0x800
call fcn.1403965e0
test al, al
movabs r12, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
je 0x14038db63
mov r8d, 0x800
lea rcx, [rsp + 0xf8]
mov rdx, rbp
call fcn.14038cdb0
jmp 0x14038db73
mov qword [rsp + 0x150], rbp
mov rax, rcx
sub rax, rbp
jb 0x14038dcad
mov qword [rsp + 0x158], rax
mov eax, dword [0x14046bcf8]
mov ecx, dword [0x14045a84c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14038de49
mov rax, qword [0x14046bcf0]
test rax, rax
je 0x14038db1a
mov qword [rsp + 0x78], r12
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x78]
call qword [case.0x1402ceef0.0]
test eax, eax
js 0x14038dccb
mov rbp, qword [rsp + 0x78]
mov qword [rsp + 0x68], rbp
test rbp, rbp
je 0x14038de90
mov rcx, rbp
call fcn.14027c724
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x68]
call fcn.1401fd710
cmp byte [rsp + 0x137], 0
js 0x14038dd70
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.1401949b0
mov rbp, qword [rdi + 0x138]
cmp rbp, qword [rdi + 0x140]
je 0x14038db4f
mov rcx, rbp
lea rdx, [rsp + 0xf8]
call fcn.1401c22c0
add rbp, 0x78
mov qword [rdi + 0x138], rbp
mov rbp, qword [rsp + 0x30]
jmp 0x14038d728
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xf8]
call fcn.1401c1f90
jmp 0x14038db45
lea rcx, [rsp + 0xf8]
mov rdx, rbp
call fcn.14038cb90
test al, al
je 0x14038d728
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14038d7fd
mov ecx, 2
call fcn.140206de0
test al, al
je 0x14038d728
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.1402d7130
lea rdx, [0x14043142f]
mov r8d, ntohl
lea rcx, [rsp + 0x180]
jmp 0x14038d9a0
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.140356410
lea rcx, [rsp + 0x180]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.140294040
mov rcx, rdi
call fcn.140356440
jmp 0x14038d4c9
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.140381bc0
mov ecx, dword [rsp + 0x174]
mov ebp, dword [rsp + 0x178]
test al, al
mov eax, 0
cmove rcx, rax
cmove rbp, rax
jmp 0x14038da4f
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
jmp 0x14038da4f
mov qword [rsp + 0x38], rcx
mov ecx, 2
call fcn.140206de0
test al, al
jne 0x14038ddd0
xor eax, eax
jmp 0x14038da63
mov ebp, eax
mov ecx, 1
call fcn.140206de0
test al, al
je 0x14038db1a
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x170]
mov r8d, 0x1db
mov r9d, 1
call fcn.140110ed0
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
lea rcx, [rsp + 0x180]
call fcn.140294040
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
mov edx, ebp
call fcn.1402d6fe0
lea rdx, [rsp + 0x50]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
jns 0x14038dd43
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call fcn.140294040
cmp byte [rsp + 0x67], 0
jns 0x14038dd5e
mov rcx, qword [rsp + 0x50]
call fcn.1402523c4
lea rcx, [rsp + 0x170]
call fcn.1401113c0
jmp 0x14038db1a
mov rcx, qword [rsp + 0x120]
call fcn.1402523c4
jmp 0x14038daf9
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.140356410
mov r8d, 0x18
lea rcx, [rsp + 0x180]
lea rdx, str.NtQueryInformationThread
call fcn.140294040
mov rcx, rbp
call fcn.140356440
jmp 0x14038db45
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x170]
mov r8d, 0x1ca
mov r9d, 2
call fcn.140110ed0
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x180]
call fcn.140294040
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.1400aae40
lea rdx, [0x14042ab98]
mov r8d, 3
mov rcx, rax
call fcn.140294040
mov rcx, rax
mov rdx, rbp
call fcn.1400aae40
lea rcx, [rsp + 0x170]
call fcn.1401113c0
jmp 0x14038dcc4
lea rcx, [0x14046bcf8]
call fcn.1402524e0
cmp dword [0x14046bcf8], 0xffffffff
jne 0x14038da90
lea rcx, [0x1403dcfc8]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1401759c0
mov qword [0x14046bcf0], rax
lea rcx, [0x14046bcf8]
call fcn.140252578
jmp 0x14038da90
mov qword [rsp + 0x70], 0
int3