Function at 0x180027830
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x180211600]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov dword [rbp + 0x64], 0x617461
mov dword [rbp + 0x60], 0x64707061
mov byte [rbp + 0x68], 0
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x70], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x80], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800278a0
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.180006350
nop
mov dword [rbp + 0x54], 0x6e6f73
vmovdqu xmm0, xmmword [0x1801e5c90]
vmovdqu xmmword [rbp + 0x40], xmm0
mov dword [rbp + 0x50], 0x6a2e7367
mov byte [rbp + 0x58], 0
lea rax, [rbp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800278e0
mov r8, rbx
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.1800085c0
mov r8d, 2
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.18002bf50
nop
lea rdx, [rbp + 0x40]
lea rcx, [0x180237fa8]
call fcn.18002eb30
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x18002792d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800157f0
nop
lea rcx, [rbp + 0x40]
call fcn.180006590
lea rcx, [rsp + 0x38]
call fcn.18002f070
test rax, rax
jne 0x180027972
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
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]
movzx eax, byte [0x180237f98]
dec eax
cmp eax, 7
ja case.default.0x180027997
cdqe
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x27b7c]
add rcx, rdx
jmp rcx
mov qword [0x180237fa0], 0
jmp case.default.0x180027997
vxorpd xmm0, xmm0, xmm0
vmovsd qword [0x180237fa0], xmm0
jmp case.default.0x180027997
mov byte [0x180237fa0], 0
jmp case.default.0x180027997
mov rax, qword [0x180237fa0]
mov qword [rax + 0x10], 0
cmp qword [rax + 0x18], 0xf
jbe 0x1800279df
mov rax, qword [rax]
mov byte [rax], 0
jmp case.default.0x180027997
mov rax, qword [0x180237fa0]
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je case.default.0x180027997
mov qword [rax + 8], rcx
jmp case.default.0x180027997
mov rsi, qword [0x180237fa0]
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je case.default.0x180027997
nop dword [rax]
mov rcx, rbx
call fcn.1800078f0
add rbx, 0x10
cmp rbx, rdi
jne 0x180027a10
mov rax, qword [rsi]
mov qword [rsi + 8], rax
jmp case.default.0x180027997
mov rdi, qword [0x180237fa0]
mov rbx, qword [rdi]
mov r8, qword [rbx + 8]
mov rdx, rdi
mov rcx, rdi
call fcn.180009d40
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rdi + 8], 0
lea rdx, [0x180237fa8]
lea rcx, [rbp + 0x60]
call fcn.180007910
movzx edx, byte [0x180237f98]
movzx ecx, byte [rax]
mov byte [0x180237f98], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [0x180237fa0]
mov r8, qword [rcx]
mov qword [0x180237fa0], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.180007eb0
nop
mov dword [rbp + 0x56], 0x2e7367
vmovdqu xmm0, xmmword [0x1801e4ba0]
vmovdqu xmmword [rbp + 0x40], xmm0
mov dword [rbp + 0x50], 0x74746573
mov word [rbp + 0x54], 0x6e69
mov byte [rbp + 0x5a], 0
lea rcx, [rbp + 0x40]
call fcn.180005650
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call fcn.18002cc30
lea rcx, [rsp + 0x40]
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 - 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x180027b51
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180027b4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180027b4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18016cc9c
mov al, 1
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.18016cc50
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret