Function at 0x140082890
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x240
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140d81080]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov edi, dword [0x141255ac0]
mov esi, reloc.WLDAP32.dll_Ordinal_32
mov r14d, dword [0x141255ac4]
mov ecx, esi
mov r15, qword [0x141255ab0]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x141254e38], rax
mov rcx, rax
test rax, rax
jne 0x140082b06
mov eax, dword [0x140d5f448]
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140d5f44c]
xor byte [rsp + 0x61], 0x3a
xor byte [rsp + 0x62], 0x3b
xor byte [rsp + 0x63], 0x3c
mov word [rsp + 0x64], ax
xor al, 0x3d
xor byte [rsp + 0x65], 0x3e
mov byte [rsp + 0x64], al
mov byte [rsp + 0x60], 0xe2
call fcn.140041e90
mov eax, dword [0x140d5f440]
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [0x140d5f430]
mov dword [rbp - 0x70], eax
movzx eax, word [0x140d5f444]
mov word [rbp - 0x6c], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_79]
mov byte [rbp - 0x6a], al
movups xmmword [rbp - 0x80], xmm0
jl 0x140082a9c
movdqa xmm0, xmmword [0x140d62ac0]
lea rcx, [rbp - 0x7c]
movdqa xmm4, xmmword [0x140d62520]
movdqa xmm3, xmmword [0x140d63180]
movdqa xmm5, xmmword [0x140d62590]
movdqa xmm6, xmmword [0x140d625b0]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400829b0
cmp ebx, 0x17
jge 0x140082adf
movsxd rax, ebx
lea r8, [rbp - 0x80]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x140082ab0
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140041e90
lea rdx, [0x140042070]
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]
xor eax, eax
jmp 0x140083411
xor ebx, ebx
mov qword [0x141254f28], 0x15
mov qword [0x141254f30], rbx
lea r9, [rbp - 0x10]
mov dword [0x141254f58], ebx
xor edx, edx
mov qword [0x141254f38], 1
mov r8d, 1
mov qword [0x141254f50], 0x50
mov dword [0x141254f48], 1
mov qword [0x141254f40], r15
mov dword [0x141254f20], r14d
mov dword [0x141254f24], edi
mov dword [0x141254f4c], 1
mov dword [0x141254f5c], 0x80000000
mov rax, qword [rax]
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x60]
test eax, eax
jns 0x140082d68
mov eax, dword [0x140d5f448]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140d5f44c]
xor byte [rsp + 0x61], 0x3a
xor byte [rsp + 0x62], 0x3b
xor byte [rsp + 0x63], 0x3c
mov word [rsp + 0x64], ax
xor al, 0x3d
xor byte [rsp + 0x65], 0x3e
mov byte [rsp + 0x64], al
mov byte [rsp + 0x60], 0xe2
call fcn.140041e90
cmp dword [reloc.WS2_32.dll_accept], 2
mov eax, dword [0x140d5f3f0]
movups xmm0, xmmword [0x140d5f3e0]
mov dword [rbp - 0x70], eax
movzx eax, byte [0x140d5f3f4]
movups xmmword [rbp - 0x80], xmm0
mov byte [rbp - 0x6c], al
jl 0x140082d1c
movdqa xmm0, xmmword [0x140d62ac0]
lea rcx, [rbp - 0x7c]
movdqa xmm4, xmmword [0x140d62520]
movdqa xmm3, xmmword [0x140d63180]
movdqa xmm5, xmmword [0x140d62590]
movdqa xmm6, xmmword [0x140d625b0]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140082c30
cmp ebx, 0x15
jge 0x140082d5f
movsxd rax, ebx
lea r8, [rbp - 0x80]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, bl
inc ebx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x15
jl 0x140082d30
lea rdx, [rbp - 0x80]
jmp 0x140082ae3
test dword [rbp + 0xc], 0x10000
je 0x140082f78
mov eax, dword [0x140d5f448]
mov esi, 0x40
mov dword [rsp + 0x60], eax
movzx eax, word [0x140d5f44c]
xor byte [rsp + 0x61], 0x3a
xor byte [rsp + 0x62], 0x3b
xor byte [rsp + 0x63], 0x3c
mov word [rsp + 0x64], ax
xor al, 0x3d
xor byte [rsp + 0x65], 0x3e
mov byte [rsp + 0x64], al
mov byte [rsp + 0x60], 0xe2
call fcn.140041e90
movups xmm0, xmmword [0x140d5f3f8]
movzx eax, word [0x140d5f428]
mov ecx, ebx
movups xmm1, xmmword [0x140d5f408]
mov edi, dword [reloc.WS2_32.dll_accept]
movdqa xmm6, xmmword [0x140d625b0]
mov word [rbp - 0x50], ax
movzx eax, byte [0x140d5f42a]
mov byte [rbp - 0x4e], al
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x140d5f418]
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm0
cmp edi, 2
jl 0x140082f2e
movdqa xmm0, xmmword [0x140d62ac0]
lea rdx, [rbp - 0x7c]
movdqa xmm4, xmmword [0x140d62520]
movdqa xmm3, xmmword [0x140d63180]
movdqa xmm5, xmmword [0x140d62590]
movdqa xmmword [rsp + 0x70], xmm0
mov r8d, dword [rsp + 0x70]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x140082e40
cmp ecx, 0x33
jge 0x140082f6f
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x33
jl 0x140082f40
lea rdx, [rbp - 0x80]
jmp 0x140083163
mov eax, dword [0x140d5f448]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140d5f44c]
xor byte [rsp + 0x61], 0x3a
xor byte [rsp + 0x62], 0x3b
xor byte [rsp + 0x63], 0x3c
mov word [rsp + 0x64], ax
xor al, 0x3d
xor byte [rsp + 0x65], 0x3e
mov byte [rsp + 0x64], al
mov byte [rsp + 0x60], 0xe2
call fcn.140041e90
movups xmm0, xmmword [0x140d5f470]
movzx eax, word [0x140d5f4a0]
mov ecx, ebx
movups xmm1, xmmword [0x140d5f480]
mov edi, dword [reloc.WS2_32.dll_accept]
movdqa xmm6, xmmword [0x140d625b0]
mov word [rbp - 0x18], ax
movzx eax, byte [0x140d5f4a2]
mov byte [rbp - 0x16], al
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [0x140d5f490]
movups xmmword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x28], xmm0
cmp edi, 2
jl 0x14008311e
movdqa xmm0, xmmword [0x140d62ac0]
lea rdx, [rbp - 0x44]
movdqa xmm4, xmmword [0x140d62520]
movdqa xmm3, xmmword [0x140d63180]
movdqa xmm5, xmmword [0x140d62590]
movdqa xmmword [rsp + 0x70], xmm0
mov r8d, dword [rsp + 0x70]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x140083030
cmp ecx, 0x33
jge 0x14008315f
movsxd rax, ecx
lea r8, [rbp - 0x48]
add r8, rax
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x33
jl 0x140083130
lea rdx, [rbp - 0x48]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140041e90
lea rdx, [0x140042070]
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]
mov rcx, qword [0x141254e38]
lea rdx, [0x141255298]
mov qword [rsp + 0x30], rdx
mov r9, r15
lea rdx, [0x141254f20]
mov r8d, 1
mov qword [rsp + 0x28], rdx
xor edx, edx
mov rax, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [rax + 0x80]
test eax, eax
jns 0x1400833a8
mov eax, dword [0x140d5f448]
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140d5f44c]
xor byte [rsp + 0x61], 0x3a
xor byte [rsp + 0x62], 0x3b
xor byte [rsp + 0x63], 0x3c
mov word [rsp + 0x64], ax
xor al, 0x3d
xor byte [rsp + 0x65], 0x3e
mov byte [rsp + 0x64], al
mov byte [rsp + 0x60], 0xe2
call fcn.140041e90
movzx eax, word [0x140d5f468]
mov word [rbp - 0x68], ax
movzx eax, byte [0x140d5f46a]
mov byte [rbp - 0x66], al
movups xmm0, xmmword [0x140d5f450]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x140d5f460]
movsd qword [rbp - 0x70], xmm0
cmp edi, 2
jl 0x14008335c
movdqa xmm0, xmmword [0x140d62ac0]
lea rcx, [rbp - 0x7c]
movdqa xmm4, xmmword [0x140d62520]
movdqa xmm3, xmmword [0x140d63180]
movdqa xmm5, xmmword [0x140d62590]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x140083270
cmp ebx, 0x1b
jge 0x14008339f
movsxd rax, ebx
lea r8, [rbp - 0x80]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, bl
inc ebx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x1b
jl 0x140083370
lea rdx, [rbp - 0x80]
jmp 0x140082ae3
mov rcx, qword [0x141255298]
lea rax, [0x141254e30]
mov qword [rsp + 0x58], rax
mov r9d, 0x190
lea rax, [0x140d5f3c8]
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov edx, reloc.WS2_32.dll_listen
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 6
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov rcx, qword [0x141254e38]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, 1
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14017e360
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret