Function at 0x1400052b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x140290040]
xor rax, rsp
mov qword [rsp + 0xd8], rax
xor r12d, r12d
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x140005310
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140009030
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
lea rdi, str.C:Users_
cmp rax, 9
jb 0x1400053ce
lea rax, [r8 + 9]
mov qword [rsp + 0x40], rax
lea r14, [rsp + 0x30]
cmp rcx, 0xf
cmova r14, qword [rsp + 0x30]
lea rax, [0x14008c071]
cmp rax, r14
jbe 0x14000538c
lea rax, [r14 + r8]
cmp rdi, rax
ja 0x14000538c
mov ebx, 9
cmp r14, rdi
ja 0x140005384
mov r15, r12
jmp 0x140005394
mov r15, r14
sub r15, rdi
jmp 0x140005394
mov ebx, 9
mov r15d, ebx
inc r8
lea rcx, [r14 + 9]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, rdi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
sub rbx, r15
lea rdx, [rdi + 9]
add rdx, r15
lea rcx, [r14 + r15]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x1400053e9
mov ebx, 9
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14000a610
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x90], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r12
mov byte [rax], 0
mov r8d, 0x29
lea rdx, str.AppDataRoamingMicrosoftWindowsRecent
lea rcx, [rsp + 0x80]
call fcn.140007340
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xc0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x1400054c7
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140085e60
movdqa xmm0, xmmword [0x140282100]
movdqu xmmword [rsp + 0x90], xmm0
mov byte [rsp + 0x80], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005528
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000551b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000551b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140085e60
movdqa xmm0, xmmword [0x140282100]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0xf
cmova rax, qword [rsp + 0xb0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x78], rax
call fcn.140084fc4
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140001cc0
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
call fcn.1400081c0
test eax, eax
jne 0x1400057b9
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400055ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140085e60
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov rbx, qword [rsp + 0x88]
test rbx, rbx
je 0x14000560d
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x88]
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x70], xmm0
test rbx, rbx
je 0x14000562c
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x88]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xa0], xmm1
test rbx, rbx
je 0x140005680
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140005678
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140005678
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
jmp 0x140005680
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0xa0]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x70]
cmp rdi, r14
je 0x1400056c9
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 7
jbe 0x1400056a9
mov rcx, qword [rdi + 0x20]
call fcn.140085658
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400057cd
lea rcx, [rsp + 0x70]
call fcn.140003320
jmp 0x140005690
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000570b
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140005703
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140005703
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rbx, qword [rsp + 0x88]
test rbx, rbx
je 0x140005745
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140005745
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140005745
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x14000578b
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005786
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005786
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140085e60
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140085e40
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002d70
nop
shr rdx, 0x20
lea r8, [rdi + 0x20]
lea rcx, str.remove
call fcn.140002d70
int3