Function at 0x140006bf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x290
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x140089168]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r14, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1400032a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov rbx, qword [rbp - 8]
test rbx, rbx
je 0x140006c56
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 8]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x20], xmm0
test rbx, rbx
je 0x140006c6c
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r15d, 0xffffffff
test rbx, rbx
je 0x140006cae
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140006caa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140006caa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov rbx, qword [rbp - 8]
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x140007476
xor r12d, r12d
lea r13d, [r12 + 5]
mov esi, dword [0x140089178]
nop dword [rax]
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140003660
cmp dword [rax], 2
jne 0x140007440
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x40]
call fcn.140066448
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140006d07
mov rdx, qword [rbx]
lea rcx, [rbp + 0x40]
call fcn.140015910
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_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 - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
cmp qword [rbp + 0xd0], 0
je 0x140007329
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], r12
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov edi, r12d
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x40]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp]
lea rcx, [rbp + 0x40]
call fcn.140015b60
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140007249
mov r15d, 0x1f
test edi, edi
jle 0x140006df2
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x20]
je 0x140006dda
lea rdx, [rbp]
mov rcx, rax
call fcn.140013430
mov rbx, qword [rbp - 0x28]
add rbx, 0x20
mov qword [rbp - 0x28], rbx
dec edi
jmp 0x140006df6
lea r8, [rbp]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140016170
mov rbx, qword [rbp - 0x28]
dec edi
jmp 0x140006df6
mov rbx, qword [rbp - 0x28]
movups xmm0, xmmword [0x140073ea8]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x140073eb8]
movups xmmword [rsp + 0x60], xmm1
movzx eax, byte [0x140073ec8]
mov byte [rsp + 0x70], al
mov r8d, r12d
cmp esi, 2
jl 0x140006f6b
movdqa xmm5, xmmword [0x140074290]
movdqa xmm4, xmmword [0x1400742f0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1400742b0]
movd xmm8, r15d
movdqa xmm0, xmmword [str.8888888888888888_t]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
nop
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
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x1400742d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps 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
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x1400742d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140006e60
cmp r8d, 0x21
jge 0x140006fb3
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x21
jl 0x140006f80
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140013290
cmp rax, 0xffffffffffffffff
je 0x140007003
cmp rbx, qword [rbp - 0x20]
je 0x140006fea
lea rdx, [rbp]
mov rcx, rbx
call fcn.140013430
mov rbx, qword [rbp - 0x28]
add rbx, 0x20
mov qword [rbp - 0x28], rbx
jmp 0x140006ffe
lea r8, [rbp]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140016170
mov rbx, qword [rbp - 0x28]
mov edi, 4
movups xmm0, xmmword [0x140073be0]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x140073bf0]
movups xmmword [rbp - 0x78], xmm1
mov eax, dword [0x140073c00]
mov dword [rbp - 0x68], eax
mov ecx, r12d
cmp esi, 2
jl 0x140007178
movdqa xmm5, xmmword [0x140074290]
movdqa xmm4, xmmword [0x1400742f0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1400742b0]
movd xmm8, r15d
movdqa xmm0, xmmword [str.8888888888888888_t]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x7c]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ecx
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, 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
andps xmm2, xmmword [0x1400742d0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x1400742d0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140007070
cmp ecx, 0x24
jge 0x1400071be
movsxd rax, ecx
lea r8, [rsp + 0x78]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x24
jl 0x140007190
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rbp]
call fcn.140013290
cmp rax, 0xffffffffffffffff
je 0x140007203
cmp rbx, qword [rbp - 0x20]
je 0x1400071ee
lea rdx, [rbp]
mov rcx, rbx
call fcn.140013430
add qword [rbp - 0x28], 0x20
jmp 0x1400071fe
lea r8, [rbp]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140016170
mov edi, 4
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x40]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp]
lea rcx, [rbp + 0x40]
call fcn.140015b60
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140006db0
mov r15d, 0xffffffff
mov rdi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x30]
cmp rbx, rdi
je 0x140007286
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007263
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, r14
call fcn.140015d10
mov rcx, rax
mov dl, 0xa
call fcn.140013fd0
add rbx, 0x20
cmp rbx, rdi
jne 0x140007256
mov rbx, qword [rbp - 0x30]
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1400072c5
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400072bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000751b
call fcn.140065514
mov rbx, qword [rbp - 0x30]
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
test rbx, rbx
je 0x140007399
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rcx, rbx
call fcn.140014f50
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007322
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007522
call fcn.140065514
jmp 0x140007399
mov eax, dword [0x14007389c]
mov dword [rsp + 0x30], eax
movzx edx, word [0x1400738a0]
mov word [rsp + 0x34], dx
movzx eax, byte [0x1400738a2]
mov byte [rsp + 0x30], 0x45
xor byte [rsp + 0x31], 0x39
xor byte [rsp + 0x32], 0x3a
xor byte [rsp + 0x33], 0x3b
xor dl, 0x3c
mov byte [rsp + 0x34], dl
xor byte [rsp + 0x35], 0x3d
xor al, 0x3e
mov byte [rsp + 0x36], al
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.1400141a0
mov rdx, rbx
mov rcx, rax
call fcn.140014370
lea rdx, [0x1400144f0]
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]
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_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 - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x50], rax
cmp qword [rbp + 0xd0], 0
je 0x14000740a
mov rax, qword [rbp + 0x68]
lea rcx, [rbp + 0xc0]
cmp qword [rax], rcx
jne 0x14000740a
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xd8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x88]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0xa0]
mov dword [rax], edx
cmp byte [rbp + 0xcc], 0
je 0x14000741c
lea rcx, [rbp + 0x50]
call fcn.140013770
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x58]
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 + 0xf0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14000745c
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140003660
cmp dword [rax], 3
jne 0x14000745c
mov rdx, r14
mov rcx, rbx
call fcn.140006bf0
lea rcx, [rbp + 0x20]
call fcn.140003400
mov rax, qword [rbp + 0x20]
test rax, rax
jne 0x140006cd0
mov rbx, qword [rbp - 8]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400074b3
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400074af
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400074af
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rbx, qword [rbp - 8]
test rbx, rbx
je 0x1400074e2
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400074e2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x1400074e2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400653e0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x50]
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 rdi
pop rsi
pop rbp
ret
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