Function at 0x1400024a0
Capabilities:
Get common file path
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 - 0x460]
sub rsp, 0x560
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r14, rcx
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp + 0x204]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x200], 0x82
mov rbx, qword [r14 + 0x50]
sub rbx, qword [r14 + 0x48]
sar rbx, 5
xor r15d, r15d
lea r13d, [r15 + 0x2a]
test rbx, rbx
je 0x140002818
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1b0], xmm1
mov qword [rbp + 0x1c0], r15
movabs rax, 0x7ffffffffffffff
cmp rbx, rax
ja 0x140002cff
shl rbx, 5
cmp rbx, 0x1000
jb 0x140002570
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140002cf9
call fcn.140004204
test rax, rax
je 0x14000280c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002585
test rbx, rbx
je 0x140002582
mov rcx, rbx
call fcn.140004204
mov rdi, rax
jmp 0x140002585
mov rdi, r15
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1b8], rdi
lea rax, [rdi + rbx]
mov qword [rbp + 0x1c0], rax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x30], rax
mov rsi, qword [r14 + 0x50]
mov rbx, qword [r14 + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1c8], rdi
mov qword [rbp + 0x1d0], rdi
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1d8], rax
cmp rbx, rsi
je 0x1400025ff
nop dword [rax]
mov rdx, rbx
mov rcx, rdi
call fcn.140003250
add rdi, 0x20
mov qword [rbp + 0x1d0], rdi
add rbx, 0x20
cmp rbx, rsi
jne 0x1400025e0
mov rdx, rdi
mov rcx, rdi
call fcn.140003500
mov qword [rbp + 0x1b8], rdi
mov rcx, qword [r14 + 0x30]
mov rdx, qword [r14 + 0x38]
cmp rcx, rdx
je 0x140002632
call fcn.140003500
mov rax, qword [r14 + 0x30]
mov qword [r14 + 0x38], rax
mov rdi, qword [rbp + 0x1b8]
mov rsi, r15
mov rax, rdi
mov r8, qword [rbp + 0x1b0]
sub rax, r8
sar rax, 5
test rax, rax
je 0x1400027c6
mov rbx, r15
mov r12d, 0x5c
nop dword [rax + rax]
lea rcx, [r8 + rbx]
mov rax, rcx
mov rdx, qword [rcx + 0x18]
cmp rdx, 8
jb 0x140002674
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
lea r9, [rdi + rdi]
cmp word [rax + r9 - 2], r12w
je 0x1400026cd
mov rax, rdx
sub rax, rdi
cmp rax, 1
jb 0x1400026ac
inc rdi
mov qword [rcx + 0x10], rdi
cmp rdx, 8
jb 0x1400026a0
mov rcx, qword [rcx]
mov word [r9 + rcx], r12w
mov word [rcx + rdi*2], r15w
jmp 0x1400026c6
mov qword [rsp + 0x20], 1
lea r9, [0x140006658]
mov edx, 1
call fcn.1400038b0
mov r8, qword [rbp + 0x1b0]
lea rcx, [r8 + rbx]
mov rdx, qword [rcx + 0x10]
mov rdi, qword [rcx + 0x18]
mov rax, rdi
sub rax, rdx
cmp rax, 1
jb 0x140002702
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
cmp rdi, 8
jb 0x1400026f6
mov rcx, qword [rcx]
mov word [rcx + rdx*2], r13w
mov word [rcx + rax*2], r15w
jmp 0x14000271c
mov qword [rsp + 0x20], 1
lea r9, [0x14000665c]
mov edx, 1
call fcn.1400038b0
mov rcx, qword [rbp + 0x1b0]
add rcx, rbx
cmp qword [rcx + 0x18], 8
jb 0x140002730
mov rcx, qword [rcx]
lea rdx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000279e
mov rdx, qword [rbp + 0x1b0]
add rdx, rbx
mov rcx, qword [rdx + 0x10]
dec rcx
mov qword [rdx + 0x10], rcx
cmp qword [rdx + 0x18], 8
jb 0x140002765
mov rdx, qword [rdx]
mov word [rdx + rcx*2], r15w
mov rdx, qword [rbp + 0x1b0]
add rdx, rbx
mov byte [rsp + 0x20], 1
mov r9, r14
lea r8, [rbp + 0x200]
mov rcx, rdi
call fcn.140002090
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dword [rbp + 0x200], 0x82
inc rsi
add rbx, 0x20
mov rdi, qword [rbp + 0x1b8]
mov rax, rdi
mov r8, qword [rbp + 0x1b0]
sub rax, r8
sar rax, 5
cmp rsi, rax
jb 0x140002660
test r8, r8
je 0x140002818
mov rdx, rdi
mov rcx, r8
call fcn.140003500
mov rdx, qword [rbp + 0x1c0]
mov rcx, qword [rbp + 0x1b0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002813
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002813
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004080
mov qword [rbp + 0x190], r15
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], 7
mov word [rbp + 0x190], r15w
mov edx, 0x105
mov r9d, edx
lea rcx, [rbp + 0x190]
call fcn.1400036f0
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rdx, qword [rbp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rcx, qword [rbp + 0x190]
mov edi, eax
mov word [rcx + rdi*2], r13w
lea rcx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rcx, qword [rbp + 0x190]
lea rdx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov r9, qword [rbp + 0x1a0]
cmp rdi, r9
ja 0x1400028e5
mov qword [rbp + 0x1a0], rdi
lea rcx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rcx, qword [rbp + 0x190]
mov word [rcx + rdi*2], r15w
jmp 0x140002944
mov rdx, rdi
sub rdx, r9
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
sub rax, r9
cmp rdx, rax
ja 0x140002935
mov qword [rbp + 0x1a0], rdi
lea r8, [rbp + 0x190]
cmp rcx, 8
cmovae r8, qword [rbp + 0x190]
lea rdi, [r8 + r9*2]
test rdx, rdx
je 0x14000292a
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r9]
mov word [r8 + rax*2], r15w
jmp 0x140002944
mov r9, rdx
lea rcx, [rbp + 0x190]
call fcn.1400036f0
cmp rbx, 0xffffffffffffffff
jne 0x140002952
xor dil, dil
jmp 0x140002c7c
mov byte [rsp + 0x20], 1
mov r9, r14
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.140002090
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1a0]
mov qword [rbp + 0x1a0], rcx
cmp rcx, r8
ja 0x1400029ad
lea rax, [rbp + 0x190]
cmp rcx, 8
cmovae rax, qword [rbp + 0x190]
mov word [rax + rcx*2], r15w
jmp 0x1400029df
mov rdx, rcx
lea r9, [rbp + 0x190]
cmp rcx, 8
cmovae r9, qword [rbp + 0x190]
lea rdi, [r9 + r8*2]
sub rdx, r8
je 0x1400029d6
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], r15w
lea rdx, [rbp + 0x190]
mov rax, qword [rbp + 0x1a8]
cmp rax, 8
cmovae rdx, qword [rbp + 0x190]
mov r8d, eax
lea rcx, [0x140006660]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov r8, qword [rbp + 0x1a0]
cmp rcx, r8
ja 0x140002a3c
mov qword [rbp + 0x1a0], rcx
lea rax, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rax, qword [rbp + 0x190]
mov word [rax + rcx*2], r15w
jmp 0x140002a9b
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp + 0x1a8]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140002a8c
mov qword [rbp + 0x1a0], rcx
lea r9, [rbp + 0x190]
cmp rdi, 8
cmovae r9, qword [rbp + 0x190]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140002a81
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], r15w
jmp 0x140002a9b
mov r9, rdx
lea rcx, [rbp + 0x190]
call fcn.1400036f0
lea rdx, str.Temp
lea rcx, [rbp + 0x190]
call fcn.140003150
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x200]
lea rcx, [rsp + 0x40]
mov edx, 4
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x140002ad1
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
mov dword [rbp + 0x200], 0x82
lea rcx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rcx, qword [rbp + 0x190]
lea rdx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002c3f
mov r8, qword [rbp + 0x1a0]
lea rdi, [r8 - 1]
cmp rdi, r8
ja 0x140002bb9
mov qword [rbp + 0x1a0], rdi
lea rcx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rcx, qword [rbp + 0x190]
mov word [rcx + rdi*2], r15w
jmp 0x140002c18
mov rdx, rdi
sub rdx, r8
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140002c09
mov qword [rbp + 0x1a0], rdi
lea r9, [rbp + 0x190]
cmp rcx, 8
cmovae r9, qword [rbp + 0x190]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140002bfe
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], r15w
jmp 0x140002c18
mov r9, rdx
lea rcx, [rbp + 0x190]
call fcn.1400036f0
mov byte [rsp + 0x20], 1
mov r9, r14
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.140002090
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], rax
mov dword [rbp + 0x1e0], 0x18
lea rdx, [rbp + 0x1e0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHQueryRecycleBinW]
mov rax, qword [rbp + 0x1e8]
mov qword [r14 + 0x80], rax
mov dil, 1
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 8
jb 0x140002cc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004080
movzx eax, dil
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.140004060
lea r11, [rsp + 0x560]
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
call fcn.1400011d0
int3
call fcn.140003ae0
int3