Function at 0x140007fe0
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, 0xe0
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
lea rcx, [0x140044f18]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], sil
jne 0x140008042
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140002150
nop
mov ebx, esi
lea rdx, [rbp - 0x39]
mov r12, qword [rbp - 0x39]
mov rax, qword [rbp - 0x21]
mov qword [rsp + 0x20], rax
cmp rax, 0xf
cmova rdx, r12
lea rcx, [rbp - 0x39]
cmova rcx, r12
mov r8, qword [rbp - 0x29]
add r8, rcx
mov rcx, rsi
mov rax, r8
sub rax, rdx
cmp rdx, r8
cmova rax, rsi
test rax, rax
je 0x14000810e
cmp rax, 8
jb 0x14000810e
and rax, 0xfffffffffffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
nop word [rax + rax]
movd xmm0, dword [rdx]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm1, xmm0
movd xmm0, dword [rdx + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm0, xmm2
movdqa xmm2, xmm0
add rdx, 8
add rcx, 8
cmp rcx, rax
jne 0x1400080b0
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd ebx, xmm1
cmp rdx, r8
je 0x140008120
movsx eax, byte [rdx]
add ebx, eax
inc rdx
cmp rdx, r8
jne 0x140008113
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rsi
xor r8d, r8d
lea rdx, [0x140040b91]
lea rcx, [rbp - 0x59]
call fcn.140002150
nop
lea r9, [rbp + 0x1c]
test ebx, ebx
jns 0x140008180
neg ebx
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x140008150
dec r9
mov byte [r9], 0x2d
jmp 0x1400081a6
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x140008180
lea r8, [rbp + 0x1c]
mov rdx, r9
lea rcx, [rbp - 0x19]
call fcn.140014c20
nop
lea rbx, [rbp - 0x19]
mov rsi, qword [rbp - 0x19]
mov r15, qword [rbp - 1]
cmp r15, 0xf
cmova rbx, rsi
lea rcx, [rbp - 0x19]
cmova rcx, rsi
mov r14, qword [rbp - 9]
add r14, rcx
cmp rbx, r14
je 0x140008212
nop
movsx rdx, byte [rbx]
sub rdx, 0x30
shl rdx, 5
add rdx, qword [0x1400b0e90]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140008201
mov rdx, qword [rdx]
lea rcx, [rbp - 0x59]
call fcn.140013240
inc rbx
cmp rbx, r14
jne 0x1400081e0
cmp r15, 0xf
jbe 0x14000824c
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140008244
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008244
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14003d544
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140008270
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.140002150
nop
mov r8d, 1
lea rdx, [0x140044de8]
lea rcx, [rbp - 0x79]
call fcn.140013240
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rdx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.140013240
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140008355
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008350
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008350
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d544
movdqa xmm0, xmmword [0x140046010]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x1400083a4
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000839f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000839f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d544
movdqa xmm0, xmmword [0x140046010]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x1400083f3
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400083ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400083ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d544
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
mov rdx, qword [rsp + 0x20]
cmp rdx, 0xf
jbe 0x140008442
inc rdx
mov rax, r12
cmp rdx, 0x1000
jb 0x14000843a
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000843a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14003d544
mov rax, r13
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003d4e0
lea r11, [rsp + 0xe0]
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