Function at 0x140013a90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x4690
call fcn.140037150
sub rsp, rax
mov rax, qword [0x140049e00]
xor rax, rsp
mov qword [rsp + 0x4680], rax
mov rcx, qword [0x1400573f8]
xor esi, esi
cmp rcx, rsi
jne 0x140013b09
lea edi, [rsi + 0x28]
mov rcx, rdi
call fcn.14001b078
mov rbx, rax
cmp rax, rsi
je 0x140013aef
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14001cb10
jmp 0x140013af2
mov rbx, rsi
mov rcx, rbx
mov qword [0x1400573f8], rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, qword [0x1400573f8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x1400573f0]
cmp rcx, rsi
je 0x140013b37
cmp qword [0x1400573e8], rsi
jne 0x140013b37
lea rdx, str.a_ccsUTF_8
call fcn.14001d040
mov qword [0x1400573e8], rax
cmp byte [0x1400573e0], sil
jne 0x140013d1b
mov bl, byte [0x140058bf3]
lea rdx, [rsp + 0x30]
lea rcx, str.EXE4J_LOG
mov ebp, 1
mov r8d, 0x1770
mov byte [0x1400573e0], bpl
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, esi
jbe 0x140013b8b
lea rdx, [0x14003da48]
lea rcx, [rsp + 0x30]
call fcn.14001c700
movzx ebx, bl
cmp eax, esi
cmove ebx, ebp
lea rdx, [rsp + 0x30]
lea rcx, str.INSTALL4J_LOG
mov r8d, 0x1770
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, esi
jbe 0x140013bc0
lea rdx, [0x14003da48]
lea rcx, [rsp + 0x30]
call fcn.14001c700
movzx ebx, bl
cmp eax, esi
cmove ebx, ebp
cmp bl, sil
je 0x140013d1b
mov edi, 0x2ee0
mov rcx, rdi
call fcn.140019b3c
xor edx, edx
mov rcx, rax
mov rbx, rax
mov word [rax], si
call fcn.140006e0c
mov rcx, rbx
call fcn.14001b1d8
cmp eax, esi
jne 0x140013c03
lea rdx, [0x14003da30]
mov rcx, rbx
call fcn.14001b8bc
jmp 0x140013c24
cdqe
cmp word [rbx + rax*2 - 2], 0x5c
je 0x140013c24
cmp word [rbx + rax*2 - 2], 0x2f
je 0x140013c24
lea rdx, [0x14003b1e0]
mov rcx, rbx
call fcn.14001b890
mov rcx, rdi
call fcn.140019b3c
mov edi, esi
mov qword [0x1400573f0], rax
add edi, ebp
lea rdx, str._si4j_nlog__d.log
mov r8, rbx
mov r9d, edi
mov rcx, rax
call fcn.1400139dc
mov rcx, qword [0x1400573f0]
call fcn.140005c30
cmp al, sil
je 0x140013c6e
cmp edi, 0x3e8
jge 0x140013c6e
mov rax, qword [0x1400573f0]
jmp 0x140013c35
mov rcx, rbx
call fcn.14001aaec
mov rcx, qword [0x1400573f0]
lea rdx, str.w_ccsUTF_8
call fcn.14001d040
mov qword [0x1400573e8], rax
cmp rax, rsi
jne 0x140013cbb
lea rcx, str.c:i4j_nlog
lea rdx, str.w_ccsUTF_8
mov qword [0x1400573f0], rcx
call fcn.14001d040
mov qword [0x1400573e8], rax
cmp rax, rsi
je 0x140013d1b
lea rdx, [rsp + 0x17a0]
mov r8d, 0x1770
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
call fcn.14001c664
lea rcx, [rsp + 0x20]
call fcn.14001ec24
mov rcx, qword [0x1400573e8]
lea r8, [rsp + 0x17a0]
lea rdx, str.Started_executable__s_at__S_n
mov r9, rax
call fcn.14001ec84
mov rcx, qword [0x1400573e8]
call fcn.14001bfa8
call fcn.140013a00
mov qword [0x140057400], rax
mov rcx, qword [rsp + 0x4680]
xor rcx, rsp
call fcn.14001ae80
lea r11, [rsp + 0x4690]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret