Function at 0x14005d100
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xf8]
sub rsp, 0x1f0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
cmp qword [0x14022bf30], 0
je 0x14005e372
movups xmm2, xmmword [str.u_rdVV_cN_M__.0j1_3H]
movups xmmword [rsp + 0x30], xmm2
movzx eax, word [0x140128168]
mov word [rsp + 0x40], ax
movzx eax, byte [0x14012816a]
mov byte [rsp + 0x42], al
xor ebx, ebx
mov r8d, ebx
movdqa xmm10, xmmword [0x140129db0]
movdqa xmm6, xmmword [0x140129d60]
movdqa xmm7, xmmword [0x140129d50]
movdqa xmm8, xmmword [0x140129d30]
movdqa xmm12, xmmword [0x140129e40]
movdqa xmm11, xmmword [str.8888]
movdqa xmm9, xmmword [0x14012a2c0]
mov edi, dword [0x1401400a0]
cmp edi, 2
jl 0x14005d363
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm9
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm8
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x30], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
movd xmm0, dword [rsp + 0x34]
xorps xmm1, xmm0
movd dword [rsp + 0x34], xmm1
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
movd xmm0, dword [rsp + 0x38]
xorps xmm1, xmm0
movd dword [rsp + 0x38], xmm1
movdqa xmm2, xmmword [0x140129d70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm9
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm12
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
mov r8d, Ordinal_18
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x14005d370
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x14005d3c0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003af50
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140076e80
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
cmp qword [rbp - 8], 0
je 0x14005e2f2
movups xmm2, xmmword [0x1401283b8]
movups xmmword [rsp + 0x30], xmm2
movsd xmm0, qword [0x1401283c8]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [0x1401283d0]
mov byte [rsp + 0x48], al
mov r8d, ebx
cmp edi, 2
jl 0x14005d6e1
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm9
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm8
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd ecx, xmm12
movd xmm0, ecx
paddb xmm1, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x30], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm2, xmm7
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm2, xmm6
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x38]
xorps xmm2, xmm1
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140129d70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm9
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm3, xmm0
andps xmm3, xmm10
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x3c]
xorps xmm3, xmm1
movd dword [rsp + 0x3c], xmm3
movdqa xmm2, xmmword [0x140129d80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm9
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x40]
xorps xmm2, xmm1
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x140129d90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm9
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm3, xmm0
andps xmm3, xmm10
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm3, xmm1
movd dword [rsp + 0x44], xmm3
mov r8d, 0x18
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x14005d6f0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140078770
lea rdx, [0x14022be80]
cmp qword [0x14022be98], 0xf
cmova rdx, qword [0x14022be80]
mov r8, qword [0x14022be90]
mov rcx, rax
call fcn.140079f40
lea rdx, [0x140078940]
mov rcx, rax
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]
movups xmm2, xmmword [str.tVKxT_OZ]
movups xmmword [rsp + 0x30], xmm2
mov edx, dword [0x140128458]
mov dword [rsp + 0x40], edx
cmp byte [0x14012845b], 0
je 0x14005d9f2
mov r8d, ebx
cmp edi, 2
jl 0x14005d9af
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm9
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm8
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd ecx, xmm12
movd xmm0, ecx
paddb xmm1, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x30], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm2, xmm7
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm2, xmm6
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x38]
xorps xmm2, xmm1
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140129d70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm9
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm3, xmm0
andps xmm3, xmm10
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x3c]
xorps xmm3, xmm1
movd dword [rsp + 0x3c], xmm3
movdqa xmm2, xmmword [0x140129d80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm9
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, edx
xorps xmm2, xmm1
movd dword [rsp + 0x40], xmm2
jmp 0x14005d9f2
lea r9, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x14005d9c0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140078770
lea rdx, [0x14022bea0]
cmp qword [0x14022beb8], 0xf
cmova rdx, qword [0x14022bea0]
mov r8, qword [0x14022beb0]
mov rcx, rax
call fcn.140079f40
lea rdx, [0x140078940]
mov rcx, rax
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]
movups xmm2, xmmword [0x140128170]
movups xmmword [rsp + 0x30], xmm2
movsd xmm0, qword [0x140128180]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [0x140128188]
mov byte [rsp + 0x48], al
mov r8d, ebx
cmp edi, 2
jl 0x14005dcf1
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm9
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm8
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd ecx, xmm12
movd xmm0, ecx
paddb xmm1, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x30], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm2, xmm7
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm2, xmm6
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x38]
xorps xmm2, xmm1
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140129d70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm9
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm3, xmm0
andps xmm3, xmm10
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x3c]
xorps xmm3, xmm1
movd dword [rsp + 0x3c], xmm3
movdqa xmm2, xmmword [0x140129d80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm9
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x40]
xorps xmm2, xmm1
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x140129d90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm9
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm3, xmm0
andps xmm3, xmm10
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm3, xmm1
movd dword [rsp + 0x44], xmm3
mov r8d, 0x18
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x14005dd00
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140078770
mov r8, qword [0x14022bf30]
mov rcx, rax
cmp qword [0x14022bf38], 0xf
mov rdx, qword [0x14022bf20]
ja 0x14005dd64
lea rdx, [0x14022bf20]
call fcn.140079f40
lea rdx, [0x140078940]
mov rcx, rax
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]
mov eax, dword [str.cbq]
mov dword [rbp + 0x100], eax
movzx eax, word [0x140128794]
mov word [rbp + 0x104], ax
movzx eax, byte [0x140128796]
mov byte [rbp + 0x100], 0x55
xor byte [rbp + 0x101], 0x37
xor byte [rbp + 0x102], 0x38
xor byte [rbp + 0x103], 0x39
xor byte [rbp + 0x104], 0x3a
xor byte [rbp + 0x105], 0x3b
xor al, 0x3c
mov byte [rbp + 0x106], al
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x70]
call fcn.140078770
lea rdx, [0x14022bf00]
cmp qword [0x14022bf18], 0xf
cmova rdx, qword [0x14022bf00]
mov r8, qword [0x14022bf10]
mov rcx, rax
call fcn.140079f40
lea rdx, [0x140078940]
mov rcx, rax
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]
movups xmm2, xmmword [0x1401294f8]
movups xmmword [rsp + 0x30], xmm2
mov edx, dword [0x140129508]
mov dword [rsp + 0x40], edx
cmp byte [0x14012950b], 0
je 0x14005e092
mov r8d, ebx
cmp edi, 2
jl 0x14005e05a
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm9
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm8
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd ecx, xmm12
movd xmm0, ecx
paddb xmm1, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x30], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm2, xmm7
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm2, xmm6
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x38]
xorps xmm2, xmm1
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140129d70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm9
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm3, xmm0
andps xmm3, xmm10
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x3c]
xorps xmm3, xmm1
movd dword [rsp + 0x3c], xmm3
movdqa xmm2, xmmword [0x140129d80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm9
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, edx
xorps xmm2, xmm1
movd dword [rsp + 0x40], xmm2
jmp 0x14005e092
lea r9, [rsp + 0x30]
nop
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x14005e060
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140078770
lea rdx, [0x14022bec0]
cmp qword [0x14022bed8], 0xf
cmova rdx, qword [0x14022bec0]
mov r8, qword [0x14022bed0]
mov rcx, rax
call fcn.140079f40
lea rdx, [0x140078940]
mov rcx, rax
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]
movsd xmm0, qword [0x140127fe0]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [0x140127fe8]
mov dword [rsp + 0x38], ecx
movzx eax, word [0x140127fec]
mov word [rsp + 0x3c], ax
cmp byte [0x140127fed], 0
je 0x14005e28e
cmp edi, 2
jl 0x14005e24f
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm9
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm8, xmm0
andps xmm8, xmm10
packuswb xmm8, xmm8
packuswb xmm8, xmm8
movd eax, xmm12
movd xmm0, eax
paddb xmm8, xmm0
movd xmm0, dword [0x140127fe0]
xorps xmm8, xmm0
movd dword [rsp + 0x30], xmm8
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm7, xmm0
andps xmm7, xmm10
packuswb xmm7, xmm7
packuswb xmm7, xmm7
movd xmm0, eax
paddb xmm7, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm7, xmm1
movd dword [rsp + 0x34], xmm7
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm6, xmm0
andps xmm6, xmm10
packuswb xmm6, xmm6
packuswb xmm6, xmm6
movd xmm0, eax
paddb xmm6, xmm0
movd xmm1, ecx
xorps xmm6, xmm1
movd dword [rsp + 0x38], xmm6
mov ebx, 0xc
mov eax, ebx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xe
jl 0x14005e260
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140078770
lea rdx, [0x14022bee0]
cmp qword [0x14022bef8], 0xf
cmova rdx, qword [0x14022bee0]
mov r8, qword [0x14022bef0]
mov rcx, rax
call fcn.140079f40
lea rcx, [rsp + 0x78]
call fcn.1400781e0
test rax, rax
jne 0x14005e2f2
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
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]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140076e10
lea rcx, [rbp - 0x80]
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 + 0x18]
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 [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14005e372
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e36d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e36d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop rbp
ret