Function at 0x140001e80
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov r15, rdx
mov dword [rsp + 0x50], 1
call fcn.1400019a0
mov r8, qword [rax]
lea rdx, str.JRCrashHandlerApp::CreateMiniDump
mov rcx, rax
call qword [r8 + 0x20]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], 1
lea rax, vtable.JRTimer.0
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x68]
call fcn.1400097f0
mov dword [rsp + 0x78], 0x8a33f231
xor r12d, r12d
cmp byte [rsp + 0x60], r12b
je 0x140001f35
mov rcx, qword [0x140053068]
test rcx, rcx
je 0x140001f3c
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x140001f35
mov r10, qword [rax]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r9, str.Start
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [r10 + 0x10]
mov rcx, qword [0x140053068]
test rcx, rcx
je 0x140001f4e
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rbx, rax
jmp 0x140001f51
mov rbx, r12
lea rcx, [rbp - 0x60]
call fcn.140001c90
nop
test rbx, rbx
je 0x140002300
cmp qword [rbp - 0x60], 0
je 0x140002300
mov rcx, qword [0x140053068]
test rcx, rcx
je 0x140001fac
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x140001fac
mov r10, qword [rax]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r9, str.Trying_to_set_dump_privileges
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [r10 + 0x10]
mov qword [rbp + 0xe0], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0xe0]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000201a
mov dword [rbp - 0x70], 1
lea r8, [rbp - 0x6c]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14000201a
mov dword [rbp - 0x64], 2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 0x10
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x14000202c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
lea rdx, [rbp + 0xf8]
mov rcx, rbx
call qword [rax + 0x80]
mov rbx, rax
call fcn.1400019a0
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov edi, 0xffffffff
mov r9d, edi
mov r8d, edi
mov rdx, qword [rbx]
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rbp + 0xf0], rax
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x140002087
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0xf8], r12
mov dword [rsp + 0x40], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x50], xmm0
mov dword [rsp + 0x40], r12d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x40], xmm1
mov dword [rsp + 0x40], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rbp - 0x50], 3
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x20], xmm0
mov rcx, qword [0x140053068]
test rcx, rcx
je 0x14000213a
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14000213a
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x20], rcx
lea rcx, [rbp + 0x30]
mov qword [rbp - 0x18], rcx
lea rcx, [rbp + 0x40]
mov qword [rbp - 0x10], rcx
lea rcx, [rbp + 0x50]
mov qword [rbp - 8], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
lea r9, str.Creating_dump_output_file_at__s
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [r10 + 0x10]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov ecx, dword [r15 + 4]
mov dword [rbp - 0x80], ecx
mov rcx, qword [r15 + 8]
mov qword [rbp - 0x7c], rcx
mov dword [rbp - 0x74], 1
lea rax, [0x140001e20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
mov r8d, dword [r15]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x14000227d
mov dword [rsp + 0x40], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x90], xmm0
mov dword [rsp + 0x40], r12d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x80], xmm1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x40], 4
mov eax, eax
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x70], xmm0
mov dword [rsp + 0x40], 4
mov eax, dword [r15]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x60], xmm0
mov rcx, qword [0x140053068]
test rcx, rcx
je 0x140002270
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x140002270
lea rcx, [rbp + 0x60]
mov qword [rbp], rcx
lea rcx, [rbp + 0x70]
mov qword [rbp + 8], rcx
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x10], rcx
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x18], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rbp]
mov qword [rsp + 0x20], rcx
lea r9, str.Unable_to_open_process__d.__GetLastError__:__d_
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [r10 + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x1400022cd
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x7c], 0
cmove rax, r12
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov r9d, 0x1975
mov r8, rsi
mov edx, dword [r15]
mov rcx, r14
call qword [rbp - 0x60]
test eax, eax
setne bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov dword [rsp + 0x78], eax
mov rdx, qword [rbp + 0xf0]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400022fe
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400022f4
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400022fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14000233f
mov rcx, qword [0x140053068]
test rcx, rcx
je 0x14000233d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14000233d
mov r10, qword [rax]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r9, str.dbghelp.dll_is_not_available__unable_to_write_minidump
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [r10 + 0x10]
xor bl, bl
lea rcx, [rbp - 0x58]
call fcn.140009e10
nop
lea rcx, [rsp + 0x50]
call fcn.140009570
movzx eax, bl
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret