Function at 0x140007d80
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 [0x140052040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
lea rcx, [0x140046f78]
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 0x140007de2
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140001e80
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 0x140007eae
cmp rax, 8
jb 0x140007eae
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 0x140007e50
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 0x140007ec0
movsx eax, byte [rdx]
add ebx, eax
inc rdx
cmp rdx, r8
jne 0x140007eb3
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rsi
xor r8d, r8d
lea rdx, [0x140042bb1]
lea rcx, [rbp - 0x59]
call fcn.140001e80
nop
lea r9, [rbp + 0x1c]
test ebx, ebx
jns 0x140007f20
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 0x140007ef0
dec r9
mov byte [r9], 0x2d
jmp 0x140007f46
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 0x140007f20
lea r8, [rbp + 0x1c]
mov rdx, r9
lea rcx, [rbp - 0x19]
call fcn.140015a00
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 0x140007fb2
nop
movsx rdx, byte [rbx]
sub rdx, 0x30
shl rdx, 5
add rdx, qword [0x1400b2c40]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140007fa1
mov rdx, qword [rdx]
lea rcx, [rbp - 0x59]
call fcn.140014020
inc rbx
cmp rbx, r14
jne 0x140007f80
cmp r15, 0xf
jbe 0x140007fec
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140007fe4
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007fe4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14003e9a4
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 0x140008010
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.140001e80
nop
mov r8d, 1
lea rdx, [0x140046e08]
lea rcx, [rbp - 0x79]
call fcn.140014020
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.140014020
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 0x1400080f5
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400080f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400080f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e9a4
movdqa xmm0, xmmword [0x1400480d0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x140008144
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000813f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000813f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e9a4
movdqa xmm0, xmmword [0x1400480d0]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x140008193
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000818e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000818e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e9a4
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
mov rdx, qword [rsp + 0x20]
cmp rdx, 0xf
jbe 0x1400081e2
inc rdx
mov rax, r12
cmp rdx, 0x1000
jb 0x1400081da
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14003e9a4
mov rax, r13
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003e940
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