Function at 0x140011714
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.140031150
sub rsp, rax
mov rax, qword [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0x4680], rax
mov rcx, qword [0x14004df90]
xor esi, esi
cmp rcx, rsi
jne 0x14001178d
lea edi, [rsi + 0x28]
mov rcx, rdi
call fcn.140017058
mov rbx, rax
cmp rax, rsi
je 0x140011773
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140018af0
jmp 0x140011776
mov rbx, rsi
mov rcx, rbx
mov qword [0x14004df90], rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, qword [0x14004df90]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x14004df88]
cmp rcx, rsi
je 0x1400117bb
cmp qword [0x14004df80], rsi
jne 0x1400117bb
lea rdx, str.a_ccsUTF_8
call fcn.140019020
mov qword [0x14004df80], rax
cmp byte [0x14004df78], sil
jne 0x14001199f
mov bl, byte [0x14004f793]
lea rdx, [rsp + 0x30]
lea rcx, str.EXE4J_LOG
mov ebp, 1
mov r8d, 0x1770
mov byte [0x14004df78], bpl
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, esi
jbe 0x14001180f
lea rdx, [0x140037480]
lea rcx, [rsp + 0x30]
call fcn.1400186e0
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 0x140011844
lea rdx, [0x140037480]
lea rcx, [rsp + 0x30]
call fcn.1400186e0
movzx ebx, bl
cmp eax, esi
cmove ebx, ebp
cmp bl, sil
je 0x14001199f
mov edi, 0x2ee0
mov rcx, rdi
call fcn.140016610
xor edx, edx
mov rcx, rax
mov rbx, rax
mov word [rax], si
call fcn.140006e0c
mov rcx, rbx
call fcn.1400171b8
cmp eax, esi
jne 0x140011887
lea rdx, [0x140037468]
mov rcx, rbx
call fcn.14001789c
jmp 0x1400118a8
cdqe
cmp word [rbx + rax*2 - 2], 0x5c
je 0x1400118a8
cmp word [rbx + rax*2 - 2], 0x2f
je 0x1400118a8
lea rdx, [0x140035160]
mov rcx, rbx
call fcn.140017870
mov rcx, rdi
call fcn.140016610
mov edi, esi
mov qword [0x14004df88], rax
add edi, ebp
lea rdx, str._si4j_nlog__d.log
mov r8, rbx
mov r9d, edi
mov rcx, rax
call fcn.140011660
mov rcx, qword [0x14004df88]
call fcn.140005c30
cmp al, sil
je 0x1400118f2
cmp edi, 0x3e8
jge 0x1400118f2
mov rax, qword [0x14004df88]
jmp 0x1400118b9
mov rcx, rbx
call fcn.140016ad0
mov rcx, qword [0x14004df88]
lea rdx, str.w_ccsUTF_8
call fcn.140019020
mov qword [0x14004df80], rax
cmp rax, rsi
jne 0x14001193f
lea rcx, str.c:i4j_nlog
lea rdx, str.w_ccsUTF_8
mov qword [0x14004df88], rcx
call fcn.140019020
mov qword [0x14004df80], rax
cmp rax, rsi
je 0x14001199f
lea rdx, [rsp + 0x17a0]
mov r8d, 0x1770
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
call fcn.140018644
lea rcx, [rsp + 0x20]
call fcn.14001ac78
mov rcx, qword [0x14004df80]
lea r8, [rsp + 0x17a0]
lea rdx, str.Started_executable__s_at__S_n
mov r9, rax
call fcn.14001acd8
mov rcx, qword [0x14004df80]
call fcn.140017f88
call fcn.140011684
mov qword [0x14004df98], rax
mov rcx, qword [rsp + 0x4680]
xor rcx, rsp
call fcn.140016e60
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