Function at 0x1400035c0
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
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14008b020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov qword [rbp - 0x21], rcx
xor r12d, r12d
mov dword [rbp - 0x25], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov r13d, 1
mov dword [rbp - 0x25], r13d
mov edx, 0x3e8
cmp qword [rcx + 0x18], rdx
jae 0x14000363b
mov rbx, qword [rcx + 0x10]
sub rdx, rbx
call fcn.140004200
mov qword [r14 + 0x10], rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rsi, rax
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140003650
test rdi, rdi
je 0x140003869
movzx ebx, byte [rbp - 0x29]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r12
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x140003690
mov rdx, rsi
lea rcx, [rbp + 7]
call fcn.140004560
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
or r13d, 2
mov dword [rbp - 0x25], r13d
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
movsxd r15, eax
test eax, eax
je 0x140003738
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x19]
call fcn.140003d80
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r8d, r8d
lea eax, [r15 - 1]
movsxd rdx, eax
lea rcx, [rbp - 0x19]
call fcn.140003d80
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140003778
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003773
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003899
call fcn.14003d1f0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
mov rdx, qword [rbp - 9]
inc rdx
lea r9, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae r9, qword [rbp - 0x19]
mov rcx, qword [r14 + 0x10]
mov r8, qword [r14 + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400037e1
lea r12, [rcx + rdx]
mov qword [r14 + 0x10], r12
mov r15, r14
cmp r8, 8
jb 0x1400037c5
mov r15, qword [r14]
lea rcx, [r15 + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.14003f3a0
xor eax, eax
mov word [r15 + r12*2], ax
xor r12d, r12d
jmp 0x1400037f2
mov qword [rsp + 0x20], rdx
movzx r8d, bl
mov rcx, r14
call fcn.140004380
lea rsi, [rsi + rdi*2]
add rsi, 2
and r13d, 0xfffffffd
mov dword [rbp - 0x25], r13d
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14000383e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003839
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000389f
call fcn.14003d1f0
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x140003856
test rdi, rdi
jne 0x140003670
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003d1d0
lea r11, [rsp + 0x90]
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.14004930c
nop
call fcn.14004930c
int3