Function at 0x14014f390
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x748
movaps xmmword [rsp + 0x730], xmm6
mov r12d, edx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x728], rax
mov qword [rsp + 0x48], rcx
mov r15, qword [rcx]
mov ecx, 0x4000
call fcn.1401803cc
mov r13, rax
mov ebp, 0x4000
mov esi, 0x14
lea rdi, [rsp + 0xc8]
mov r14d, 0x1000
mov ecx, 5
mov rdx, r13
mov r8d, ebp
mov r9, rdi
call fcn.1400d0a50
mov ebx, eax
cmp eax, 0xc0000023
je 0x14014f411
cmp ebx, 0xc0000004
jne 0x14014f437
mov ebp, dword [rsp + 0xc8]
add ebp, r14d
mov rcx, r13
call fcn.1401803d4
mov rcx, rbp
call fcn.1401803cc
mov r13, rax
dec esi
jne 0x14014f3ed
jmp 0x14014f4e0
test ebx, ebx
js 0x14014f4e0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
mov rsi, r13
mov r14, qword [rsp + 0x48]
cmp dword [rsi + 0x50], ebx
je 0x14014f526
mov eax, dword [rsi]
add rsi, rax
test rax, rax
cmove rsi, rax
test rsi, rsi
jne 0x14014f452
mov ecx, 2
call fcn.140055330
test al, al
je 0x14014f4f2
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x210]
mov rcx, rdi
mov r8d, 0x6c
mov r9d, 2
call fcn.1400553e0
lea rcx, [rsp + 0x220]
lea rdx, str.process
mov r8d, 8
call fcn.140006490
mov rcx, rax
mov edx, ebx
call fcn.1400159b0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.140006490
mov rcx, rdi
call fcn.140055870
jmp 0x14014f4f2
mov ecx, 2
call fcn.140055330
test al, al
jne 0x14014fc91
mov rcx, r13
call fcn.1401803d4
mov rcx, qword [rsp + 0x728]
xor rcx, rsp
call fcn.140180700
movaps xmm6, xmmword [rsp + 0x730]
add rsp, 0x748
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rsi, rsi
je 0x14014f4f2
cmp dword [rsi + 4], 0
je 0x14014f4f2
mov byte [rsp + 0x2f], r12b
lea r15, [rsp + 0x68]
lea rax, [r14 + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [r14 + 0x130]
mov qword [rsp + 0x38], rax
lea rbp, [rsp + 0x210]
xorps xmm6, xmm6
xor r12d, r12d
lea rbx, [r12 + r12*4]
shl rbx, 4
lea rdi, [rsi + rbx]
add rdi, 0x128
mov r8d, 0x504
mov rcx, rbp
xor edx, edx
call fcn.140183b00
mov rax, qword [rdi + 8]
mov qword [rsp + 0x6e0], rax
mov dword [rsp + 0x60], 0x30
movups xmmword [r15], xmm6
mov dword [r15 + 0x10], 0
movups xmmword [r15 + 0x18], xmm6
lea rcx, [rsp + 0x98]
mov edx, 0x4a
lea r8, [rsp + 0x60]
mov r9, rdi
call fcn.1400d09b0
test eax, eax
js 0x14014f61f
mov rdi, qword [rsp + 0x98]
test rdi, rdi
je 0x14014fc08
mov bpl, byte [r14 + 0x160]
mov rax, qword [rsp + 0x6e0]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
mov qword [rsp + 0x30], rdi
jne 0x14014f681
mov dword [rsp + 0x708], 0
lea rbp, [rsp + 0x210]
mov rcx, rbp
call fcn.140180ab0
jmp 0x14014f868
mov edi, eax
mov ecx, 2
call fcn.140055330
test al, al
je 0x14014fc08
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0xc8]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x7b
mov r9d, 2
call fcn.1400d0dc0
mov r8d, ntohl
lea rcx, [rsp + 0xd8]
lea rdx, str.NtOpenThread
call fcn.140006490
mov rcx, rdi
call fcn.1400d0df0
jmp 0x14014fc08
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
test eax, eax
je 0x14014f6fe
cmp edi, 0xffffffff
jne 0x14014f78f
mov ecx, 2
call fcn.140055330
test al, al
lea rbp, [rsp + 0x210]
mov rdi, qword [rsp + 0x30]
je 0x14014fc00
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xc8]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x97
mov r9d, 2
call fcn.140055fe0
mov r8d, ntohl
lea rcx, [rsp + 0xd8]
lea rdx, [0x1401dad17]
jmp 0x14014fb39
test bpl, bpl
je 0x14014f78f
mov ecx, 1
call fcn.140055330
xor edi, edi
test al, al
je 0x14014f795
lea rbp, [rsp + 0xc8]
mov rcx, rbp
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x9c
mov r9d, 1
call fcn.1400553e0
mov r8d, 7
lea rcx, [rsp + 0xd8]
lea rdx, str.Thread
call fcn.140006490
mov rdx, qword [rsp + 0x6e0]
mov rcx, rax
call fcn.140015e30
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140006490
xor edi, edi
mov rcx, rax
xor edx, edx
call fcn.1400159b0
mov rcx, rbp
call fcn.140055870
jmp 0x14014f795
movzx eax, bpl
sub edi, eax
mov dword [rsp + 0x708], edi
mov r8d, 0x4d0
lea rbp, [rsp + 0x210]
mov rcx, rbp
xor edx, edx
call fcn.140183b00
cmp byte [rsp + 0x2f], 0
je 0x14014f833
mov dword [rsp + 0x210], 0x10001f
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x14014f857
mov ecx, 2
call fcn.140055330
test al, al
je 0x14014fc00
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xc8]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xae
mov r9d, 2
call fcn.140055fe0
mov r8d, 0x15
lea rcx, [rsp + 0xd8]
lea rdx, [0x1401dad62]
jmp 0x14014fb39
mov dword [rsp + 0x240], 0x10001f
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14014fae6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x14014fa91
mov dword [rsp + 0x70c], 0x20
mov eax, dword [rsi + rbx + 0x138]
mov dword [rsp + 0x710], eax
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
lea r8, [rsp + 0x98]
mov r9d, 0x30
call fcn.1400d0af0
test eax, eax
js 0x14014f93e
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x6e8], rdx
mov qword [rsp + 0x6f0], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x60]
call fcn.1401097a0
test al, al
je 0x14014f9d6
cmp byte [rsp + 0x2f], 0
je 0x14014f9a0
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x6e8], rdx
mov qword [rsp + 0x6f0], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0xc8]
call fcn.1401097a0
mov edi, dword [rsp + 0xcc]
mov ebx, dword [rsp + 0xd0]
test al, al
mov eax, 0
cmove rdi, rax
cmove rbx, rax
jmp 0x14014f9aa
mov edi, eax
mov ecx, 2
call fcn.140055330
test al, al
je 0x14014fbfb
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0xc8]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x15b
mov r9d, 2
call fcn.1400d0dc0
mov r8d, 0x18
lea rcx, [rsp + 0xd8]
lea rdx, str.NtQueryInformationThread
call fcn.140006490
mov rcx, rdi
call fcn.1400d0df0
jmp 0x14014fbfb
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x6f8], rbx
mov rax, rdi
sub rax, rbx
jae 0x14014f9ce
mov ecx, 2
call fcn.140055330
test al, al
jne 0x14014fc1c
xor eax, eax
mov qword [rsp + 0x700], rax
mov r15, qword [r14 + 0x138]
mov rax, qword [r14 + 0x140]
cmp r15, rax
je 0x14014fa0d
mov r8d, 0x510
mov rcx, r15
mov rdx, rbp
call fcn.1401836f0
add r15, 0x510
mov qword [r14 + 0x138], r15
jmp 0x14014fbf6
mov rcx, qword [rsp + 0x38]
mov r14, qword [rcx]
mov rdi, r15
sub rdi, r14
sar rdi, 4
movabs rbp, 0x2c3f35ba781948b1
imul rdi, rbp
lea rcx, [rdi + 1]
movabs rdx, 0x329161f9add3c0
cmp rcx, rdx
ja 0x14014fcdf
sub rax, r14
sar rax, 4
imul rax, rbp
lea rbp, [rax + rax]
cmp rbp, rcx
cmovb rbp, rcx
movabs rcx, 0x1948b0fcd6e9e0
cmp rax, rcx
cmovae rbp, rdx
test rbp, rbp
je 0x14014fb50
cmp rbp, rdx
ja 0x14014fce9
imul rcx, rbp, 0x510
call fcn.140180340
mov rbx, rax
jmp 0x14014fb52
mov ecx, 2
call fcn.140055330
test al, al
je 0x14014fc00
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xc8]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xbc
mov r9d, 2
call fcn.140055fe0
mov r8d, ntohl
lea rcx, [rsp + 0xd8]
lea rdx, [0x1401dad89]
jmp 0x14014fb39
mov ecx, 2
call fcn.140055330
test al, al
je 0x14014fc00
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0xc8]
mov rcx, rdi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0xb6
mov r9d, 2
call fcn.140055fe0
mov r8d, 0x10
lea rcx, [rsp + 0xd8]
lea rdx, [0x1401dad78]
call fcn.140006490
mov rcx, rdi
mov rdi, qword [rsp + 0x30]
call fcn.1400560d0
jmp 0x14014fc00
xor ebx, ebx
imul rax, rdi, 0x510
mov qword [rsp + 0x50], rax
lea rdi, [rbx + rax]
imul rax, rbp, 0x510
add rax, rbx
mov qword [rsp + 0x58], rax
mov r8d, 0x510
mov rcx, rdi
lea rbp, [rsp + 0x210]
mov rdx, rbp
call fcn.1401836f0
mov rax, qword [rsp + 0x50]
add rbx, rax
add rbx, 0x510
cmp r15, r14
je 0x14014fbca
add r15, 0xfffffffffffffaf0
add rdi, 0xfffffffffffffaf0
mov r8d, 0x510
mov rcx, rdi
mov rdx, r15
call fcn.1401836f0
cmp r14, r15
jne 0x14014fb9e
mov rax, qword [rsp + 0x38]
mov r15, qword [rax]
mov r14, qword [rsp + 0x48]
mov qword [r14 + 0x130], rdi
mov qword [r14 + 0x138], rbx
mov rax, qword [rsp + 0x58]
mov qword [r14 + 0x140], rax
test r15, r15
je 0x14014fbf6
mov rcx, r15
call fcn.140180390
lea r15, [rsp + 0x68]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.1400cc750
inc r12
mov eax, dword [rsi + 4]
cmp r12, rax
jb 0x14014f561
jmp 0x14014f4f2
lea r15, [rsp + 0xc8]
mov rcx, r15
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov r8d, 0x17b
mov r9d, 2
call fcn.1400553e0
mov r8d, 0x15
lea rcx, [rsp + 0xd8]
lea rdx, str.invalid_stack_range:
call fcn.140006490
mov rcx, rax
mov rdx, rdi
call fcn.140015e30
mov r8d, 3
mov rcx, rax
lea rdx, [0x1401cce52]
call fcn.140006490
mov rcx, rax
mov rdx, rbx
call fcn.140015e30
mov rcx, r15
call fcn.140055870
jmp 0x14014f9cc
mov dword [rsp + 0x20], ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rdi, [rsp + 0x210]
mov rcx, rdi
mov r8d, 0x5a
mov r9d, 2
call fcn.1400d0dc0
lea rcx, [rsp + 0x220]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.140006490
mov rcx, rdi
call fcn.1400d0df0
jmp 0x14014f4f2
mov rcx, qword [rsp + 0x38]
call fcn.1400399c0
call fcn.140194834
int3