Function at 0x140078120
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp - 0x10], rax
movaps xmm0, xmmword [rdx]
lea rcx, [rbp - 0x50]
mov r14, rdx
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
mov r15, r8
call fcn.140050c60
cmp qword [rax + 0x18], 8
jb 0x140078163
mov rax, qword [rax]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
movabs r12, 0x7fffffffffffffff
mov rax, qword [rbp - 0x38]
cmp rax, 8
jb 0x1400781d7
mov rcx, qword [rbp - 0x50]
inc rax
cmp rax, r12
ja 0x1400783db
add rax, rax
cmp rax, 0x1000
jb 0x1400781d2
test cl, 0x1f
jne 0x1400783e1
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400783e7
sub rcx, rax
cmp rcx, 8
jb 0x1400783ed
cmp rcx, 0x27
ja 0x1400783f3
mov rcx, rax
call fcn.140111e78
test esi, esi
jne 0x1400781e2
xor al, al
jmp 0x1400783c2
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xb8], rdi
test r15, r15
je 0x1400783b0
mov eax, 2
mov rdi, 0xffffffffffffffff
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.140111e80
movaps xmm0, xmmword [r14]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
mov rbx, rax
call fcn.140050c60
cmp qword [rax + 0x18], 8
jb 0x140078239
mov rax, qword [rax]
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rax, qword [rbp - 0x38]
cmp rax, 8
jb 0x1400782a2
mov rcx, qword [rbp - 0x50]
inc rax
cmp rax, r12
ja 0x1400783f9
add rax, rax
cmp rax, 0x1000
jb 0x14007829d
test cl, 0x1f
jne 0x1400783ff
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140078405
sub rcx, rax
cmp rcx, 8
jb 0x14007840b
cmp rcx, 0x27
ja 0x140078411
mov rcx, rax
call fcn.140111e78
xor esi, esi
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp word [rbx], si
jne 0x1400782c0
mov edi, esi
jmp 0x1400782c9
inc rdi
cmp word [rbx + rdi*2], si
jne 0x1400782c0
mov r8, rdi
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.140029c40
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140050a70
mov rdx, rax
mov rcx, r15
call fcn.140032e0c
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x14007833e
mov rcx, qword [rbp - 0x50]
inc rax
cmp rax, 0x1000
jb 0x140078339
test cl, 0x1f
jne 0x140078417
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14007841d
sub rcx, rax
cmp rcx, 8
jb 0x140078423
cmp rcx, 0x27
ja 0x140078429
mov rcx, rax
call fcn.140111e78
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], rsi
mov byte [rbp - 0x50], sil
cmp rax, 8
jb 0x1400783a8
mov rcx, qword [rbp - 0x30]
inc rax
cmp rax, r12
ja 0x14007842f
add rax, rax
cmp rax, 0x1000
jb 0x1400783a3
test cl, 0x1f
jne 0x140078435
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14007843b
sub rcx, rax
cmp rcx, 8
jb 0x140078441
cmp rcx, 0x27
ja 0x140078447
mov rcx, rax
call fcn.140111e78
mov rcx, rbx
call fcn.140111880
mov rbx, qword [rsp + 0xa0]
mov al, 1
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140111850
add rsp, 0x70
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3