Function at 0x140002d50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
xor esi, esi
mov dword [rbp + 0xf0], esi
mov eax, dword [0x140087748]
mov dword [rbp + 0xf0], eax
movzx ecx, word [0x14008774c]
mov word [rbp + 0xf4], cx
movzx eax, byte [0x14008774e]
mov byte [rbp + 0xf0], Ordinal_60
xor byte [rbp + 0xf1], 0x36
xor byte [rbp + 0xf2], 0x37
xor byte [rbp + 0xf3], 0x38
xor cl, 0x39
mov byte [rbp + 0xf4], cl
xor byte [rbp + 0xf5], 0x3a
xor al, 0x3b
mov byte [rbp + 0xf6], al
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x80]
call fcn.140006ea0
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [0x140095100]
call fcn.140019860
nop
movups xmm0, xmmword [str.v_fkoPT_SJMc46]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x1400876e8]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1400876f0]
mov dword [rsp + 0x38], eax
cmp byte [0x1400876f3], sil
je 0x140002fce
mov ecx, esi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140002f88
movdqa xmm5, xmmword [0x1400878a0]
movdqa xmm4, xmmword [0x140087950]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1400878d0]
mov eax, Ordinal_35
movd xmm8, eax
movdqa xmm0, xmmword [str.55555555555555556666666666666666]
movdqa xmmword [rbp + 0x70], xmm0
lea rdx, [rsp + 0x24]
mov r8d, dword [rbp + 0x70]
nop dword [rax + 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 [0x140087910]
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 [0x140087910]
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, 0x18
jl 0x140002e80
cmp ecx, 0x1c
jge 0x140002fce
movsxd rax, ecx
lea r8, [rsp + 0x20]
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, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x140002fa0
lea rax, [0x1400876f8]
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp + 0xf0], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
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_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x68], rax
mov byte [rbp - 0x1c], 0
mov byte [rbp - 0x27], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x18], rsi
mov rax, qword [0x1400953c8]
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x30], rsi
mov r8d, Ordinal_35
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.140007400
test rax, rax
jne 0x1400030a4
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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 r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
sub r8, rdx
lea rcx, [rsp + 0x60]
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]
cmp qword [rbp - 0x18], 0
je 0x14000313f
mov rax, qword [rbp - 0x80]
lea rcx, [rbp - 0x28]
cmp qword [rax], rcx
jne 0x1400030ea
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
mov qword [rax], rcx
mov rax, qword [rbp - 0x60]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x48]
mov dword [rax], edx
lea rcx, [rsp + 0x68]
call fcn.140007260
lea rbx, [rsp + 0x68]
test al, al
cmove rbx, rsi
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, rsi
test eax, eax
cmove rdi, rbx
mov byte [rbp - 0x1c], 0
mov byte [rbp - 0x27], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x18], rsi
mov rax, qword [0x1400953c8]
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x30], rsi
test rdi, rdi
jne 0x140003184
jmp 0x140003165
mov byte [rbp - 0x1c], 0
mov byte [rbp - 0x27], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x18], rsi
mov rax, qword [0x1400953c8]
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x30], rsi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rsp + 0x60]
call fcn.1400029c0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400031ce
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400031c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret