Function at 0x479cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x826400
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x93cf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0xc]
push 0x902a78
mov dword [ebp - 0x78], eax
call fcn.005e1a2c
mov edx, dword [0x1817094]
mov edi, eax
mov ecx, 5
test edi, edi
je 0x479d90
cmp dword [ebx + 0x10], 0x64
jne 0x479f78
cmp word [0x902ca6], 0
mov eax, dword [edi]
movq xmm0, qword [0x902c9c]
movq qword [ebp - 0x20], xmm0
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x78], eax
mov eax, dword [0x902ca4]
mov dword [ebp - 0x18], eax
je 0x479d81
xor esi, esi
nop
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x20], ax
inc esi
cmp esi, 6
jl 0x479d50
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call dword [ebp - 0x78]
mov edx, dword [0x1817094]
mov esi, dword [ebp - 0x74]
cmp word [0x902c8a], 0
movups xmm0, xmmword [0x902c70]
mov eax, dword [0x902c88]
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [0x902c80]
movq qword [ebp - 0x30], xmm0
je 0x479f01
xor ecx, ecx
cmp edx, 2
jl 0x479ed0
movaps xmm2, xmmword [0x9046b0]
mov eax, 5
movaps xmm4, xmmword [0x904770]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x902c70
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9046c0]
paddd xmm2, xmmword [0x9046b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x40], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x38]
pxor xmm1, xmm0
movq qword [ebp - 0x38], xmm1
nop
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
shl edx, 3
sub eax, edx
add eax, 0x35
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
cmp ecx, 0xe
jl 0x479ed0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00415ad0
add esp, 8
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
mov ecx, dword [ecx + 4]
push eax
call fcn.005e1a2c
test eax, eax
je 0x479f3b
push esi
mov ecx, eax
call fcn.005f5c0a
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x47a146
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a13c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a166
jmp 0x47a13c
movups xmm0, xmmword [0x902c8c]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x24], xmm0
test ax, ax
je 0x47a0c1
xor esi, esi
cmp edx, 2
jl 0x47a090
movaps xmm2, xmmword [0x9046b0]
mov eax, 0x1f
movaps xmm4, xmmword [0x904770]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, ecx
psrad xmm1, xmm5
movd xmm6, eax
mov eax, 0x902c8c
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9046c0]
paddd xmm2, xmmword [0x9046b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x904710]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x24], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x1c]
paddw xmm1, xmmword [0x904710]
pxor xmm1, xmm0
movq qword [ebp - 0x1c], xmm1
jmp 0x47a0c1
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x24], ax
inc esi
cmp esi, 8
jl 0x47a090
push dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x24]
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00415ad0
add esp, 0x10
mov dword [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
cmp dword [ebp - 0x44], 8
mov edx, dword [eax + 0x2c]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x47a131
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a127
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a16b
push edx
push ecx
call fcn.005c4046
add esp, 8
mov edx, dword [0x1817094]
jmp 0x479d93
push edx
push ecx
call fcn.005c4046
add esp, 8
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.005c3e3a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.006d2f99
call fcn.006d2f99
int3