Function at 0x180004bc4
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d8]
sub rsp, 0x3d8
mov rax, qword [0x180015060]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rax, qword [rbp + 0x368]
xor edi, edi
mov r15, qword [rbp + 0x348]
mov r14, r9
mov qword [0x1800150d8], rax
mov r12d, edi
mov al, byte [rbp + 0x370]
mov esi, edi
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbp + 0x350]
mov byte [0x1800150e0], al
mov al, byte [rbp + 0x378]
mov qword [rsp + 0x48], rdx
mov rdx, qword [rbp + 0x360]
mov qword [0x1800150e8], rcx
mov cl, byte [rbp + 0x380]
mov byte [0x1800150e2], al
mov qword [rsp + 0x58], r9
movsxd r13, r8d
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x60], rdi
mov qword [0x1800150d0], rdx
call fcn.18000844c
call fcn.180008de8
test al, al
je 0x180004d38
lea rcx, str.Launcher_state:_n
call fcn.18000772c
call sym.jli.dll_JLI_GetAppArgIndex
mov edx, eax
lea rcx, str._tFirst_application_arg_index:__d_n
call fcn.18000772c
call fcn.180008de8
cmp al, 1
lea rcx, [0x18000f504]
lea rbx, [0x18000f508]
mov rdx, rbx
cmove rdx, rcx
lea rcx, str._tdebug:_s_n
call fcn.18000772c
cmp byte [0x1800150e0], 1
lea rax, [0x18000f504]
mov rdx, rbx
lea rcx, str._tjavargs:_s_n
cmove rdx, rax
call fcn.18000772c
mov rdx, qword [0x1800150d0]
lea rcx, str._tprogram_name:_s_n
call fcn.18000772c
mov rdx, qword [0x1800150d8]
lea rcx, str._tlauncher_name:_s_n
call fcn.18000772c
call fcn.180008488
cmp al, 1
lea rcx, str._tjavaw:_s_n
lea rax, [0x18000f504]
cmove rbx, rax
mov rdx, rbx
call fcn.18000772c
mov rdx, qword [0x1800150e8]
lea rcx, str._tfullversion:_s_n
call fcn.18000772c
call fcn.180008de8
test al, al
je 0x180004dcf
lea rcx, str.Java_args:_n
call fcn.18000772c
mov r14d, edi
test r13d, r13d
jle 0x180004d82
mov rsi, qword [rsp + 0x58]
mov rbx, rdi
mov r8, qword [rsi + rbx*8]
lea rcx, str.jargv__d____s_n
mov edx, r14d
call fcn.18000772c
inc r14d
inc rbx
cmp rbx, r13
jl 0x180004d61
mov rsi, rdi
lea rcx, str.Command_line_args:_n
call fcn.18000772c
mov ebx, edi
cmp dword [rsp + 0x40], edi
jle 0x180004dbc
mov r14, rdi
mov r8, qword [rsp + 0x48]
lea rcx, str.argv__d____s_n
mov edx, ebx
mov r8, qword [r14 + r8]
call fcn.18000772c
inc ebx
lea r14, [r14 + 8]
cmp ebx, dword [rsp + 0x40]
jl 0x180004d99
xor edx, edx
lea rcx, str._Dsun.java.launcher.diagtrue
call fcn.180004310
mov r14, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
lea r8, [rsp + 0x68]
mov ecx, dword [rsp + 0x40]
call fcn.180006df4
mov r9d, 0x104
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x38], r9d
lea r8, [rbp + 0xa0]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x28], r9d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.180007ecc
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
call fcn.180008de8
test al, al
je 0x180004e38
call fcn.1800080f8
mov r12, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1800088bc
test al, al
jne 0x180004e54
mov eax, 6
jmp 0x180005071
call fcn.180008de8
test al, al
je 0x180004e65
call fcn.1800080f8
mov rsi, rax
sub esi, r12d
lea rcx, str._ld_micro_seconds_to_LoadJavaVM_n
mov edx, esi
call fcn.180009270
add qword [rsp + 0x48], 8
dec dword [rsp + 0x40]
cmp byte [0x1800150e0], dil
je 0x180004eba
lea r9, [rsp + 0x48]
mov rdx, r14
lea r8, [rsp + 0x40]
mov ecx, r13d
call fcn.1800073a8
mov ecx, dword [rbp + 0x340]
mov rdx, r15
call fcn.180004150
test al, al
jne 0x180004ed4
mov eax, 1
jmp 0x180005071
lea rcx, str.CLASSPATH
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180004ed4
mov rcx, rax
call fcn.1800070f4
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x58]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.180005bac
test al, al
jne 0x180004f10
mov eax, dword [rsp + 0x58]
jmp 0x180005071
mov r13d, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
cmp r13d, 2
jne 0x180004f8d
test rsi, rsi
je 0x180004f8d
mov rcx, rsi
call fcn.18000ac74
mov rcx, rax
mov r14, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, r14
lea rbx, [rax + 0x13]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rbx, rax
jb 0x180004f8d
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + 0x13]
call sym.jli.dll_JLI_MemAlloc
mov r8, r14
lea rdx, str._Djava.class.path_s
mov rcx, rax
mov rbx, rax
call fcn.1800077d8
xor edx, edx
mov rcx, rbx
call fcn.180004310
cmp r14, rsi
je 0x180004f86
mov rcx, r14
call sym.jli.dll_JLI_MemFree
mov byte [0x1800150e1], 1
mov r12, qword [rsp + 0x48]
movsxd rbx, dword [rsp + 0x40]
test rsi, rsi
je 0x180005036
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r15, rax
mov r14, rbx
test ebx, ebx
jle 0x180004fcc
mov rbx, rdi
mov rcx, qword [r12 + rbx*8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc r15
inc rbx
add r15, rax
cmp rbx, r14
jl 0x180004fb5
lea rcx, str._Dsun.java.command
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + 1]
add rcx, r15
call sym.jli.dll_JLI_MemAlloc
lea rdx, str._Dsun.java.command
mov rcx, rax
mov rbx, rax
mov byte [rax], dil
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov rdx, rsi
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
test r14, r14
jle 0x18000502c
lea rdx, [0x18000f1e4]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov rdx, qword [r12 + rdi*8]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
inc rdi
cmp rdi, r14
jl 0x180005009
xor edx, edx
mov rcx, rbx
call fcn.180004310
xor edx, edx
lea rcx, str._Dsun.java.launcherSUN_STANDARD
call fcn.180004310
mov eax, dword [rsp + 0x58]
lea rcx, [rsp + 0x70]
mov r9, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [0x180015120]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r13d
call fcn.180008870
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.18000b420
add rsp, 0x3d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret