Function at 0x481e90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xf0], xmm8
movaps xmmword [rsp + 0x100], xmm9
movaps xmmword [rsp + 0x110], xmm10
mov rax, qword [rcx + 0x18]
sub rax, qword [rcx + 0x10]
mov r14d, edx
mov rsi, rcx
mov qword [rsp + 0x180], r8
sar rax, 3
cmp r14, rax
jb 0x481f30
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm10, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
pxor xmm7, xmm7
cvtsi2ss xmm7, r9d
movss xmm1, dword [rcx + 0x154]
movss xmm2, dword [0x006e0b10]
subss xmm1, dword [rcx + 0x148]
movaps xmm0, xmm2
movss xmm5, dword [0x006e0b28]
movss xmm3, dword [0x006e0af0]
divss xmm1, xmm7
movaps xmm4, xmm1
andps xmm4, xmm2
ucomiss xmm5, xmm4
ja 0x4824ce
movss xmm0, dword [rsi + 0x158]
addss xmm1, xmm3
subss xmm0, dword [rsi + 0x14c]
cvttss2si rbx, xmm1
divss xmm0, xmm7
mov qword [rsp + 0x20], rbx
movaps xmm9, xmm0
andps xmm9, xmm2
ucomiss xmm5, xmm9
ja 0x48249f
addss xmm0, xmm3
lea rcx, [rsp + 0x90]
mov edx, gethostbyname
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
cvttss2si r15, xmm0
mov qword [rsp + 0x28], r15
call fcn.006c03e0
movq xmm9, qword [0x006e0b70]
xor edi, edi
mov ebp, 3
movsd xmm8, qword [0x006e0b80]
nop dword [rax + rax]
mov r8d, ebp
pxor xmm6, xmm6
mov r13, rdi
mov r12d, 3
shr r8d, 1
cvtsi2sd xmm6, r8d
mulsd xmm6, xmm6
nop dword [rax]
mov r9d, r12d
pxor xmm0, xmm0
sub r12d, 1
shr r9d, 1
cvtsi2sd xmm0, r9d
mulsd xmm0, xmm0
addsd xmm0, xmm6
xorpd xmm0, xmm9
mulsd xmm0, xmm8
call fcn.005b0a50
mov r10, qword [rsp + 0x90]
pxor xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss dword [r10 + r13], xmm2
add r13, 4
cmp r12d, 0xfffffffc
jne 0x482030
add rdi, 0x1c
sub ebp, 1
cmp rdi, 0xc4
jne 0x482010
mov r11, qword [rsp + 0x180]
mov edx, 0x20
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
mov rcx, qword [r11]
mov r9d, ebp
mov r8d, edi
call fcn.00565940
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x198]
add eax, dword [rsp + 0x190]
cmp eax, dword [rsp + 0x1a0]
mov dword [rsp + 0x20], eax
jg 0x48247a
imul ebp, edi
lea r14, [r14*8]
movss xmm6, dword [0x006e0af4]
lea rdx, [rsp + 0x84]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x44], ebp
lea r8, [rsp + 0xb0]
mov qword [rsp + 0x30], rbp
shl rbp, 2
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r8
mov r13d, dword [rsp + 0x20]
pxor xmm1, xmm1
pxor xmm0, xmm0
mov qword [rsp + 0xb0], 0
mov r9, qword [rsi + 0x10]
mov qword [rsp + 0xb8], 0
mov r10, qword [rsp + 0x48]
mov qword [rsp + 0xc0], 0
mov r8, qword [rsp + 0x60]
mov r12d, r13d
sub r12d, dword [rsp + 0x190]
cvtsi2ss xmm0, r13d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [r9 + r10]
mov r9, qword [rsp + 0x50]
cvtsi2ss xmm1, r12d
movss xmm4, dword [rsi + 0x148]
movss dword [rsp + 0x8c], xmm0
movss xmm3, dword [rsi + 0x14c]
movss xmm10, dword [rsi + 0x154]
movss dword [rsp + 0x78], xmm4
movss xmm5, dword [rsi + 0x158]
movss dword [rsp + 0x7c], xmm3
movss dword [rsp + 0x80], xmm1
movss dword [rsp + 0x84], xmm10
movss dword [rsp + 0x88], xmm5
call fcn.004b0470
mov edi, dword [rsp + 0x44]
test edi, edi
je 0x4824fc
mov rcx, qword [rsp + 0x68]
call fcn.005ab718
mov r11, qword [rsp + 0x30]
mov rdi, rax
xor eax, eax
and r11d, 7
je 0x482278
cmp r11, 1
je 0x482266
cmp r11, 2
je 0x48225b
cmp r11, 3
je 0x482250
cmp r11, 4
je 0x482245
cmp r11, 5
je 0x48223a
cmp r11, 6
je 0x48222f
mov dword [rdi], 0
mov eax, 1
mov dword [rdi + rax*4], 0
add rax, 1
mov dword [rdi + rax*4], 0
add rax, 1
mov dword [rdi + rax*4], 0
add rax, 1
mov dword [rdi + rax*4], 0
add rax, 1
mov dword [rdi + rax*4], 0
add rax, 1
mov dword [rdi + rax*4], 0
add rax, 1
cmp qword [rsp + 0x30], rax
je 0x4822c2
mov dword [rdi + rax*4], 0
mov dword [rdi + rax*4 + 4], 0
mov dword [rdi + rax*4 + 8], 0
mov dword [rdi + rax*4 + 0xc], 0
mov dword [rdi + rax*4 + 0x10], 0
mov dword [rdi + rax*4 + 0x14], 0
mov dword [rdi + rax*4 + 0x18], 0
mov dword [rdi + rax*4 + 0x1c], 0
add rax, 8
cmp qword [rsp + 0x30], rax
jne 0x482278
mov r14, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
cmp r13, r14
je 0x482430
mov rbp, qword [rsp + 0x90]
movss xmm9, dword [rsi + 0x148]
movss xmm8, dword [rsi + 0x14c]
mov qword [rsp + 0x28], rbp
lea r12, [rbp + 0xa8]
mov rbp, qword [r14]
movss xmm0, dword [rbp]
subss xmm0, xmm9
divss xmm0, xmm7
call fcn.005abc80
movaps xmm10, xmm0
movss xmm0, dword [rbp + 4]
subss xmm0, xmm8
divss xmm0, xmm7
call fcn.005abc80
cvttss2si rcx, xmm10
cvttss2si r10, xmm0
lea r8d, [rcx + 3]
lea edx, [r10 + 3]
cmp r15d, edx
jb 0x482423
cmp ebx, r8d
jb 0x482423
sub r10d, 3
cmp r10d, edx
jae 0x482423
imul r10d, ebx
mov r11, qword [rsp + 0x28]
sub ecx, 3
add r10d, ecx
nop
cmp ecx, r8d
jae 0x482413
movss xmm2, dword [r11]
lea ebp, [r10 + 1]
mov r9d, r10d
lea rax, [rdi + r9*4]
mulss xmm2, xmm6
addss xmm2, dword [rax]
lea rdx, [rdi + rbp*4]
lea r9d, [r10 + 2]
movss dword [rax], xmm2
movss xmm4, dword [r11 + 4]
lea rax, [rdi + r9*4]
lea ebp, [r10 + 3]
mulss xmm4, xmm6
addss xmm4, dword [rdx]
lea r9d, [r10 + 4]
movss dword [rdx], xmm4
movss xmm3, dword [r11 + 8]
lea rdx, [rdi + rbp*4]
lea ebp, [r10 + 5]
mulss xmm3, xmm6
addss xmm3, dword [rax]
movss dword [rax], xmm3
movss xmm1, dword [r11 + 0xc]
lea rax, [rdi + r9*4]
mulss xmm1, xmm6
addss xmm1, dword [rdx]
movss dword [rdx], xmm1
movss xmm5, dword [r11 + 0x10]
lea rdx, [rdi + rbp*4]
mulss xmm5, xmm6
addss xmm5, dword [rax]
movss dword [rax], xmm5
movss xmm0, dword [r11 + 0x14]
mulss xmm0, xmm6
addss xmm0, dword [rdx]
movss dword [rdx], xmm0
add r11, 0x1c
add r10d, ebx
cmp r11, r12
jne 0x482370
add r14, 8
cmp r14, r13
jne 0x482301
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call fcn.00566060
mov r13d, dword [rsp + 0x190]
add dword [rsp + 0x20], r13d
test rdi, rdi
je 0x482457
mov rcx, rdi
call fcn.005ab730
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x482469
call fcn.005ab730
mov edi, dword [rsp + 0x20]
cmp dword [rsp + 0x1a0], edi
jge 0x482121
mov rcx, qword [rsp + 0x38]
call fcn.00565e80
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x481eed
call fcn.005ab730
jmp 0x481eed
cvttss2si ecx, xmm0
pxor xmm10, xmm10
movaps xmm5, xmm0
andnps xmm2, xmm0
cvtsi2ss xmm10, ecx
cmpnless xmm5, xmm10
andps xmm5, xmm3
addss xmm10, xmm5
orps xmm10, xmm2
movaps xmm0, xmm10
jmp 0x481fab
cvttss2si edx, xmm1
pxor xmm8, xmm8
movaps xmm6, xmm1
andnps xmm0, xmm1
movaps xmm1, xmm0
cvtsi2ss xmm8, edx
cmpnless xmm6, xmm8
andps xmm6, xmm3
addss xmm8, xmm6
orps xmm1, xmm8
jmp 0x481f77
xor edi, edi
jmp 0x4822c2