Function at 0x14003c310
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140174540]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x50], 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 - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x14003c377
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140002c20
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, 1
jb 0x14003c8d1
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], 1
lea r12, [0x140149dc4]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140020e70
nop
mov r8d, 8
lea rdx, str.UnixxVPN
lea rcx, [rbp + 0x10]
call fcn.140032870
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x10]
call fcn.140003f60
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rax, qword [rbp - 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x40]
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, [rbp - 0x70]
call fcn.140026580
nop
lea rcx, [rbp - 0x70]
call fcn.140027e00
movzx ebx, al
lea rcx, [rbp - 0x70]
call fcn.1400040d0
test bl, bl
jne 0x14003c4ed
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rax, qword [rbp - 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x40]
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, [rbp - 0x70]
call fcn.140026580
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
call fcn.1400ee7c0
shr rax, 0x20
test eax, eax
jne 0x14003c8d7
lea rcx, [rbp - 0x70]
call fcn.1400040d0
mov rax, qword [rbp - 0x40]
sub rsi, rax
cmp rsi, 1
jb 0x14003c8cb
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140020e70
nop
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14003c541
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140032870
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 5
lea rdx, str..json
lea rcx, [rbp - 0x70]
call fcn.140032870
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
mov qword [rbp + 8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x70]
call fcn.140003f60
nop
lea rcx, [rsp + 0x70]
call fcn.140003f60
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x40]
call fcn.1400320b0
nop
cmp qword [rbp + 0xd0], 0
je 0x14003c800
mov qword [rsp + 0x50], r15
mov word [rsp + 0x58], 1
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x88]
mov qword [rsp + 0x70], rcx
test rcx, rcx
sete byte [rsp + 0x78]
mov byte [rsp + 0x79], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm6, xmmword [rsp + 0x50]
test rcx, rcx
je 0x14003c684
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14003c670
mov byte [rsp + 0x79], al
mov rax, qword [rsp + 0x70]
mov byte [rsp + 0x78], 1
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x14003c689
mov rax, r15
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 1
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x14003c689
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x14003c7e2
test rax, rax
je 0x14003c7eb
movdqa xmmword [rsp + 0x70], xmm6
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400339a0
nop
mov ecx, 0xa0
call fcn.1400eecd0
mov rbx, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.PocoJSON64.dll_public:_void___cdecl_Poco::JSON::ParseHandler::constructor_bool____ptr64]
lea rax, vtable.Poco::JSON::ParseHandler.0
mov qword [rbx], rax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400322e0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call qword [sym.imp.PocoJSON64.dll_public:_void___cdecl_Poco::JSON::Parser::constructor_class_Poco::SharedPtr_class_Poco::JSON::Handler__class_Poco::ReferenceCounter__class_Poco::ReleasePolicy_class_Poco::JSON::Handler___const____ptr64____ptr64]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14003c757
call qword [sym.imp.PocoFoundation64.dll_public:_int___cdecl_Poco::AtomicCounter::operator___void____ptr64]
test eax, eax
jne 0x14003c757
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003c72d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsp + 0x78], r15
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14003c752
mov rcx, rbx
call qword [sym.imp.PocoFoundation64.dll_public:_void___cdecl_Poco::AtomicCounter::destructor_void____ptr64]
mov edx, 4
mov rcx, rbx
call fcn.1400eef54
mov qword [rsp + 0x70], r15
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x10]
call qword [sym.imp.PocoJSON64.dll_public:_class_Poco::Dynamic::Var___cdecl_Poco::JSON::Parser::parse_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x50]
call fcn.1400189a0
test rax, rax
jne 0x14003c798
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x40]
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]
lea rcx, [rbp + 0x150]
call fcn.140032ea0
mov rcx, qword [rax]
mov qword [rdi], rcx
mov rax, qword [rax + 8]
mov qword [rdi + 8], rax
test rcx, rcx
je 0x14003c7be
call qword [sym.imp.PocoFoundation64.dll_public:_int___cdecl_Poco::AtomicCounter::operator_void____ptr64]
nop
lea rcx, [rbp + 0x150]
call qword [sym.imp.PocoFoundation64.dll_public:_void___cdecl_Poco::Dynamic::Var::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.PocoJSON64.dll_public_virtual:_void___cdecl_Poco::JSON::Parser::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.140003f60
jmp 0x14003c834
test rax, rax
je 0x14003c6a0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
jmp 0x14003c6c0
lea rcx, [rbp + 0x50]
call fcn.1400189a0
test rax, rax
jne 0x14003c82b
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x40]
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]
mov rcx, rdi
call fcn.14003cb50
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.1400185e0
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xf0]
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 - 0x10]
call fcn.140003f60
nop
lea rcx, [rbp - 0x50]
call fcn.140003f60
nop
lea rcx, [rbp - 0x30]
call fcn.140003f60
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400eecb0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140002ad0
nop
call fcn.140002ad0
nop
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.140027250
int3