Function at 0x7feeff610b9
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rdi, rdx
mov rbx, rcx
call fcn.7feeff31066
mov rsi, rax
lea rbp, [rsp + 0x78]
mov rcx, rbp
call fcn.7feeff461e4
lea rcx, [rsp + 0x40]
call fcn.7feeff461e4
lea rcx, [rsp + 0x20]
call fcn.7feeff461e4
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
mov rcx, rbp
call fcn.7feeff48892
xor r13d, r13d
cmp byte [rsi], 0
je 0x7feeff61174
xor r15d, r15d
mov byte [rsi], 0
mov rcx, qword [rsp + 0x28]
call fcn.7feeff488d0
cmp byte [rsi], 0
jne 0x7feeff613f9
mov rcx, qword [rsp + 0x48]
call fcn.7feeff488d0
cmp byte [rsi], 0
jne 0x7feeff613f9
test r15, r15
je 0x7feeff61156
test byte [r15 + 7], 0x40
jne 0x7feeff61156
mov rcx, r15
call fcn.7feeff311e0
mov rcx, qword [rsp + 0x80]
call fcn.7feeff488d0
cmp byte [rsi], 0
jne 0x7feeff613f9
mov byte [rsi], 1
jmp 0x7feeff613f9
mov r14, qword [rsp + 0x80]
cmp qword [rdi], 0
je 0x7feeff61251
lea r15, [rsp + 0x50]
mov rcx, r15
call fcn.7feeff461e4
mov rax, qword [rbx]
mov rcx, qword [rdi]
lea rdx, [rax + rcx]
inc rdx
lea rbp, [rsp + 0x30]
mov rcx, rbp
call fcn.7feeff41973
movups xmm0, xmmword [rbx]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm0
mov rcx, rbp
mov rdx, rbx
call fcn.7feeff416ee
movups xmm0, xmmword [0x7feeffcfad8]
movaps xmmword [rbx], xmm0
lea rbx, [rsp + 0x60]
mov rcx, rbp
mov rdx, rbx
call fcn.7feeff416ee
movups xmm0, xmmword [rdi]
movaps xmmword [rbx], xmm0
lea rbx, [rsp + 0x60]
mov rcx, rbp
mov rdx, rbx
call fcn.7feeff416ee
mov rax, qword [rbp]
mov rdi, qword [rbp + 8]
mov qword [rbx], rax
mov qword [rbx + 8], rdi
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.7feeff48892
cmp byte [rsi], 0
je 0x7feeff61327
mov byte [rsi], 0
mov rcx, qword [rsp + 0x58]
call fcn.7feeff488d0
xor r13d, r13d
cmp byte [rsi], 0
jne 0x7feeff61116
test rdi, rdi
je 0x7feeff61116
test byte [rdi + 7], 0x40
jne 0x7feeff61116
mov rcx, rdi
call fcn.7feeff311e0
jmp 0x7feeff61116
mov rdx, qword [rbx]
add rdx, 3
lea rbp, [rsp + 0x50]
mov rcx, rbp
call fcn.7feeff41973
movups xmm0, xmmword [rbx]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx], xmm0
mov rcx, rbp
mov rdx, rbx
call fcn.7feeff416ee
movups xmm0, xmmword [0x7feeffcfae8]
movaps xmmword [rbx], xmm0
lea rbx, [rsp + 0x30]
mov rcx, rbp
mov rdx, rbx
call fcn.7feeff416ee
mov rax, qword [rbp]
mov r15, qword [rbp + 8]
mov qword [rbx], rax
mov qword [rbx + 8], r15
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.7feeff48892
cmp byte [rsi], 0
jne 0x7feeff61119
mov r12, qword [rsp + 0x48]
mov rcx, r12
call sub.api_ms_win_crt_environment_l1_1_0.dll__wputenv
test eax, eax
je 0x7feeff61410
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [rax], 0x16
mov rcx, qword [rsp + 0x28]
call fcn.7feeff488d0
mov r13d, 0xffffffff
cmp byte [rsi], 0
jne 0x7feeff613f9
mov rcx, r12
call fcn.7feeff488d0
cmp byte [rsi], 0
jne 0x7feeff613f9
test r15, r15
je 0x7feeff6131a
test byte [r15 + 7], 0x40
jne 0x7feeff6131a
mov rcx, r15
call fcn.7feeff311e0
mov rcx, r14
call fcn.7feeff488d0
jmp 0x7feeff613f9
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call sub.api_ms_win_crt_environment_l1_1_0.dll__wputenv
test eax, eax
je 0x7feeff6139e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [rax], 0x16
mov rcx, rbx
call fcn.7feeff488d0
mov r13d, 0xffffffff
cmp byte [rsi], 0
jne 0x7feeff61116
test rdi, rdi
je 0x7feeff6136d
test byte [rdi + 7], 0x40
jne 0x7feeff6136d
mov rcx, rdi
call fcn.7feeff311e0
mov rcx, qword [rsp + 0x28]
call fcn.7feeff488d0
mov r13d, 0xffffffff
cmp byte [rsi], 0
jne 0x7feeff613f9
mov rcx, qword [rsp + 0x48]
call fcn.7feeff488d0
mov edi, 0xffffffff
cmp byte [rsi], 0
mov r13d, 0xffffffff
jne 0x7feeff613f9
jmp 0x7feeff613ee
mov rcx, rbx
call fcn.7feeff488d0
xor r13d, r13d
cmp byte [rsi], 0
jne 0x7feeff61116
test rdi, rdi
je 0x7feeff613c5
test byte [rdi + 7], 0x40
jne 0x7feeff613c5
mov rcx, rdi
call fcn.7feeff311e0
mov rcx, qword [rsp + 0x28]
call fcn.7feeff488d0
xor r13d, r13d
cmp byte [rsi], 0
jne 0x7feeff613f9
mov rcx, qword [rsp + 0x48]
call fcn.7feeff488d0
xor edi, edi
cmp byte [rsi], 0
mov r13d, 0
jne 0x7feeff613f9
mov rcx, r14
call fcn.7feeff488d0
mov r13d, edi
mov eax, r13d
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r14
call sub.api_ms_win_crt_environment_l1_1_0.dll__wgetenv
mov word [rax], 0
mov rcx, r14
call sub.api_ms_win_crt_environment_l1_1_0.dll__wgetenv
mov word [rax + 2], 0x3d
call sub.api_ms_win_crt_environment_l1_1_0.dll___p__environ
cmp qword [rax], 0
je 0x7feeff614a1
xor ecx, ecx
mov rdx, r14
xor r8d, r8d
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstombs
cmp rax, 0xffffffffffffffff
je 0x7feeff614a1
mov rbx, rax
inc rbx
lea rbp, [rsp + 0x30]
mov rcx, rbp
mov rdx, rbx
call fcn.7feeff4c853
mov rax, qword [rbp + 8]
mov qword [rsp + 0x70], rax
lea rbp, [rax + 8]
mov rcx, rbp
mov rdx, r14
mov r8, rbx
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstombs
cmp rax, 0xffffffffffffffff
je 0x7feeff61497
mov rcx, rbp
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
mov byte [rax], 0
mov rcx, rbp
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
mov byte [rax + 1], 0x3d
mov rcx, qword [rsp + 0x70]
call fcn.7feeff33cbb
movups xmm0, xmmword [rdi]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rcx, [rsp + 0x20]
call fcn.7feeff48892
cmp byte [rsi], 0
jne 0x7feeff61119
mov rdi, qword [rsp + 0x28]
mov rcx, r14
mov rdx, rdi
call qword [0x7fef003aa60]
test eax, eax
je 0x7feeff614e4
mov rcx, rdi
call fcn.7feeff488d0
xor r13d, r13d
jmp 0x7feeff612ec
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [rax], 0x16
mov rcx, rdi
jmp 0x7feeff612e1