Function at 0x1400b16e0
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400b16e0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x1b8], rbx
mov rax, qword [0x1400fc300]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, r8
mov r15, rdx
mov r12, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rax, [0x1400d3710]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x58], 4
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400b17b2
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r14, rax
test rax, rax
je 0x1400b17cd
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140003c56
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
je 0x1400b1837
mov rsi, rbx
test ebx, ebx
jne 0x1400b17ec
test r14, r14
je 0x1400b1800
lea rdx, [0x1400df4a4]
lea rcx, [rsp + 0x30]
call fcn.140003c56
mov rdx, qword [rdi]
add rdx, rsi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400b1811
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.14000194c
inc ebx
add rsi, 0x20
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
sub rcx, rdx
sar rcx, 5
movsxd rax, ebx
cmp rax, rcx
jb 0x1400b17e3
movdqa xmm0, xmmword [0x1400d0f70]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov dword [rsp + 0x20], 5
mov ecx, dword [rbp - 0x58]
test cl, 2
jne 0x1400b187b
mov rax, qword [rsp + 0x78]
mov r8, qword [rax]
test r8, r8
je 0x1400b187b
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x60]
cmovb r8, qword [rbp - 0x60]
sub r8, rdx
jmp 0x1400b18a2
test cl, 4
jne 0x1400b18ac
mov rax, qword [rsp + 0x70]
mov r9, qword [rax]
test r9, r9
je 0x1400b18ac
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x78]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
lea rcx, [rbp + 0x30]
call fcn.140005c22
nop
mov rax, qword [r12]
mov r9b, 1
lea r8, [rbp + 0x30]
mov rdx, r15
mov rcx, r12
call qword [rax + 0x80]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400b1903
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b18fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b18fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002496
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call fcn.1400050ec
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 - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400031f7
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret