Function at 0x180096980
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x180163880]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r14, rdx
mov qword [rsp + 0x30], rdx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x70], r12d
lea rcx, str.SystemDrive
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], r12b
jne 0x1800969f2
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800042c0
nop
mov r8d, 1
lea rdx, [0x18013adec]
lea rcx, [rsp + 0x78]
call fcn.180005790
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r15d, 2
mov rdi, qword [rsp + 0x60]
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
call fcn.180105af0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp + 0x130]
call fcn.18000a4b0
or r15d, 0xc
lea rcx, [rsp + 0x50]
call fcn.1800053d0
nop
lea rcx, [rsp + 0x78]
call fcn.1800053d0
call fcn.180105af0
lea rcx, str.auth.json
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 9
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.18000a4b0
or r15d, 0x30
call fcn.180007c90
mov rbx, qword [rax]
nop dword [rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x180096ae0
call fcn.180105af0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.18000a4b0
or r15d, 0xc0
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x28]
call fcn.18000a9e0
nop
lea r8, [rbp - 0x48]
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.18000a9e0
mov rbx, rax
lea rax, [rbp + 0x130]
cmp rax, rbx
je 0x180096bcd
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x180096b90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180096b8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180096b8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180104e24
movdqa xmm0, xmmword [0x180149940]
movdqu xmmword [rbp + 0x140], xmm0
mov word [rbp + 0x130], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x140], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
lea rcx, [rbp + 0x18]
call fcn.18000cf20
nop
lea rcx, [rbp - 0x28]
call fcn.18000cf20
nop
lea rcx, [rbp - 0x68]
call fcn.18000cf20
nop
lea rcx, [rbp - 0x48]
call fcn.18000cf20
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x160]
call fcn.1800133f0
nop
mov r13, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rsi, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rsi, qword [rbp + 0x130]
mov rdi, qword [rbp + 0x140]
call fcn.180105af0
mov r12d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x180149960]
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x50], 0
bts r15d, 0xa
mov dword [rsp + 0x70], r15d
test rdi, rdi
je 0x180096ceb
cmp rdi, 0x7fffffff
ja 0x180096f09
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.180105b60
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x180096ef3
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.18000c200
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r12d
call fcn.180105b60
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x180096eff
jmp 0x180096cee
xor r15d, r15d
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov word [rsp + 0x40], 0x5c22
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.1800977d0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.1800053d0
lea rdx, [0x18000d6e0]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp qword [rbp + 0x1f0], 0
jne 0x180096db4
lea rcx, str.no_file_n
call fcn.180005bb0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov byte [r14], 0
xor eax, eax
mov qword [r14 + 8], rax
movzx edx, byte [r14]
lea rcx, [r14 + 8]
call fcn.180007f50
mov byte [r14], 5
mov qword [r14 + 8], r15
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rcx, qword [rbp + 0x160]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx + 0x15c], r8d
jmp 0x180096e8d
xor edx, edx
lea rcx, [rbp + 0x150]
call fcn.1800083c0
nop
mov qword [rbp + 0x10], r15
lea rax, [rbp + 0x160]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x1a8]
mov qword [rsp + 0x38], rax
lea r8, [rbp - 0x28]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.180014040
nop
lea r8, [rbp + 0x150]
mov rcx, rax
call fcn.1800105a0
nop
lea rcx, [rbp + 0x88]
call fcn.180010510
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x180096e33
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
movups xmm0, xmmword [rbp + 0x150]
movups xmmword [r14], xmm0
mov byte [rbp + 0x150], 0
mov qword [rbp + 0x158], r15
xor edx, edx
lea rcx, [rbp + 0x158]
call fcn.180007f50
nop
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x170]
call fcn.180005130
lea rcx, [rbp + 0x178]
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 + 0x210]
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 + 0x130]
call fcn.18000cf20
mov rax, r14
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.180104980
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
shr rbx, 0x20
mov ecx, ebx
call fcn.180009f90
int3
shr rcx, 0x20
call fcn.180009f90
int3
call fcn.180009cc0
int3