Function at 0x1400017dc
Capabilities:
Capture process snapshot data
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7c8]
sub rsp, 0x8a0
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov r13, rdx
lea eax, [rcx - 7]
mov dword [rbp + 0x1f0], eax
cmp eax, 0xb
ja 0x140001c0f
xor ebx, ebx
mov qword [rbp + 0x1f8], rbx
mov rdx, qword [rdx + 8]
lea rcx, [rbp + 0x1f8]
call fcn.140002330
nop
mov rcx, qword [rbp + 0x1f8]
movzx r15d, word [rcx]
sub r15d, 0x7e
jne 0x14000185e
movzx r15d, word [rcx + 2]
movzx eax, bx
sub r15d, eax
mov r12d, ebx
test r15d, r15d
setne r12b
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140001c44
mov r14d, eax
test eax, eax
js 0x140001be8
mov rdx, qword [r13 + 0x18]
lea rcx, [rsp + 0x50]
call fcn.140001c44
mov r14d, eax
test eax, eax
js 0x140001be8
mov rdx, qword [r13 + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140001c44
mov r14d, eax
test eax, eax
js 0x140001be8
mov rdx, qword [r13 + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140001c44
mov r14d, eax
test eax, eax
js 0x140001be8
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
test r15d, r15d
je 0x140001902
test rsi, rsi
je 0x1400018f7
test rbx, rbx
je 0x1400018f7
test rdi, rdi
je 0x1400018f7
cmp qword [rsp + 0x40], 0
jne 0x140001902
mov r14d, 0x800700a0
jmp 0x140001be8
mov qword [rbp + 0x210], rsi
mov qword [rbp + 0x200], rbx
mov qword [rbp + 0x208], rdi
test r15d, r15d
je 0x1400019ff
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140004668]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r15d, r15d
test rax, rax
jne 0x140001a02
mov r12d, r15d
mov qword [rsp + 0x60], r15
test rbx, rbx
je 0x140001969
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, r15
mov qword [rbp + 0x200], rbx
test rdi, rdi
je 0x140001981
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, r15
mov qword [rbp + 0x208], r15
test rsi, rsi
je 0x1400019a2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, r15
mov qword [rbp + 0x210], r15
test r14d, r14d
js 0x140001bbb
mov rcx, r15
mov qword [rsp + 0x70], rcx
test r12d, r12d
je 0x140001a60
mov r9d, 8
lea r8, [rsp + 0x70]
lea edx, [r9 - 7]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_PssQuerySnapshot]
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
test r14d, r14d
jns 0x140001a5b
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_PssFreeSnapshot]
jmp 0x140001bbb
xor r15d, r15d
mov qword [rsp + 0x60], r15
test r12d, r12d
je 0x140001951
lea r9, [rsp + 0x60]
mov edx, 0xc00019fd
mov r8d, 0x10001f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_PssCaptureSnapshot]
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
test rbx, rbx
je 0x140001981
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, r15
mov qword [rbp + 0x200], rbx
jmp 0x140001981
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140001a6a
call fcn.140002060
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.wer.dll_WerReportCreate]
mov r14d, eax
test eax, eax
js 0x140001b9a
lea r8, [r13 + 0x38]
mov edx, dword [rbp + 0x1f0]
mov rcx, qword [rsp + 0x68]
call fcn.140001cb0
mov r14d, eax
test eax, eax
js 0x140001b8f
test r12d, r12d
je 0x140001b71
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x220]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x70]
call fcn.140001f94
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
test eax, eax
js 0x140001b07
lea rax, [rbp + 0x220]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x2c0]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], r15d
mov r14d, 0x248
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], r14d
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x1d8], rax
mov dword [rsp + 0x30], r15d
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.wer.dll_WerReportAddDump]
test rdi, rdi
je 0x140001b71
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, r15
mov qword [rbp + 0x208], r15
lea r9, [rbp + 0x1f0]
mov edx, 1
lea r8d, [rdx + 0xf]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.wer.dll_WerReportSubmit]
mov r14d, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.wer.dll_WerReportCloseHandle]
test r12d, r12d
je 0x140001bbb
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_PssFreeSnapshot]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
test rdi, rdi
je 0x140001bca
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x140001bd9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rsi, rsi
je 0x140001be8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x1f8]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140001c0a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, r14d
jmp 0x140001c14
mov eax, 0x800700a0
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.140002910
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret