Function at 0x14005d130
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x310
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401767c0]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
lea r15, [rbp + 0x228]
movabs r12, 0xff00ff00ff00ff00
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r15
mov rsi, qword [r15]
xor rsi, r12
mov qword [rbp - 0x70], rsi
xor r14d, r14d
mov qword [r15], r14
mov qword [rbp - 0x3c], r14
mov qword [rbp - 0x28], 2
mov qword [rbp - 0x10], 2
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x40], Ordinal_32
mov dword [rbp - 0x48], reloc.WLDAP32.dll_Ordinal_60
mov dword [rbp - 0x44], 1
mov dword [rbp - 0x2c], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [0x140177188]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x34], 1
mov qword [rbp - 0x18], 1
mov dword [rbp + 0x1f0], 0xb000
mov dword [rbp + 0x1f4], 0xa000
lea rax, [0x140177198]
mov qword [rsp + 0x58], rax
lea rax, [rbp]
mov qword [rsp + 0x50], rax
lea rax, [0x140177190]
mov qword [rsp + 0x48], rax
lea rax, [0x1401771a0]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 1]
xor ecx, ecx
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
mov rcx, qword [0x1401771a0]
mov rax, qword [rcx]
lea r9, [rbp - 0x58]
lea r8, [0x14013c300]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140177190]
mov rax, qword [rcx]
lea r9, [0x1401771a8]
xor r8d, r8d
mov rdx, qword [rbp - 0x58]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, 0x37c8
lea r9d, [r14 + 8]
mov r8d, 0x42c
lea rcx, str.1.89.6
call fcn.140008c60
xor ecx, ecx
call fcn.1400088d0
call fcn.14000bd80
mov rdi, rax
or dword [rax], 3
lea rcx, [rbp + 0x40]
call fcn.14001ea10
lea rcx, [rbp + 0x160]
call fcn.14001ea10
mov byte [rbp + 0x16c], r14b
mov byte [rbp + 0x88], 1
mov byte [rbp + 0x60], 1
mov dword [rbp + 0x58], 2
mov dword [rbp + 0x5c], 2
mov rcx, qword [0x140177188]
call fcn.1400317d0
mov rdx, qword [0x140177198]
mov rcx, qword [0x140177190]
call fcn.140030820
mov qword [rbp + 8], 0xffffffffffffffff
mov qword [rbp + 0x10], 0xffffffffffffffff
mov qword [rbp + 0x18], 0xffffffffffffffff
mov qword [rbp + 0x20], 0xffffffffffffffff
mov dword [rbp + 0x28], 0xffffffff
mov qword [rbp + 0x2c], 0xfffffffffffffffd
mov dword [rbp + 0x34], 0xffffffff
mov qword [rbp + 0x38], r14
mov qword [rsp + 0x30], r14
lea rax, [0x1401771f0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 8]
mov r8d, 0x5cac
lea rdx, [0x1401704e0]
mov rcx, qword [0x140177190]
call sub.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory
lea rcx, [rbp + 0xd0]
call fcn.14001ea10
mov dword [rbp + 0xe8], 1
mov dword [rbp + 0xec], 1
mov byte [rbp + 0xf0], 1
movups xmm0, xmmword [0x14013c328]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x14013c338]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x14013c340]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x14013c344]
mov byte [rbp - 0x74], al
mov ecx, r14d
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp ebx, 2
jl 0x14005d542
movdqa xmm5, xmmword [0x1400eaa10]
movdqa xmm4, xmmword [0x14013d570]
movdqa xmm6, xmmword [0x14013d530]
movdqa xmm0, xmmword [0x14013d5b0]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x60]
nop
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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14013d550]
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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14013d550]
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 0x14005d440
cmp ecx, 0x1d
jge 0x14005d57d
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1d
jl 0x14005d550
mov qword [rsp + 0x20], r14
xor r9d, r9d
movss xmm2, dword [0x1400e6bac]
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + 0x50]
call fcn.14001f8d0
mov qword [0x140177228], rax
lea rax, [0x14013c310]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
movss xmm3, dword [0x14013d4c4]
mov r8d, 0x1e695
lea rdx, [0x1400eb820]
mov rcx, qword [rdi + 0x50]
call fcn.14001fbe0
mov qword [0x140177238], rax
movsd xmm0, qword [0x14013c348]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [str.P4B]
mov dword [rsp + 0x68], eax
cmp byte [0x14013c353], 0
je 0x14005d74d
mov ecx, r14d
cmp ebx, 2
jl 0x14005d70e
movdqa xmm4, xmmword [0x14013d570]
movdqa xmm2, xmmword [0x1400eaa10]
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, xmmword [0x14013d530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14013d550]
packuswb xmm2, xmm2
mov eax, dword [0x14013d5b0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x14013c348]
xorps xmm2, xmm0
movd dword [rsp + 0x60], xmm2
movdqa xmm3, xmmword [0x14013d520]
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, xmmword [0x14013d530]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14013d550]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x64]
xorps xmm2, xmm1
movd dword [rsp + 0x64], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x14005d720
mov qword [rsp + 0x20], r14
xor r9d, r9d
movss xmm2, dword [0x1400eb780]
lea rdx, [rsp + 0x60]
mov rcx, qword [rdi + 0x50]
call fcn.14001f8d0
mov qword [0x140177230], rax
mov rbx, qword [rdi + 0x50]
mov rcx, rbx
call fcn.140023930
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
movss xmm3, dword [0x1400e6ba8]
mov r8d, 0xf428
lea rdx, str.OTTO
mov rcx, rbx
call fcn.14001fec0
mov qword [0x140177210], rax
lea rbx, [0x14013c318]
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
movss xmm3, dword [0x14013d4c0]
mov r8d, 0x1f90
lea rdx, [0x14016e550]
mov rcx, qword [rdi + 0x50]
call fcn.14001fec0
mov qword [0x140177200], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
movss xmm3, dword [0x14013d4c8]
mov r8d, 0x1f90
lea rdx, [0x14016e550]
mov rcx, qword [rdi + 0x50]
call fcn.14001fec0
mov qword [0x140177208], rax
mov rcx, qword [0x140177188]
call fcn.1400317d0
mov rdx, qword [0x140177198]
mov rcx, qword [0x140177190]
call fcn.140030820
mov rcx, qword [0x140177190]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
xor rsi, r12
mov qword [r15], rsi
mov al, 1
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.1400df2b0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret