Function at 0x140017d00
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2c8]
sub rsp, 0x390
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rsi, r8
mov r12, rdx
mov rdi, rcx
mov r14, qword [rbp + 0x2f0]
xor ebx, ebx
mov qword [rbp + 0x210], rbx
mov qword [rbp + 0x200], rbx
mov qword [rbp + 0x208], rbx
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x210]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140017ddf
lea rdx, [rsp + 0x40]
call fcn.140019490
mov r9, rax
cmp word [rax + 0x1e], bx
je 0x140018ac1
cmp dword [0x1400ac318], 2
jge 0x140018917
mov r8, r9
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
mul ebx
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x140018ac1
jmp 0x140017db0
lea rax, [rbp + 0x208]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140017e5f
lea rdx, [rsp + 0x40]
call fcn.1400194b0
mov r9, rax
cmp word [rax + 0x1e], bx
je 0x140018c84
cmp dword [0x1400ac318], 2
jge 0x140018aca
mov r8, r9
nop
mov eax, 0xa0a0a0a1
mul ebx
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x140018c84
jmp 0x140017e30
xor r9d, r9d
mov r8d, 0x20
mov rdx, rsi
mov rcx, qword [rbp + 0x208]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140017edf
lea rdx, [rsp + 0x40]
call fcn.1400194d0
mov r9, rax
cmp word [rax + 0x1e], bx
je 0x140018e47
cmp dword [0x1400ac318], 2
jge 0x140018c8d
mov r8, r9
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
mul ebx
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x140018e47
jmp 0x140017eb0
lea rax, [rbp + 0x200]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rbp + 0x208]
mov edx, 0x6610
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x140017f6f
lea rdx, [rsp + 0x40]
call fcn.1400194f0
mov r9, rax
cmp word [rax + 0x1e], bx
je 0x14001900a
cmp dword [0x1400ac318], 2
jge 0x140018e50
mov r8, r9
nop word [rax + rax]
mov eax, 0xa0a0a0a1
mul ebx
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x14001900a
jmp 0x140017f40
xor r9d, r9d
mov r8, r14
mov edx, 1
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
jne 0x140017fef
lea rdx, [rsp + 0x40]
call fcn.140019510
mov r9, rax
cmp word [rax + 0x1e], bx
je 0x1400191cd
cmp dword [0x1400ac318], 2
jge 0x140019013
mov r8, r9
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
mul ebx
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x1400191cd
jmp 0x140017fc0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xd0]
call fcn.140088570
cmp qword [rdi + 0x18], 0xf
jbe 0x14001800d
mov rdi, qword [rdi]
mov r8d, 0x20
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.1400555a0
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
mov rcx, qword [rbp + 0xd0]
movsxd rax, dword [rcx + 4]
test byte [rbp + rax + 0xe0], 6
je 0x1400180cf
lea rdx, [rsp + 0x40]
call fcn.140019530
mov r9, rax
cmp word [rax + 0x1e], 0
je 0x140019390
cmp dword [0x1400ac318], 2
jge 0x1400191d6
mov r8, r9
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
mul ebx
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x140019390
jmp 0x1400180a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x218], xmm0
mov qword [rbp + 0x228], rax
mov qword [rbp + 0x230], rbx
mov word [rbp + 0x238], 1
movsxd rax, dword [rcx + 4]
mov rcx, qword [rbp + rax + 0x118]
mov qword [rsp + 0x40], rcx
test rcx, rcx
sete byte [rsp + 0x48]
mov byte [rsp + 0x49], 0
movaps xmm0, xmmword [rbp + 0x230]
movdqa xmmword [rbp + 0x230], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rbp + 0x230]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x218]
call fcn.140058aa0
nop
lea rcx, [rbp + 0xe0]
call fcn.140055150
mov esi, 6
mov r13d, 2
test rax, rax
jne 0x140018199
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
mov eax, esi
cmp qword [rbp + rcx + 0x118], 0
cmovne eax, r13d
or eax, dword [rbp + rcx + 0xe0]
and eax, 0x17
mov dword [rbp + rcx + 0xe0], eax
mov edx, dword [rbp + rcx + 0xe4]
and edx, eax
jne 0x1400193d4
mov eax, dword [rbp + 0x220]
mov rdx, qword [rbp + 0x218]
sub eax, edx
mov dword [rbp + 0x1e0], eax
mov r15d, eax
and r15d, 0xfffffff0
add r15d, 0x10
xorps xmm0, xmm0
mov r14d, r15d
movdqu xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], rbx
je 0x140018240
cmp r14, 0x1000
jb 0x140018205
lea rcx, [r15 + 0x27]
cmp rcx, r14
jbe 0x14001942c
call fcn.1400626b8
mov rcx, rax
test rax, rax
je 0x140019488
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14001820d
mov rcx, r14
call fcn.1400626b8
mov qword [rbp + 0x1e8], rax
lea rdi, [rax + r15]
mov qword [rbp + 0x1f8], rdi
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140088570
mov qword [rbp + 0x1f0], rdi
mov rdx, qword [rbp + 0x218]
mov eax, dword [rbp + 0x1e0]
mov r8d, eax
mov rcx, qword [rbp + 0x1e8]
call fcn.140087ed0
mov r8, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x218]
sub r8, rcx
xor edx, edx
call fcn.140088570
mov dword [rsp + 0x30], r15d
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, 1
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x140018438
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400036f0
mov r10, rax
lea rdx, [rsp + 0x70]
call fcn.140019550
mov r9, rax
cmp word [rax + 0x42], 0
je 0x140019399
cmp dword [0x1400ac318], 2
jl 0x1400183f7
movdqa xmm5, xmmword [0x14009e350]
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm6, xmmword [str.3333]
movdqa xmm7, xmmword [0x14009e400]
mov rcx, rax
movd xmm2, ebx
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
lea rcx, [rcx + 0x10]
cmp ebx, 0x20
jl 0x140018301
cmp ebx, 0x22
jge 0x140019399
movsxd rax, ebx
lea r8, [r9 + rax*2]
nop
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x22
jge 0x140019399
jmp 0x140018400
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x40]
call fcn.140088570
cmp qword [r12 + 0x18], 0xf
jbe 0x140018455
mov r12, qword [r12]
mov r8d, 0x20
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.14004e2e0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rdi
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x30], 6
je 0x1400186c8
lea rdx, [rsp + 0x40]
call fcn.140019590
mov r9, rax
cmp word [rax + 0x20], 0
je 0x1400193cb
cmp dword [0x1400ac318], 2
jl 0x140018684
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14009e400]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax]
xorps xmm3, xmm0
movq qword [rax], xmm3
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 8]
xorps xmm3, xmm0
movq qword [rax + 8], xmm3
movdqa xmm2, xmmword [0x14009e390]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x10]
xorps xmm3, xmm0
movq qword [rax + 0x10], xmm3
movdqa xmm2, xmmword [0x14009e3b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x18]
xorps xmm3, xmm0
movq qword [rax + 0x18], xmm3
mov ebx, 0x10
mov eax, ebx
lea r8, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x11
jge 0x1400193cb
jmp 0x140018690
mov r8d, dword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x1e8]
lea rcx, [rbp - 0x40]
call fcn.140051470
lea rcx, [rbp - 0x38]
call fcn.140055150
test rax, rax
jne 0x140018716
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 8], 0
cmovne esi, r13d
or esi, dword [rbp + rcx - 0x30]
and esi, 0x17
mov dword [rbp + rcx - 0x30], esi
mov eax, dword [rbp + rcx - 0x2c]
and eax, esi
jne 0x140019432
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x208]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r8, qword [rbp + 0x1f0]
mov rcx, qword [rbp + 0x1e8]
sub r8, rcx
xor edx, edx
call fcn.140088570
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], rdi
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call fcn.140050570
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x44], edx
lea rdi, vtable.std::ios_base.0
mov qword [rbp + 0x68], rdi
lea rcx, [rbp + 0x68]
call fcn.14006133c
nop
mov rcx, qword [rbp + 0x1e8]
test rcx, rcx
je 0x14001880a
mov rdx, qword [rbp + 0x1f8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400187f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019488
call fcn.1400626b0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], rbx
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x14001885c
mov rdx, qword [rbp + 0x228]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018845
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018911
call fcn.1400626b0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x218], xmm0
mov qword [rbp + 0x228], rbx
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xe0]
call fcn.140050570
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0xcc], edx
mov qword [rbp + 0x180], rdi
lea rcx, [rbp + 0x180]
call fcn.14006133c
nop
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140062690
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14007025c
nop
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14009e400]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rax]
xorps xmm2, xmm0
movq qword [rax], xmm2
movdqa xmm3, xmmword [0x14009e370]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rax + 8]
xorps xmm2, xmm0
movq qword [rax + 8], xmm2
movdqa xmm3, xmmword [0x14009e390]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rax + 0x10]
xorps xmm2, xmm0
movq qword [rax + 0x10], xmm2
movdqa xmm3, xmmword [0x14009e3b0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rax + 0x18]
xorps xmm2, xmm0
movq qword [rax + 0x18], xmm2
mov rcx, r9
call fcn.140007600
int3
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14009e400]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax]
xorps xmm3, xmm0
movq qword [rax], xmm3
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 8]
xorps xmm3, xmm0
movq qword [rax + 8], xmm3
movdqa xmm2, xmmword [0x14009e390]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x10]
xorps xmm3, xmm0
movq qword [rax + 0x10], xmm3
movdqa xmm2, xmmword [0x14009e3b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x18]
xorps xmm3, xmm0
movq qword [rax + 0x18], xmm3
mov rcx, r9
call fcn.140007600
int3
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14009e400]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax]
xorps xmm3, xmm0
movq qword [rax], xmm3
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 8]
xorps xmm3, xmm0
movq qword [rax + 8], xmm3
movdqa xmm2, xmmword [0x14009e390]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x10]
xorps xmm3, xmm0
movq qword [rax + 0x10], xmm3
movdqa xmm2, xmmword [0x14009e3b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x18]
xorps xmm3, xmm0
movq qword [rax + 0x18], xmm3
mov rcx, r9
call fcn.140007600
int3
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14009e400]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax]
xorps xmm3, xmm0
movq qword [rax], xmm3
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 8]
xorps xmm3, xmm0
movq qword [rax + 8], xmm3
movdqa xmm2, xmmword [0x14009e390]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x10]
xorps xmm3, xmm0
movq qword [rax + 0x10], xmm3
movdqa xmm2, xmmword [0x14009e3b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x18]
xorps xmm3, xmm0
movq qword [rax + 0x18], xmm3
mov rcx, r9
call fcn.140007600
int3
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14009e400]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax]
xorps xmm3, xmm0
movq qword [rax], xmm3
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 8]
xorps xmm3, xmm0
movq qword [rax + 8], xmm3
movdqa xmm2, xmmword [0x14009e390]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x10]
xorps xmm3, xmm0
movq qword [rax + 0x10], xmm3
movdqa xmm2, xmmword [0x14009e3b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x18]
xorps xmm3, xmm0
movq qword [rax + 0x18], xmm3
mov rcx, r9
call fcn.140007600
nop
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14009e400]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax]
xorps xmm3, xmm0
movq qword [rax], xmm3
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 8]
xorps xmm3, xmm0
movq qword [rax + 8], xmm3
movdqa xmm2, xmmword [0x14009e390]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x10]
xorps xmm3, xmm0
movq qword [rax + 0x10], xmm3
movdqa xmm2, xmmword [0x14009e3b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rax + 0x18]
xorps xmm3, xmm0
movq qword [rax + 0x18], xmm3
mov rcx, r9
call fcn.140007600
nop
mov r8, r10
mov rdx, r9
lea rcx, [rbp + 0x230]
call fcn.140058dc0
nop
lea rcx, [rsp + 0x40]
call fcn.140003dc0
lea rcx, [rbp + 0x230]
call fcn.140052030
mov rcx, rax
call fcn.140007600
nop
mov rcx, r9
call fcn.140007600
nop
test dl, 4
je 0x1400193e2
lea rbx, str.ios_base::badbit_set
jmp 0x1400193f7
test r13b, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140001e90
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x230]
call fcn.140003380
lea rdx, [0x1400a9388]
lea rcx, [rbp + 0x230]
call fcn.1400646dc
int3
call fcn.140001b30
nop
test al, 4
je 0x14001943f
lea rbx, str.ios_base::badbit_set
jmp 0x140019453
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140001e90
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x230]
call fcn.140003380
lea rdx, [0x1400a9388]
lea rcx, [rbp + 0x230]
call fcn.1400646dc
nop
call fcn.14007025c
int3