Function at 0x14003d840
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 [0x140175540]
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 0x14003d8a7
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140002c50
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, 1
jb 0x14003de01
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], 1
lea r12, [0x140144cf4]
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.1400216a0
nop
mov r8d, 8
lea rdx, str.UnixxVPN
lea rcx, [rbp + 0x10]
call fcn.1400269e0
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.140004030
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.1400eec48
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400277b0
nop
lea rcx, [rbp - 0x70]
call fcn.140029030
movzx ebx, al
lea rcx, [rbp - 0x70]
call fcn.1400041a0
test bl, bl
jne 0x14003da1d
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.1400eec48
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400277b0
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
call fcn.1400eeea8
shr rax, 0x20
test eax, eax
jne 0x14003de07
lea rcx, [rbp - 0x70]
call fcn.1400041a0
mov rax, qword [rbp - 0x40]
sub rsi, rax
cmp rsi, 1
jb 0x14003ddfb
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.1400216a0
nop
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14003da71
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.1400269e0
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.1400269e0
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.140004030
nop
lea rcx, [rsp + 0x70]
call fcn.140004030
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.1400335b0
nop
cmp qword [rbp + 0xd0], 0
je 0x14003dd30
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 0x14003dbb4
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 0x14003dba0
mov byte [rsp + 0x79], al
mov rax, qword [rsp + 0x70]
mov byte [rsp + 0x78], 1
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x14003dbb9
mov rax, r15
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 1
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x14003dbb9
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x14003dd12
test rax, rax
je 0x14003dd1b
movdqa xmmword [rsp + 0x70], xmm6
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140034ab0
nop
mov ecx, 0xa0
call fcn.1400ef3b0
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.1400337e0
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 0x14003dc87
call qword [sym.imp.PocoFoundation64.dll_public:_int___cdecl_Poco::AtomicCounter::operator___void____ptr64]
test eax, eax
jne 0x14003dc87
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003dc5d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsp + 0x78], r15
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14003dc82
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.1400ef634
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.1400191d0
test rax, rax
jne 0x14003dcc8
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.140034140
mov rcx, qword [rax]
mov qword [rdi], rcx
mov rax, qword [rax + 8]
mov qword [rdi + 8], rax
test rcx, rcx
je 0x14003dcee
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.140004030
jmp 0x14003dd64
test rax, rax
je 0x14003dbd0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
jmp 0x14003dbf0
lea rcx, [rbp + 0x50]
call fcn.1400191d0
test rax, rax
jne 0x14003dd5b
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.14003e030
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.140018e10
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.140004030
nop
lea rcx, [rbp - 0x50]
call fcn.140004030
nop
lea rcx, [rbp - 0x30]
call fcn.140004030
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400ef390
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.140002af0
nop
call fcn.140002af0
nop
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.140028480
int3