Function at 0x1406cb4b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rdi, rcx
xor edx, edx
mov cl, 0x43
call fcn.1406ba590
mov byte [rsp + 0x30], al
mov edx, 1
mov cl, 0x3a
call fcn.1406ba590
mov byte [rsp + 0x31], al
mov edx, 2
mov cl, 0x5c
call fcn.1406ba590
mov byte [rsp + 0x32], al
mov edx, 3
mov cl, 0x55
call fcn.1406ba590
mov byte [rsp + 0x33], al
mov edx, 4
mov cl, reloc.WS2_32.dll_WSAStartup
call fcn.1406ba590
mov byte [rsp + 0x34], al
mov edx, 5
mov cl, 0x65
call fcn.1406ba590
mov byte [rsp + 0x35], al
mov edx, 6
mov cl, WSAStartup
call fcn.1406ba590
mov byte [rsp + 0x36], al
mov edx, 7
mov cl, reloc.WS2_32.dll_WSAStartup
call fcn.1406ba590
mov byte [rsp + 0x37], al
mov edx, 8
mov cl, 0x5c
call fcn.1406ba590
mov byte [rsp + 0x38], al
mov edx, 9
mov cl, 0x44
call fcn.1406ba590
mov byte [rsp + 0x39], al
mov edx, 0xa
mov cl, 0x65
call fcn.1406ba590
mov byte [rsp + 0x3a], al
mov edx, ntohl
mov cl, 0x66
call fcn.1406ba590
mov byte [rsp + 0x3b], al
mov edx, ntohl
mov cl, 0x61
call fcn.1406ba590
mov byte [rsp + 0x3c], al
mov edx, reloc.WS2_32.dll_listen
mov cl, 0x75
call fcn.1406ba590
mov byte [rsp + 0x3d], al
mov edx, reloc.WS2_32.dll_ntohl
mov cl, 0x6c
call fcn.1406ba590
mov byte [rsp + 0x3e], al
mov edx, reloc.WS2_32.dll_ntohs
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.1406ba590
mov byte [rsp + 0x3f], al
mov edx, reloc.WS2_32.dll_recv
mov cl, 0x5c
call fcn.1406ba590
mov byte [rsp + 0x40], al
mov edx, reloc.WS2_32.dll_recvfrom
mov cl, 0x44
call fcn.1406ba590
mov byte [rsp + 0x41], al
mov edx, reloc.WS2_32.dll_select
mov cl, reloc.WS2_32.dll_WSAGetLastError
call fcn.1406ba590
mov byte [rsp + 0x42], al
mov edx, reloc.WS2_32.dll_send
mov cl, 0x77
call fcn.1406ba590
mov byte [rsp + 0x43], al
mov edx, reloc.WS2_32.dll_sendto
mov cl, WSAGetLastError
call fcn.1406ba590
mov byte [rsp + 0x44], al
mov edx, reloc.WS2_32.dll_setsockopt
mov cl, 0x6c
call fcn.1406ba590
mov byte [rsp + 0x45], al
mov edx, reloc.WLDAP32.dll_Ordinal_22
mov cl, reloc.WS2_32.dll_WSAGetLastError
call fcn.1406ba590
mov byte [rsp + 0x46], al
mov edx, reloc.WS2_32.dll_socket
mov cl, 0x61
call fcn.1406ba590
mov byte [rsp + 0x47], al
mov edx, Ordinal_26
mov cl, 0x64
call fcn.1406ba590
mov byte [rsp + 0x48], al
mov edx, Ordinal_26
mov cl, reloc.WS2_32.dll_WSAStartup
call fcn.1406ba590
mov byte [rsp + 0x49], al
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov cl, 0x5c
call fcn.1406ba590
mov byte [rsp + 0x4a], al
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov cl, 0x4d
call fcn.1406ba590
mov byte [rsp + 0x4b], al
mov edx, Ordinal_30
mov cl, 0x57
call fcn.1406ba590
mov byte [rsp + 0x4c], al
mov edx, Ordinal_33
mov cl, 0x49
call fcn.1406ba590
mov byte [rsp + 0x4d], al
mov edx, reloc.WLDAP32.dll_Ordinal_30
call fcn.1406ba590
mov byte [rsp + 0x4e], al
mov edx, Ordinal_33
call fcn.1406ba590
mov byte [rsp + 0x4f], al
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov cl, reloc.WLDAP32.dll_Ordinal_46
call fcn.1406ba590
mov byte [rsp + 0x50], al
mov edx, reloc.WLDAP32.dll_Ordinal_33
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.1406ba590
mov byte [rsp + 0x51], al
mov edx, Ordinal_35
mov cl, 0x78
call fcn.1406ba590
mov byte [rsp + 0x52], al
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.1406ba590
mov byte [rsp + 0x53], al
xor eax, eax
mov byte [rsp + 0x54], al
movdqa xmm7, xmmword [0x14075fc70]
xor ebx, ebx
mov r10d, ebx
movdqa xmm0, xmmword [0x14075fd10]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm6, xmmword [0x14075fce0]
mov r11d, dword [rsp + 0x60]
nop dword [rax]
movsxd r9, r10d
movd xmm1, r10d
pshufd xmm1, xmm1, 0
paddd xmm1, xmm7
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd xmm0, r11d
paddb xmm1, xmm0
movd xmm0, dword [rsp + r9 + 0x30]
xorps xmm1, xmm0
movd dword [rsp + r9 + 0x30], xmm1
lea eax, [r10 + 7]
lea ecx, [r10 + 6]
lea edx, [r10 + 5]
lea r8d, [r10 + 4]
movd xmm1, eax
movd xmm2, ecx
movd xmm0, edx
movd xmm3, r8d
punpckldq xmm2, xmm1
punpckldq xmm3, xmm0
punpcklqdq xmm3, xmm2
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r11d
paddb xmm3, xmm0
movd xmm0, dword [rsp + r9 + 0x34]
xorps xmm3, xmm0
movd dword [rsp + r9 + 0x34], xmm3
lea eax, [r10 + 0xb]
lea ecx, [r10 + 0xa]
lea edx, [r10 + 9]
lea r8d, [r10 + 8]
movd xmm1, eax
movd xmm2, ecx
movd xmm0, edx
movd xmm3, r8d
punpckldq xmm2, xmm1
punpckldq xmm3, xmm0
punpcklqdq xmm3, xmm2
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r11d
paddb xmm3, xmm0
movd xmm0, dword [rsp + r9 + 0x38]
xorps xmm3, xmm0
movd dword [rsp + r9 + 0x38], xmm3
lea eax, [r10 + 0xf]
lea ecx, [r10 + 0xe]
lea edx, [r10 + 0xd]
lea r8d, [r10 + 0xc]
movd xmm1, eax
movd xmm2, ecx
movd xmm0, edx
movd xmm3, r8d
punpckldq xmm2, xmm1
punpckldq xmm3, xmm0
punpcklqdq xmm3, xmm2
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r11d
paddb xmm3, xmm0
movd xmm0, dword [rsp + r9 + 0x3c]
xorps xmm3, xmm0
movd dword [rsp + r9 + 0x3c], xmm3
add r10d, 0x10
cmp r10d, 0x20
jb 0x1406cb740
cmp r10d, 0x24
jae 0x1406cb89a
movsxd rax, r10d
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [r10 + 0x13]
xor byte [rcx], al
inc r10d
cmp r10d, 0x24
jb 0x1406cb880
mov byte [rsp + 0x54], bl
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1406d08d0
nop
cmp qword [rbp + 0x28], 0
je 0x1406cbaa6
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1406cb8c6
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1406d5630
lea rcx, [rbp - 0x58]
call fcn.1406d2bd0
test rax, rax
jne 0x1406cb8fd
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
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]
movups xmm0, xmmword [0x14075f0b8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14075f0c8]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [0x14075f0d8]
movsd qword [rbp - 0x70], xmm0
movzx eax, byte [0x14075f0e0]
mov byte [rbp - 0x68], al
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1406cba62
movdqa xmm4, xmmword [0x14075fd30]
movdqa xmm5, xmmword [str.4444]
movdqa xmm0, xmmword [str.5555555555555555O]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x74]
mov r10d, dword [rsp + 0x60]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r10d
paddb xmm2, xmm0
movd xmm0, dword [r9 - 4]
xorps xmm2, xmm0
movd dword [r9 - 4], xmm2
lea eax, [rbx + 7]
lea ecx, [rbx + 6]
lea edx, [rbx + 5]
lea r8d, [rbx + 4]
movd xmm1, eax
movd xmm2, ecx
movd xmm0, edx
movd xmm3, r8d
punpckldq xmm2, xmm1
punpckldq xmm3, xmm0
punpcklqdq xmm3, xmm2
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r10d
paddb xmm3, xmm0
movd xmm0, dword [r9]
xorps xmm3, xmm0
movd dword [r9], xmm3
add ebx, 8
lea r9, [r9 + 8]
cmp ebx, 0x28
jl 0x1406cb960
cmp ebx, 0x29
jge 0x1406cba9c
movsxd rax, ebx
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, bl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x29
jl 0x1406cba70
lea rdx, [rsp + 0x70]
jmp 0x1406cbc3a
movups xmm0, xmmword [0x14075fbd8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14075fbe8]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [0x14075fbf8]
movsd qword [rbp - 0x70], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1406cbbff
movdqa xmm4, xmmword [0x14075fd30]
movdqa xmm5, xmmword [str.4444]
movdqa xmm0, xmmword [str.5555555555555555O]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x74]
mov r10d, dword [rsp + 0x60]
nop
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r10d
paddb xmm2, xmm0
movd xmm0, dword [r9 - 4]
xorps xmm2, xmm0
movd dword [r9 - 4], xmm2
lea eax, [rbx + 7]
lea ecx, [rbx + 6]
lea edx, [rbx + 5]
lea r8d, [rbx + 4]
movd xmm1, eax
movd xmm2, ecx
movd xmm0, edx
movd xmm3, r8d
punpckldq xmm2, xmm1
punpckldq xmm3, xmm0
punpcklqdq xmm3, xmm2
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r10d
paddb xmm3, xmm0
movd xmm0, dword [r9]
xorps xmm3, xmm0
movd dword [r9], xmm3
add ebx, 8
lea r9, [r9 + 8]
cmp ebx, 0x28
jl 0x1406cbb00
jmp 0x1406cbc35
lea r8, [rsp + 0x70]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
mul ebx
shr edx, 4
movsx eax, dl
imul edx, eax, 0x34
movzx eax, bl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x28
jl 0x1406cbc10
lea rdx, [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1406bcf30
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.1406d1660
lea rcx, [rbp - 0x50]
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 + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret