Function at 0x140003e90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0xc]
lea rdx, str.LocalAppData
lea rcx, [rbp - 0x20]
call fcn.1400056c0
nop
cmp byte [rdi + 0x68], r14b
je 0x140003f41
mov rax, qword [rbp - 8]
cmp rax, 7
jb 0x140003f2c
lea rbx, [rbp - 0x20]
cmp rax, 8
cmovae rbx, qword [rbp - 0x20]
mov qword [rbp - 0x10], 7
lea r8d, [r14 + 0xe]
lea rdx, str.AppData
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0xe], r14w
jmp 0x140003f41
lea r9, str.AppData
mov edx, 7
lea rcx, [rbp - 0x20]
call fcn.140005a50
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
mov r8d, 0x100
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140003f6a
xor bl, bl
jmp 0x14000422a
mov rsi, qword [rdi + 0x10]
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140003f7b
mov rbx, qword [rdi]
call fcn.14000d540
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140001c40
nop
lea rbx, [rdi + 0x20]
mov rsi, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140003fad
mov rbx, qword [rbx]
call fcn.14000d540
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140001c40
nop
lea rdx, [rbp]
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140003fe0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x40]
call fcn.1400056c0
mov dword [rsp + 0x20], 0x3f
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140004b40
mov dword [rsp + 0x20], 0x7f
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140001e90
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140004b40
mov dword [rsp + 0x20], 0xff
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140001e90
add rdi, 0x90
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140004aa0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400040b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400040ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dabc
movdqa xmm0, xmmword [0x1400112d0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140004108
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004103
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004103
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dabc
movdqa xmm0, xmmword [0x1400112d0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140004160
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000415a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000415a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dabc
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400041a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000419e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000419e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dabc
movdqa xmm0, xmmword [0x1400112d0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400041f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dabc
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140002960
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x20]
test edx, edx
je 0x140004224
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140004297
cmp ecx, 3
sete bl
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14000426d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004268
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004268
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dabc
movzx eax, bl
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14000da60
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r8, rdi
call fcn.1400028f0
int3