Function at 0x1800518d0
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 - 0x1c8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x180106060]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, qword [0x180107920]
test rbx, rbx
je 0x18005192c
inc dword [rbx + 0xf4]
mov rdx, qword [0x180107910]
mov ecx, 0x5df8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 0x80], rcx
mov qword [rbp - 0x20], rax
xor esi, esi
test rax, rax
je 0x180051965
xor edx, edx
mov rcx, rax
call fcn.180004be0
jmp 0x180051968
mov rax, rsi
mov qword [0x180107920], rax
call fcn.180008be0
mov rdi, qword [0x180107920]
test rbx, rbx
cmovne rdi, rbx
mov qword [0x180107920], rdi
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x10], xmm6
movups xmmword [rbp], xmm6
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp + 0x30], xmm6
movups xmmword [rbp + 0x40], xmm6
mov qword [rbp + 0x70], rax
mov byte [rbp - 4], 1
mov dword [rbp + 0x34], 0x7f7fffff
mov dword [rbp + 0x40], 0x3f800000
mov r15d, 0xffff
mov word [rbp + 0x44], r15w
mov byte [rbp + 0x38], 1
mov byte [rbp + 0x10], 1
mov dword [rbp + 8], 2
mov dword [rbp + 0xc], 2
mov qword [rbp + 0x88], 0xffffffffffffffff
mov qword [rbp + 0x90], 0xffffffffffffffff
mov qword [rbp + 0x98], 0xffffffffffffffff
mov rbx, 0xffffffffffffffff
mov qword [rbp + 0xa0], rbx
mov dword [rbp + 0xa8], 0xffffffff
mov qword [rbp + 0xac], 0xfffffffffffffffd
mov dword [rbp + 0xb4], 0xffffffff
mov qword [rbp + 0xb8], rsi
mov rax, qword [0x180107ee0]
add rax, 0x20
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x88]
mov r8d, 0x8de
lea rdx, [0x1801060b0]
mov rcx, qword [0x180107cf0]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov r14, qword [rdi + 0x58]
movups xmm0, xmmword [0x1800f3e90]
movups xmmword [rbp + 0x88], xmm0
movsd xmm1, qword [0x1800f3ea0]
movsd qword [rbp + 0x98], xmm1
mov eax, dword [0x1800f3ea8]
mov dword [rbp + 0xa0], eax
cmp byte [0x1800f3eab], 0
je 0x180051c50
mov r8d, esi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180051c09
movdqa xmm5, xmmword [0x1800f53c0]
movdqa xmm4, xmmword [0x1800f5620]
mov eax, Ordinal_27
movd xmm7, eax
movdqa xmm8, xmmword [0x1800f5500]
mov eax, Ordinal_33
movd xmm9, eax
movdqa xmm0, xmmword [0x1800f56a0]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x8c]
mov edx, dword [rbp - 0x20]
nop word [rax + rax]
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
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800f5480]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800f5480]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x180051b00
cmp r8d, 0x1c
jge 0x180051c50
movsxd rax, r8d
lea r9, [rbp + 0x88]
add r9, rax
nop word [rax + rax]
mov eax, 0x22dba71d
imul r8d
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7b
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1c
jl 0x180051c20
mov qword [rsp + 0x48], rsi
lea r8, [rsp + 0x48]
lea rcx, [rbp + 0x88]
call fcn.180006b10
mov rsi, rax
test rax, rax
je 0x180051e3a
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov word [rbp - 0x5c], r15w
movups xmm3, xmmword [rsp + 0x50]
movups xmmword [rbp + 0xc0], xmm3
movups xmm4, xmmword [rsp + 0x60]
movups xmmword [rbp + 0xd0], xmm4
movups xmmword [rbp + 0xe0], xmm1
xorps xmm5, xmm5
movups xmmword [rbp + 0xf0], xmm5
movups xmm7, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x100], xmm7
movups xmm2, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x110], xmm2
xorps xmm8, xmm8
movups xmmword [rbp + 0x120], xmm8
xorps xmm9, xmm9
movups xmmword [rbp + 0x130], xmm9
movsd xmm10, qword [rbp - 0x30]
movsd qword [rbp + 0x140], xmm10
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x180051de7
lea rax, [rbp + 0x88]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180051d37
lea r9, [rbp + 0x88]
add r9, rbx
lea rax, [rbp + 0x88]
cmp r9, rax
jbe 0x180051d7e
nop word [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x180051d7e
cmp al, 0x5c
je 0x180051d7e
mov r9, rcx
lea rax, [rbp + 0x88]
cmp rcx, rax
ja 0x180051d60
movsd xmm0, qword [0x1800f51e8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0x116]
call fcn.180006760
movsd xmm10, qword [rbp + 0x140]
movups xmm9, xmmword [rbp + 0x130]
movups xmm8, xmmword [rbp + 0x120]
movups xmm2, xmmword [rbp + 0x110]
movups xmm7, xmmword [rbp + 0x100]
movups xmm5, xmmword [rbp + 0xf0]
movups xmm1, xmmword [rbp + 0xe0]
movups xmm4, xmmword [rbp + 0xd0]
movups xmm3, xmmword [rbp + 0xc0]
movups xmmword [rsp + 0x50], xmm3
movups xmmword [rsp + 0x60], xmm4
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm5
movups xmmword [rbp - 0x70], xmm7
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x50], xmm8
movups xmmword [rbp - 0x40], xmm9
movsd qword [rbp - 0x30], xmm10
mov qword [rsp + 0x50], rsi
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x58], eax
movss xmm0, dword [0x1800f5238]
movss dword [rsp + 0x64], xmm0
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1800297f0
mov r14, qword [rdi + 0x58]
mov rax, qword [0x180107920]
test rax, rax
je 0x180051e50
inc dword [rax + 0xf4]
mov rdx, qword [0x180107910]
mov ecx, 0x286ac
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
lea rax, [0x1800d3fb0]
mov qword [0x180107cb0], rax
lea rdi, [rsi + 0x286ac]
mov qword [0x180107cb8], rdi
mov qword [0x180107cc0], rsi
mov qword [0x180107cc8], rsi
lea rbx, [0x1800d3fc0]
mov rcx, rbx
call fcn.18002d870
cmp rax, rbx
je 0x180051ebb
cmp qword [0x180107cc8], rdi
ja 0x180051ebb
mov rbx, rax
mov rcx, rax
call fcn.18002d870
cmp rax, rbx
jne 0x180051ea2
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsp + 0x50], xmm0
movups xmm2, xmmword [rbp]
movups xmm3, xmmword [rbp + 0x10]
movups xmm4, xmmword [rbp + 0x30]
movups xmm5, xmmword [rbp + 0x40]
movsd xmm1, qword [rbp + 0x70]
mov byte [rsp + 0x5c], 1
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rsp + 0x70], xmm3
movups xmmword [rbp - 0x80], xmm6
movups xmmword [rbp - 0x70], xmm4
movups xmmword [rbp - 0x60], xmm5
movups xmmword [rbp - 0x50], xmm6
movups xmmword [rbp - 0x40], xmm6
movsd qword [rbp - 0x30], xmm1
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x286ac
movss xmm0, dword [0x1800f5244]
movss dword [rsp + 0x64], xmm0
lea rax, [0x1800f3e04]
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1800297f0
mov qword [0x1801079e0], rax
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1800bc030
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret