Function at 0x45dc60
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f9b2b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2928
call fcn.0059a880
mov eax, dword [0x90cf34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2920], esi
mov dword [ebp - 0x2920], esi
mov dword [ebp - 0x2908], 0
mov dword [ebp - 0x2904], 0xf
mov byte [ebp - 0x2918], 0
lea eax, [ebp - 0x2924]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28b8]
mov dword [ebp - 0x2924], 0x2880
push eax
call dword [0x810284]
test eax, eax
jne 0x45dd18
lea eax, [ebp - 0x28b8]
nop dword [eax]
cmp dword [eax + 0x1a0], 6
jne 0x45dd12
cmp dword [eax + 0x190], 6
je 0x45dd49
mov eax, dword [eax]
test eax, eax
jne 0x45dd00
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059961f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movzx ecx, byte [eax + 0x198]
xor edx, edx
cmp dword [0x18011f4], 2
movups xmm0, xmmword [0x8d5bb0]
movzx edi, byte [eax + 0x199]
mov dword [ebp - 0x2928], ecx
movzx ecx, byte [eax + 0x197]
mov dword [ebp - 0x292c], ecx
movzx ecx, byte [eax + 0x196]
mov dword [ebp - 0x2930], ecx
movzx ecx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
mov dword [ebp - 0x2920], eax
mov al, byte [0x8d5bc8]
movups xmmword [ebp - 0x28d4], xmm0
mov dword [ebp - 0x2934], ecx
movq xmm0, qword [0x8d5bc0]
movq qword [ebp - 0x28c4], xmm0
mov byte [ebp - 0x28bc], al
mov dword [ebp - 0x291c], edx
jl 0x45df20
movaps xmm0, xmmword [0x8d5ce0]
mov eax, 1
movaps xmm4, xmmword [0x8d5c60]
movaps xmm3, xmmword [0x8d5cd0]
movaps xmm6, xmmword [0x8d5c80]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x2900], xmm0
mov ecx, dword [ebp - 0x2900]
movd xmm7, eax
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x28d4]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x28d4], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x28d0]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x28d0], xmm1
add edx, 8
cmp edx, 0x18
jl 0x45de10
mov dword [ebp - 0x291c], edx
cmp edx, 0x19
jge 0x45df56
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x291c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x28d4], cl
inc edx
mov dword [ebp - 0x291c], edx
cmp edx, 0x19
jl 0x45df20
push edi
push dword [ebp - 0x2928]
lea eax, [ebp - 0x28d4]
push dword [ebp - 0x292c]
push dword [ebp - 0x2930]
push dword [ebp - 0x2934]
push dword [ebp - 0x2920]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0045e000
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x28f0], 0
add esp, 0x20
mov dword [ebp - 0x28ec], 0xf
mov byte [ebp - 0x2900], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45dfb0
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x2900]
call fcn.00405af0
movups xmm0, xmmword [ebp - 0x2900]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x28f0]
movq qword [esi + 0x10], xmm0
jmp 0x45dd29