Function at 0x140076bf0
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 0x140076e64
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 0x140076cb6
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
jmp 0x140076d8d
sub rbx, r14
sar rbx, 1
cmp rbx, rdx
ja 0x140076ea2
mov qword [rbp - 0x18], 7
cmp rbx, 8
jae 0x140076cf3
mov qword [rbp - 0x20], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.14009f7f0
mov word [rbp + rbx - 0x30], si
jmp 0x140076d8d
mov rdi, rbx
or rdi, 7
cmp rdi, rdx
jbe 0x140076d04
mov rdi, rdx
jmp 0x140076d0c
cmp rdi, 0xa
cmovb rdi, r8
mov rcx, rdi
add rcx, 1
cmovb rcx, r9
cmp rcx, r10
ja 0x140076e9c
add rcx, rcx
cmp rcx, 0x1000
jb 0x140076d58
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140076e9c
mov rcx, rax
call fcn.14009d218
test rax, rax
je 0x140076ea8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140076d65
test rcx, rcx
je 0x140076d65
call fcn.14009d218
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.14009f7f0
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 0x140076dce
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 0x140076ddb
lea r8, [rbp - 0x30]
mov rcx, r12
call fcn.14007c4a0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140076e1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076e16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076ea8
call fcn.14009d0f0
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 0x140076e72
movabs rdx, 0x7ffffffffffffffe
mov r8d, 0xa
lea r9, [r8 - 0xb]
movabs r10, 0x7fffffffffffffff
inc edi
mov dword [rbp - 0x10], edi
jmp 0x140076c70
add r15, 2
inc edi
mov dword [rbp - 0x10], edi
jmp 0x140076c70
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.14002b260
int3
call fcn.14002b320
int3
call fcn.14007f2b8
int3