Function at 0x14006f9a0
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 0x14006fc14
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 0x14006fa66
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
jmp 0x14006fb3d
sub rbx, r14
sar rbx, 1
cmp rbx, rdx
ja 0x14006fc52
mov qword [rbp - 0x18], 7
cmp rbx, 8
jae 0x14006faa3
mov qword [rbp - 0x20], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.14009a7f0
mov word [rbp + rbx - 0x30], si
jmp 0x14006fb3d
mov rdi, rbx
or rdi, 7
cmp rdi, rdx
jbe 0x14006fab4
mov rdi, rdx
jmp 0x14006fabc
cmp rdi, 0xa
cmovb rdi, r8
mov rcx, rdi
add rcx, 1
cmovb rcx, r9
cmp rcx, r10
ja 0x14006fc4c
add rcx, rcx
cmp rcx, 0x1000
jb 0x14006fb08
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006fc4c
mov rcx, rax
call fcn.140098418
test rax, rax
je 0x14006fc58
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14006fb15
test rcx, rcx
je 0x14006fb15
call fcn.140098418
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.14009a7f0
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 0x14006fb7e
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 0x14006fb8b
lea r8, [rbp - 0x30]
mov rcx, r12
call fcn.1400779d0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14006fbcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fbc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fc58
call fcn.1400982f0
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 0x14006fc22
movabs rdx, 0x7ffffffffffffffe
mov r8d, 0xa
lea r9, [r8 - 0xb]
movabs r10, 0x7fffffffffffffff
inc edi
mov dword [rbp - 0x10], edi
jmp 0x14006fa20
add r15, 2
inc edi
mov dword [rbp - 0x10], edi
jmp 0x14006fa20
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.14002a720
int3
call fcn.14002a7e0
int3
call fcn.14007a428
int3