Function at 0x14005a680
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r12, rcx
mov qword [rbp - 8], rcx
xor esi, esi
mov dword [rbp - 0xc], esi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12], rsi
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rsi
mov dword [rbp - 0xc], 1
mov edi, esi
mov dword [rbp - 0x10], esi
mov ecx, esi
mov r15, rax
movabs rdx, 0x7ffffffffffffffe
lea r8d, [rsi + 0xa]
lea r9, [rsi - 1]
movabs r10, 0x7fffffffffffffff
nop word [rax + rax]
cmp word [r15], 0
jne 0x14005a8f4
movsxd rax, edi
lea rbx, [rax*2]
add rbx, r13
lea r14, [rcx + r13]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
cmp r14, rbx
jne 0x14005a746
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
jmp 0x14005a81d
sub rbx, r14
sar rbx, 1
cmp rbx, rdx
ja 0x14005a932
mov qword [rbp - 0x18], 7
cmp rbx, 8
jae 0x14005a783
mov qword [rbp - 0x20], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140097730
mov word [rbp + rbx - 0x30], si
jmp 0x14005a81d
mov rdi, rbx
or rdi, 7
cmp rdi, rdx
jbe 0x14005a794
mov rdi, rdx
jmp 0x14005a79c
cmp rdi, 0xa
cmovb rdi, r8
mov rcx, rdi
add rcx, 1
cmovb rcx, r9
cmp rcx, r10
ja 0x14005a92c
add rcx, rcx
cmp rcx, 0x1000
jb 0x14005a7e8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005a92c
mov rcx, rax
call fcn.140095088
test rax, rax
je 0x14005a938
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005a7f5
test rcx, rcx
je 0x14005a7f5
call fcn.140095088
mov rsi, rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.140097730
xor eax, eax
mov word [rbx + rsi], ax
mov edi, dword [rbp - 0x10]
xor esi, esi
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x14005a85e
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rsi
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
add qword [r12 + 8], 0x20
jmp 0x14005a86b
lea r8, [rbp - 0x30]
mov rcx, r12
call fcn.1400682e0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14005a8ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a8a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a938
call fcn.140094f60
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
mov rcx, r15
sub rcx, r13
add r15, 2
cmp word [r15], 0
je 0x14005a902
movabs rdx, 0x7ffffffffffffffe
mov r8d, 0xa
lea r9, [r8 - 0xb]
movabs r10, 0x7fffffffffffffff
inc edi
mov dword [rbp - 0x10], edi
jmp 0x14005a700
add r15, 2
inc edi
mov dword [rbp - 0x10], edi
jmp 0x14005a700
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, r12
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140029820
int3
call fcn.1400298e0
int3
call fcn.1400717e0
int3