Function at 0x1400052e0
Capabilities:
Encode data using xor
Get mac address on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r14, rdx
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x38], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
mov dword [rdx], esi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
lea ecx, [rsi + 0x50]
call fcn.1400612a4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r14 + 8], rax
lea rcx, [r14 + 0x18]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [r14 + 0x30], 7
mov qword [r14 + 0x38], 8
mov dword [r14], 0x3f800000
mov r8, qword [r14 + 8]
lea edx, [rsi + 0x10]
call fcn.140004bd0
nop
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140065968]
mov qword [rbp + 0x20], rax
lea rax, [0x140065970]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r12d, 3
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 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 [rbp + 0x38], rax
mov qword [rbp + 0xa0], rsi
mov dword [rbp + 0xa8], esi
mov qword [rbp - 8], rsi
mov qword [rbp + 8], rsi
mov r13d, 0xf
mov qword [rbp + 0x10], r13
mov byte [rbp - 8], sil
mov dword [rbp - 0x10], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x2c0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
mov qword [rbp - 0x78], rax
lea ecx, [rsi + 4]
lea edx, [rsi + 0x1f]
mov edi, dword [0x140078040]
test rax, rax
jne 0x140005681
movups xmm0, xmmword [0x140065980]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x140065990]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x1400659a0]
movups xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [0x1400659b0]
movsd qword [rsp + 0x60], xmm1
mov eax, dword [0x1400659b8]
mov dword [rsp + 0x68], eax
mov r8d, esi
cmp edi, 2
jl 0x140005617
movdqa xmm5, xmmword [0x140065cf0]
movdqa xmm4, xmmword [0x140065d40]
movd xmm6, ecx
movdqa xmm7, xmmword [0x140065d10]
movd xmm8, edx
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x140005510
cmp r8d, 0x3c
jge 0x140005660
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3c
jl 0x140005630
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400012b0
mov rcx, rax
lea rdx, [0x140001020]
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]
lea rdx, [rbp - 0x10]
mov rcx, r15
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400058d1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x1400058d1
movups xmm0, xmmword [0x1400659c0]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1400659d0]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x1400659e0]
movups xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [0x1400659f0]
movsd qword [rsp + 0x60], xmm1
movzx eax, byte [0x1400659f8]
mov byte [rsp + 0x68], al
mov r8d, esi
cmp edi, 2
jl 0x140005867
movdqa xmm5, xmmword [0x140065cf0]
movdqa xmm4, xmmword [0x140065d40]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x140065d10]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x140005760
cmp r8d, 0x39
jge 0x1400058b0
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x39
jl 0x140005880
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400012b0
mov rcx, rax
lea rdx, [0x140001020]
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]
lea rdx, [rbp - 0x10]
mov rcx, r15
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, eax
test eax, eax
jne 0x140005e1d
mov r14, r15
test r15, r15
je 0x140006000
mov r15, qword [rbp - 8]
nop dword [rax + rax]
mov edi, esi
cmp dword [r14 + 0x194], esi
jbe 0x14000599d
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x88], 0x30
mov edx, 2
lea rcx, [rbp - 0x30]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
mov rdx, qword [r8 + 8]
call qword [r8]
mov eax, edi
movzx ebx, byte [rax + r14 + 0x198]
lea rdx, [0x140006100]
lea rcx, [rbp + 0x30]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov ecx, dword [r14 + 0x194]
lea eax, [rcx - 1]
cmp edi, eax
je 0x140005993
lea rdx, [0x14006597c]
lea rcx, [rbp + 0x30]
call fcn.1400012b0
mov ecx, dword [r14 + 0x194]
inc edi
cmp edi, ecx
jb 0x140005910
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
or r12d, 8
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, dword [rbp + 0xa8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400059fa
mov rax, qword [rbp + 0x78]
mov r8, qword [rax]
test r8, r8
je 0x1400059fa
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xa0]
cmovb r8, qword [rbp + 0xa0]
sub r8, rdx
jmp 0x140005a2c
test cl, 4
jne 0x140005a24
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x140005a24
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x88]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140005a2c
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140005a3b
lea rcx, [rsp + 0x30]
call fcn.1400050f0
and r12d, 0xfffffff7
or r12d, 4
mov dword [rsp + 0x20], r12d
cmp r13, 0x10
jb 0x140005a7f
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140005a77
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e16
mov rcx, r15
call fcn.1400612e0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp + 8], xmm1
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
xor r8d, r8d
lea rdx, [0x1400658d1]
lea rcx, [rbp - 0x70]
call fcn.1400050f0
nop
lea rcx, [rbp + 0x38]
call fcn.140004fa0
lea rax, [rbp - 0x70]
mov r13, qword [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rax, r13
mov qword [rsp + 0x70], rax
mov edi, dword [rbp + 0xa8]
and edi, 0xffffffdf
mov r15, qword [rbp - 0x60]
cmp r15, 0x7fffffff
ja 0x1400060e2
test r15, r15
je 0x140005bd8
mov eax, edi
and eax, 6
cmp al, 6
je 0x140005bd8
cmp r15, 0x1000
jb 0x140005b3a
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1400060e8
call fcn.1400612a4
test rax, rax
je 0x140005e08
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140005b45
mov rcx, r15
call fcn.1400612a4
mov rbx, rax
mov r8, r15
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r15 + rbx]
mov qword [rbp + 0xa0], rdx
mov r8d, edi
and r8d, 4
mov r9d, ebx
jne 0x140005b8c
mov rax, qword [rbp + 0x50]
mov qword [rax], rbx
mov rax, qword [rbp + 0x70]
mov qword [rax], rbx
sub edx, ebx
mov rax, qword [rbp + 0x88]
mov dword [rax], edx
mov rdx, qword [rbp + 0xa0]
test dil, 2
jne 0x140005bd3
test dil, 0x18
mov rcx, rbx
cmovne rcx, rdx
mov rax, qword [rbp + 0x58]
mov qword [rax], rbx
mov rax, qword [rbp + 0x78]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x90]
mov dword [rax], edx
test r8d, r8d
je 0x140005bd3
mov rax, qword [rbp + 0x50]
mov qword [rax], rbx
mov rax, qword [rbp + 0x70]
mov qword [rax], rsi
mov rax, qword [rbp + 0x88]
mov dword [rax], r9d
or edi, 1
jmp 0x140005bdf
mov qword [rbp + 0xa0], rsi
mov dword [rbp + 0xa8], edi
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x140005c20
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140005c18
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e16
mov rcx, r13
call fcn.1400612e0
lea rbx, [rbp - 8]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
lea rax, [rbp - 8]
cmovae rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
add rdi, rax
cmp rbx, rdi
je 0x140005c5a
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbx], al
inc rbx
cmp rbx, rdi
jne 0x140005c47
lea rdx, [r14 + 0x110]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140005c80
lea rcx, [rsp + 0x30]
call fcn.1400050f0
nop
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea r13, [rbp - 8]
mov r15, qword [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae r13, r15
mov rdi, qword [rbp + 8]
cmp rdi, 0x10
jae 0x140005cd4
movups xmm0, xmmword [r13]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], 0xf
jmp 0x140005d50
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140005d28
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400060ee
mov rcx, rax
call fcn.1400612a4
mov rcx, rax
test rax, rax
je 0x140005e0f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005d37
test rcx, rcx
je 0x140005d34
call fcn.1400612a4
jmp 0x140005d37
mov rax, rsi
mov qword [rsp + 0x50], rax
lea r8, [rdi + 1]
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rdi
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x80]
call fcn.1400019f0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140005da1
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e16
call fcn.1400612e0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005dda
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005dd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e16
call fcn.1400612e0
mov r14, qword [r14]
mov r13, qword [rbp + 0x10]
test r14, r14
jne 0x140005900
mov r14, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rbp - 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140006008
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmm0, xmmword [0x140065a00]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x140065a10]
movups xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x140065a20]
movsd qword [rsp + 0x50], xmm0
cmp edi, 2
jl 0x140005f8f
movdqa xmm5, xmmword [0x140065cf0]
movdqa xmm4, xmmword [0x140065d40]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x140065d10]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x70]
nop
movd xmm2, esi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rsi + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add esi, 8
lea rcx, [rcx + 8]
cmp esi, 0x28
jl 0x140005e90
jmp 0x140005fc6
lea r8, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x51eb851f
mul esi
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, sil
sub al, cl
add al, 0x30
xor byte [r8], al
inc esi
lea r8, [r8 + 1]
cmp esi, 0x28
jl 0x140005fa0
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012b0
mov rcx, rax
mov edx, ebx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001020]
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]
test r15, r15
je 0x140006004
mov r15, qword [rbp - 8]
jmp 0x140005dee
mov r14, qword [rbp - 0x80]
mov r15, qword [rbp - 8]
cmp r13, 0x10
jb 0x140006043
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000603a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000603a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400612e0
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rcx, qword [rbp + 0x20]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx + 0x1c], r8d
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.140004fa0
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r14
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140061400
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_
int3
call fcn.140001220
nop
call fcn.140001220
int3