Function at 0x18000448c
Capabilities:
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov r12b, r8b
lea rcx, str.JDK_ALTERNATE_VM
mov rbp, rdx
or edi, 0xffffffff
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
movsxd r14, dword [rsi]
mov rbx, rax
mov qword [rsp + 0x20], r14
lea rcx, [r14*8 + 8]
call sym.jli.dll_JLI_MemAlloc
mov rcx, rax
mov qword [rsp + 0x28], rax
mov rax, qword [rbp]
lea esi, [rdi + 2]
mov r13d, esi
mov r9, qword [rax]
mov qword [rcx], r9
cmp r14, rsi
jle 0x180004626
mov rdx, qword [0x180015110]
lea r14, [rcx + 8]
mov r15d, esi
cmp byte [0x1800150e0], 0
mov rax, qword [rbp]
mov dword [rsp + 0x88], edi
mov rbp, qword [rax + r15*8]
je 0x180004536
cmp byte [rbp], 0x2d
je 0x180004588
inc esi
mov qword [r14], rbp
add r14, 8
jmp 0x180004609
mov rcx, rbp
call fcn.180004b90
test al, al
je 0x18000457e
mov rdx, qword [0x180015110]
inc esi
mov qword [r14], rbp
inc r13d
mov rbp, qword [rsp + 0x78]
add r14, 8
inc r15
cmp r15, qword [rsp + 0x20]
jge 0x18000460e
mov rax, qword [rbp]
inc esi
mov rcx, qword [rax + r15*8]
mov qword [r14], rcx
add r14, 8
jmp 0x18000460e
cmp byte [rbp], 0x2d
jne 0x180004621
mov rcx, rbp
call fcn.180005830
movsxd rdi, eax
test eax, eax
js 0x1800045b5
mov rdx, qword [0x180015110]
mov rcx, rdi
mov rax, qword [rsp + 0x70]
shl rcx, 5
mov rbx, qword [rcx + rdx]
inc rbx
dec dword [rax]
jmp 0x180004609
lea rdx, str._XXaltjvm
mov rcx, rbp
call fcn.18000920c
test eax, eax
je 0x1800045ed
lea rdx, str._J_XXaltjvm
mov rcx, rbp
call fcn.18000920c
test eax, eax
je 0x1800045ed
mov edi, dword [rsp + 0x88]
inc esi
mov qword [r14], rbp
add r14, 8
jmp 0x180004602
cmp byte [rbp + 1], 0x58
mov ebx, 0xc
lea eax, [rbx - 2]
cmove ebx, eax
add rbx, rbp
or edi, 0xffffffff
mov rdx, qword [0x180015110]
mov rbp, qword [rsp + 0x78]
inc r13d
inc r15
cmp r15, qword [rsp + 0x20]
jl 0x18000450a
jmp 0x18000462d
mov rbp, qword [rsp + 0x78]
mov rdx, qword [0x180015110]
mov r14, qword [rsp + 0x20]
mov r10, qword [rsp + 0x28]
movsxd r8, r13d
cmp r8, r14
jge 0x18000465f
movsxd rax, esi
lea r9, [r10 + rax*8]
mov rax, qword [rbp]
inc esi
mov rcx, qword [rax + r8*8]
inc r8
mov qword [r9], rcx
lea r9, [r9 + 8]
cmp r8, r14
jl 0x180004646
movsxd rax, esi
and qword [r10 + rax*8], 0
mov rax, qword [rsp + 0x70]
mov qword [rbp], r10
mov dword [rax], esi
test rbx, rbx
jne 0x180004693
mov rbx, qword [rdx]
lea rcx, str.Default_VM:__s_n
lea rdx, [rbx + 1]
call fcn.180009270
lea rax, [rbx + 1]
jmp 0x1800047a6
test edi, edi
js 0x1800047a3
xor esi, esi
movsxd rax, edi
shl rax, 5
jmp 0x1800046dc
mov ebx, edi
shl rbx, 5
mov rcx, qword [rbx + rdx + 0x10]
call fcn.180005830
cmp esi, dword [0x180015118]
movsxd rdi, eax
jg 0x180004736
test eax, eax
js 0x18000470d
mov rdx, qword [0x180015110]
mov rax, rdi
shl rax, 5
mov rbx, qword [rax + rdx]
inc rbx
inc esi
cmp dword [rax + rdx + 8], 1
je 0x1800046a6
mov ecx, edi
shl rcx, 5
mov r8d, dword [rcx + rdx + 8]
sub r8d, 2
je 0x18000477c
sub r8d, 1
je 0x180004753
cmp r8d, 2
je 0x18000479d
jmp 0x1800047a3
test r12b, r12b
jne 0x180004773
mov rdx, qword [0x180015110]
lea rcx, str.Error:_Unable_to_resolve_VM_alias__s
mov rdx, qword [rbx + rdx + 0x10]
call sym.jli.dll_JLI_ReportErrorMessage
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test r12b, r12b
jne 0x180004773
lea rcx, str.Error:_Corrupt_jvm.cfg_file__cycle_in_alias_list.
call sym.jli.dll_JLI_ReportErrorMessage
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test r12b, r12b
jne 0x180004773
mov rdx, rbx
lea rcx, str.Error:__s_VM_not_supported
call sym.jli.dll_JLI_ReportErrorMessage
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rax, str.ERROR
jmp 0x1800047a6
test r12b, r12b
jne 0x18000479d
mov r8, qword [rdx]
lea rcx, str.Warning:__s_VM_not_supported___s_VM_will_be_used
inc r8
mov rdx, rbx
call sym.jli.dll_JLI_ReportErrorMessage
mov rdx, qword [0x180015110]
mov rbx, qword [rdx]
inc rbx
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret