Function at 0x14003beb0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140174540]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x14003bf10
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140002c20
nop
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
mov rcx, qword [rbp + 0x30]
sub rax, rcx
cmp rax, 1
jb 0x14003c2e7
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova r9, qword [rbp + 0x20]
mov qword [rsp + 0x30], 1
lea r12, [0x140149dc4]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x20]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140020e70
nop
mov r8d, 8
lea rdx, str.UnixxVPN
lea rcx, [rbp - 0x20]
call fcn.140032870
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x20]
call fcn.140003f60
lea rax, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rax, qword [rbp]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x78], rax
call fcn.1400ee560
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140026580
nop
lea rcx, [rsp + 0x48]
call fcn.140027e00
movzx ebx, al
lea rcx, [rsp + 0x48]
call fcn.1400040d0
test bl, bl
jne 0x14003c091
lea rax, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rax, qword [rbp]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x78], rax
call fcn.1400ee560
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140026580
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
call fcn.1400ee7c0
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14003c2ed
lea rcx, [rsp + 0x48]
call fcn.1400040d0
mov rax, qword [rbp + 0x10]
sub rdi, rax
cmp rdi, 1
jb 0x14003c2e1
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
lea r8, [rbp]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140020e70
nop
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14003c0e5
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140032870
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8d, 5
lea rdx, str..json
lea rcx, [rsp + 0x48]
call fcn.140032870
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x48]
call fcn.140003f60
nop
lea rcx, [rsp + 0x70]
call fcn.140003f60
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
mov r8d, 2
lea rcx, [rbp + 0x60]
call fcn.140034c30
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rbx
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x5c], edx
cmp qword [rbp + 0xe8], 0
je 0x14003c22d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.14003d360
nop
mov dword [rsp + 0x20], 4
mov r9d, 0xffffffff
mov r8d, 4
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x70]
call qword [sym.imp.PocoJSON64.dll_public:_static_void___cdecl_Poco::JSON::Stringifier::stringify_class_Poco::Dynamic::Var_const____ptr64__class_std::basic_ostream_char__struct_std::char_traits_char______ptr64__unsigned_int__int__int_]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.PocoFoundation64.dll_public:_void___cdecl_Poco::Dynamic::Var::destructor_void____ptr64]
lea rcx, [rbp + 0x68]
call fcn.1400189a0
test rax, rax
jne 0x14003c259
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x60]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x60], rbx
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x68]
call fcn.1400185e0
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x40]
call fcn.140003f60
nop
lea rcx, [rbp]
call fcn.140003f60
nop
lea rcx, [rbp + 0x20]
call fcn.140003f60
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400eecb0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140002ad0
nop
call fcn.140002ad0
nop
shr rdx, 0x20
lea r8, [rsp + 0x48]
lea rcx, str.create_directory
call fcn.140027250
int3