Function at 0x14001aa30
Capabilities:
Create new key via cryptacquirecontext
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 - 0x2b8]
sub rsp, 0x380
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rdi, r8
mov r13, rdx
mov r14, rcx
mov rsi, qword [rbp + 0x2e0]
xor ebx, ebx
mov qword [rbp + 0x228], rbx
mov qword [rbp + 0x218], rbx
mov qword [rbp + 0x220], rbx
mov dword [rsp + 0x20], 0xf0000000
mov r9d, Ordinal_27
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14001ab17
lea rdx, [rsp + 0x40]
call fcn.14001c0b0
mov r9, rax
cmp word [rax + 0x1e], bx
je 0x14001bce7
cmp dword [reloc.WS2_32.dll_accept], 2
jge 0x14001bb4d
mov r8, r9
nop dword [rax + rax]
mov eax, 0x29e4129f
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x14001bce7
jmp 0x14001aae0
lea rax, [rbp + 0x220]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14001aba7
lea rdx, [rsp + 0x40]
call fcn.14001c0d0
mov r9, rax
cmp word [rax + 0x1e], bx
je 0x14001be9a
cmp dword [reloc.WS2_32.dll_accept], 2
jge 0x14001bcf0
mov r8, r9
nop word [rax + rax]
mov eax, 0x29e4129f
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x14001be9a
jmp 0x14001ab70
xor r9d, r9d
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rdi
mov rcx, qword [rbp + 0x220]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14001ac27
lea rdx, [rsp + 0x40]
call fcn.14001c0f0
mov r9, rax
cmp word [rax + 0x1e], bx
je 0x14001c04d
cmp dword [reloc.WS2_32.dll_accept], 2
jge 0x14001bea3
mov r8, r9
nop dword [rax + rax]
mov eax, 0x29e4129f
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x10
jge 0x14001c04d
jmp 0x14001abf0
lea rax, [rbp + 0x218]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rbp + 0x220]
mov edx, 0x6610
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x14001ae75
lea rdx, [rsp + 0x40]
call fcn.14001c110
mov r9, rax
cmp word [rax + 0x20], bx
je 0x14001c056
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001ae2d
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm6, xmmword [str.99999999]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7320]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7340]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7360]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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, reloc.WS2_32.dll_recv
mov eax, ebx
lea r8, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x11
jge 0x14001c056
jmp 0x14001ae40
xor r9d, r9d
mov r8, rsi
mov edx, 1
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
jne 0x14001b0a5
lea rdx, [rsp + 0x40]
call fcn.14001c140
mov r9, rax
cmp word [rax + 0x20], bx
je 0x14001c05f
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001b068
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm6, xmmword [str.99999999]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7320]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7340]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7360]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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, reloc.WS2_32.dll_recv
mov eax, ebx
lea r8, [r9 + rax*2]
nop
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x11
jge 0x14001c05f
jmp 0x14001b070
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, r14
lea rcx, [rbp + 0xd0]
call fcn.14003f170
nop
mov rcx, qword [rbp + 0xd0]
movsxd rax, dword [rcx + 4]
test byte [rbp + rax + 0xe0], 6
je 0x14001b2f7
lea rdx, [rsp + 0x40]
call fcn.14001c170
mov r9, rax
cmp word [rax + 0x20], 0
je 0x14001c068
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001b2bc
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm6, xmmword [str.99999999]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7320]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7340]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7360]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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, reloc.WS2_32.dll_recv
mov eax, ebx
lea r8, [r9 + rax*2]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x11
jge 0x14001c068
jmp 0x14001b2c2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], rax
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x48], 1
movsxd rax, dword [rcx + 4]
mov rcx, qword [rbp + rax + 0x118]
mov qword [rbp + 0x230], rcx
test rcx, rcx
sete byte [rbp + 0x238]
mov byte [rbp + 0x239], 0
movdqu xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], rbx
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rbp + 0x230]
movdqa xmmword [rbp + 0x230], xmm1
movzx r14d, byte [rbp + 0x239]
mov rdi, qword [rbp + 0x230]
movzx r12d, byte [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
test rcx, rcx
jne 0x14001b398
movzx r15d, byte [rbp + 0x238]
jmp 0x14001b3b7
test rdi, rdi
je 0x14001b3b1
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14001b3b1
movzx r14d, al
jmp 0x14001b3b4
mov rdi, rbx
mov r15b, 1
test r12b, r12b
jne 0x14001b3d5
test rsi, rsi
je 0x14001b3cf
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x14001b3d2
mov rsi, rbx
mov r12b, 1
test rdi, rdi
jne 0x14001b60b
test rsi, rsi
jne 0x14001b614
lea rcx, [rbp + 0xe0]
call fcn.140041980
test rax, rax
jne 0x14001b41b
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
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]
mov esi, dword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x1e8]
sub esi, edx
mov dword [rbp + 0x1e0], esi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], rbx
test rsi, rsi
je 0x14001b47e
mov edx, esi
lea rcx, [rbp + 0x200]
call fcn.140046f10
mov rcx, qword [rbp + 0x200]
lea rdi, [rcx + rsi]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x208], rdi
mov rdx, qword [rbp + 0x1e8]
mov esi, dword [rbp + 0x1e0]
mov r8d, esi
mov rcx, qword [rbp + 0x200]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x200]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, 1
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x14001b6d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140003220
mov r10, rax
lea rdx, [rbp - 0x80]
call fcn.14001c1a0
mov r9, rax
cmp word [rax + 0x3e], 0
je 0x14001c071
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001b695
movdqa xmm5, xmmword [0x1400d7300]
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm6, xmmword [str.7777]
movdqa xmm7, xmmword [str.99999999]
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
psrad xmm1, 1
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
psrad xmm1, 1
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
jge 0x14001c071
jmp 0x14001b521
test rsi, rsi
jne 0x14001b3e7
test r15b, r15b
jne 0x14001b635
test rdi, rdi
je 0x14001b632
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14001b632
movzx r14d, al
jmp 0x14001b635
mov rdi, rbx
mov byte [rsp + 0x30], r14b
mov rax, qword [rbp + 0x1f0]
cmp rax, qword [rbp + 0x1f8]
je 0x14001b656
mov byte [rax], r14b
inc qword [rbp + 0x1f0]
jmp 0x14001b66e
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x1f0]
lea rcx, [rbp + 0x1e8]
call fcn.14004f310
test rdi, rdi
je 0x14001b3b1
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x14001b3b1
mov byte [rbp + 0x238], 0
jmp 0x14001b398
mov r8, r9
nop dword [rax + rax]
mov eax, 0x29e4129f
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x20
jge 0x14001c071
jmp 0x14001b6a0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
cmp qword [r13 + 0x18], 0xf
jbe 0x14001b6f3
mov r13, qword [r13]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, r13
lea rcx, [rbp - 0x40]
call fcn.14003e3f0
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 0x14001b955
lea rdx, [rsp + 0x40]
call fcn.14001c1d0
mov r9, rax
cmp word [rax + 0x20], 0
je 0x14001c0a3
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001b912
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm6, xmmword [str.99999999]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7320]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7340]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7360]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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, reloc.WS2_32.dll_recv
mov eax, ebx
lea r8, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x11
jge 0x14001c0a3
jmp 0x14001b920
mov r8d, dword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x200]
lea rcx, [rbp - 0x40]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x38]
call fcn.140041980
test rax, rax
jne 0x14001b998
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
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]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x220]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r8, qword [rbp + 0x208]
mov rcx, qword [rbp + 0x200]
sub r8, rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
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.14003f100
lea rcx, [rbp - 0x30]
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 + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x200]
test rcx, rcx
je 0x14001ba6c
mov rdx, qword [rbp + 0x210]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ba55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ba55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], rbx
mov rcx, qword [rbp + 0x1e8]
test rcx, rcx
je 0x14001bac1
mov rdx, qword [rbp + 0x1f8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001baaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001baaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], 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.14003f100
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x180]
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 + 0x250]
xor rcx, rsp
call fcn.1400bbb00
lea r11, [rsp + 0x380]
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
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm6, xmmword [str.99999999]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7320]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7340]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7360]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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.14000c1b0
int3
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm6, xmmword [str.99999999]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7320]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7340]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7360]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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.14000c1b0
int3
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm6, xmmword [str.99999999]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7320]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7340]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1400d7360]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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.14000c1b0
int3
mov rcx, r9
call fcn.14000c1b0
int3
mov rcx, r9
call fcn.14000c1b0
nop
mov rcx, r9
call fcn.14000c1b0
nop
mov r8, r10
mov rdx, r9
lea rcx, [rbp + 0x230]
call fcn.140043fd0
nop
lea rcx, [rsp + 0x40]
call fcn.1400038f0
lea rcx, [rbp + 0x230]
call fcn.14003fdd0
mov rcx, rax
call fcn.14000c1b0
nop
mov rcx, r9
call fcn.14000c1b0
int3