Function at 0x464bb0
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 0x8250d4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x348
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 edi, dword [0x181dbec]
xor eax, eax
mov dword [ebp - 0x328], edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
lea edx, [edi + 0xe8]
mov word [ebp - 0x60], ax
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464c20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.0040eb10
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004365c0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x464c5d
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea edx, [edi + 0x830]
lea ecx, [ebp - 0x78]
call fcn.004365c0
mov esi, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
jb 0x464c79
mov esi, dword [esi]
mov edx, 0x181dc80
lea ecx, [ebp - 0xd0]
call fcn.004365c0
mov edi, eax
mov byte [ebp - 4], 3
cmp dword [edi + 0x14], 0x10
jb 0x464c97
mov edi, dword [edi]
mov edx, dword [ebp - 0x328]
lea ecx, [ebp - 0xb8]
lea edx, [edx + 0x7b8]
call fcn.004365c0
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x464cc6
mov eax, dword [eax]
mov dword [ebp - 0x334], eax
movups xmm0, xmmword [0x901954]
mov eax, dword [0x901974]
xor ecx, ecx
cmp dword [0x1817094], 2
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x80], eax
movups xmm0, xmmword [0x901964]
mov al, byte [0x901978]
lea edx, [ecx + 5]
mov byte [ebp - 0x7c], al
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x32c], ecx
jl 0x464e56
movaps xmm0, xmmword [0x904730]
mov eax, 0x1f
movaps xmm4, xmmword [0x9046b0]
movaps xmm3, xmmword [0x904770]
movaps xmm6, xmmword [0x9046e0]
movd xmm5, edx
movaps xmmword [ebp - 0x350], xmm0
mov edx, dword [ebp - 0x350]
movd xmm7, eax
movd xmm0, ecx
lea eax, [ecx + 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
paddd xmm1, xmm2
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 [0x904720]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0xa0]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0xa0], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x904720]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x9c]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x9c], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x464d40
mov dword [ebp - 0x32c], ecx
cmp ecx, 0x25
jge 0x464e96
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0x32c]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x32c]
add al, 0x35
xor byte [ebp + ecx - 0xa0], al
inc ecx
mov dword [ebp - 0x32c], ecx
cmp ecx, 0x25
jl 0x464e56
push dword [ebp - 0x1c]
lea eax, [ebp - 0xa0]
push esi
push edi
push dword [ebp - 0x334]
push 0x900fb0
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.004159c0
add esp, 0x1c
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x464efa
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464ef0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659f9
push edx
push ecx
call fcn.005c4046
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xbc]
cmp edx, 0x10
jb 0x464f53
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464f49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659fe
push edx
push ecx
call fcn.005c4046
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x464fa6
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464f9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a03
push edx
push ecx
call fcn.005c4046
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x464ff0
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464fe6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a08
push edx
push ecx
call fcn.005c4046
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x465040
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465036
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a0d
push edx
push ecx
call fcn.005c4046
add esp, 8
mov ecx, 0x1d
mov dword [ebp - 0x50], 0
mov esi, 0x8ffdc8
mov dword [ebp - 0x4c], 7
lea edi, [ebp - 0x1c8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1817094]
xor ecx, ecx
mov word [ebp - 0x60], ax
mov dword [ebp - 0x32c], ecx
cmp edi, 2
jl 0x4651d6
movaps xmm0, xmmword [0x904730]
mov eax, 5
movaps xmm4, xmmword [0x9046b0]
movaps xmm3, xmmword [0x904770]
movaps xmm6, xmmword [0x9046e0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x350], xmm0
mov edx, dword [ebp - 0x350]
movd xmm7, eax
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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
paddd xmm1, xmm2
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 [0x904720]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1c8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1c8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x904720]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1c4]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x1c4], xmm1
add ecx, 8
cmp ecx, 0x70
jl 0x4650c0
mov dword [ebp - 0x32c], ecx
cmp ecx, 0x74
jge 0x465216
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0x32c]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x32c]
add al, 0x35
xor byte [ebp + ecx - 0x1c8], al
inc ecx
mov dword [ebp - 0x32c], ecx
cmp ecx, 0x74
jl 0x4651d6
push 0xa
push 0x900fd4
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
call fcn.004062c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0xd8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465270
sub ecx, edx
lea eax, [ebp - 0x1c8]
push ecx
push eax
lea ecx, [ebp - 0xe8]
call fcn.004062c0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
mov byte [ebp - 0x321], 0
push eax
lea ecx, [ebp - 0x330]
movlpd qword [ebp - 0x348], xmm0
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x1c], 0
call fcn.004452f0
mov eax, dword [ebp - 0x330]
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0xd0]
push eax
push ecx
lea ecx, [ebp - 0x338]
call fcn.004324d0
mov esi, eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x134]
call fcn.00405e20
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x134]
push eax
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00436ec0
lea ecx, [ebp - 0x321]
mov byte [ebp - 4], 0xf
push ecx
lea ecx, [ebp - 0x348]
mov edx, eax
push ecx
lea ecx, [ebp - 0x340]
push ecx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.00445320
add esp, 0x10
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x46538d
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465383
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a12
push edx
push ecx
call fcn.005c4046
add esp, 8
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
push fcn.00404190
push 1
push 0x18
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x12
push eax
call fcn.005c4311
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x338]
mov esi, dword [ebp - 0x338]
push dword [esi + 4]
call fcn.00432730
mov eax, dword [ebp - 0x338]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x338]
mov dword [eax], esi
mov eax, dword [ebp - 0x338]
mov dword [eax + 8], esi
push dword [ebp - 0x338]
mov dword [ebp - 0x334], 0
call fcn.005c4046
add esp, 8
push fcn.00436ef0
push 1
push 0x30
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x15
push eax
call fcn.005c4311
cmp dword [ebp - 0x248], 0
jne 0x46576f
mov eax, dword [ebp - 0x2a0]
add eax, 0xffffff38
cmp eax, 6
ja 0x46576f
mov esi, dword [ebp - 0x28c]
cmp esi, 0x80
jbe 0x46576f
cmp dword [ebp - 0x288], 0x10
lea ecx, [ebp - 0x29c]
push dword [ebp - 0x334]
cmovae ecx, dword [ebp - 0x29c]
add ecx, esi
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x288], 0x10
lea esi, [ebp - 0x29c]
push ecx
cmovae esi, dword [ebp - 0x29c]
lea ecx, [ebp - 0x24]
push esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.004097e0
push 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x16
call fcn.0048a040
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0x17
call fcn.0048f580
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x48]
mov esi, dword [ebp - 0x24]
push esi
call fcn.004063f0
push 1
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x320]
call fcn.00491220
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x465526
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46551c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a17
push edx
push ecx
call fcn.005c4046
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.0048caa0
test al, al
je 0x465727
push 0x900fe0
lea ecx, [ebp - 0x60]
call fcn.0048a840
mov ecx, eax
call fcn.0048b920
mov ecx, dword [ebp - 0x328]
mov dword [ecx + 0x6b0], eax
test eax, eax
je 0x465727
push 0x900fe4
lea ecx, [ebp - 0x60]
call fcn.0048a840
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.0048bb10
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
call fcn.004799b0
mov edx, eax
mov byte [ebp - 4], 0x1b
cmp dword [edx + 0x14], 8
jb 0x465592
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465597
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x181dc38
call fcn.0040eb10
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4655f0
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4655e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a1c
push edx
push ecx
call fcn.005c4046
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 0x10
jb 0x46563c
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465632
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a21
push edx
push ecx
call fcn.005c4046
add esp, 8
push 0x900ff0
lea ecx, [ebp - 0x60]
call fcn.0048a840
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.0048bb10
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x48]
call fcn.004799b0
mov edx, eax
mov byte [ebp - 4], 0x1d
cmp dword [edx + 0x14], 8
jb 0x465670
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465675
sub ecx, edi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x328]
push edx
lea ecx, [ecx + 0x608]
call fcn.0040eb10
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4656d5
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4656cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a26
push edx
push ecx
call fcn.005c4046
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 0x10
jb 0x465721
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465717
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a2b
push edx
push ecx
call fcn.005c4046
add esp, 8
mov edi, dword [0x1817094]
lea ecx, [ebp - 0x320]
call fcn.00465a40
lea ecx, [ebp - 0x60]
call fcn.0048a390
mov byte [ebp - 4], 0x15
test esi, esi
je 0x46576f
mov ecx, dword [ebp - 0x1c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x465765
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a30
push ecx
push esi
call fcn.005c4046
add esp, 8
cmp byte [0x901953], 0
mov eax, dword [0x90194c]
mov edx, dword [0x901950]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x4658ed
xor ecx, ecx
mov dword [ebp - 0x328], ecx
cmp edi, 2
jl 0x4658b0
movaps xmm2, xmmword [0x9046b0]
mov eax, 5
movaps xmm5, xmmword [0x904770]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm6, eax
psrad xmm1, xmm6
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm7, eax
mov eax, dword [0x904730]
psrld xmm0, xmm7
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
pand xmm1, xmmword [0x904720]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x90194c]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x904720]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
pxor xmm1, xmm0
movd dword [ebp - 0x1c], xmm1
jmp 0x4658ed
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0x328]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x328]
add al, 0x35
xor byte [ebp + ecx - 0x20], al
inc ecx
mov dword [ebp - 0x328], ecx
cmp ecx, 8
jl 0x4658b0
push ecx
lea eax, [ebp - 0x20]
mov ecx, 0x180a1d8
push eax
call fcn.004325b0
test eax, eax
js 0x46599a
push 0
push 0x8fe749
push 7
push eax
mov ecx, 0x180a1d8
call fcn.00404470
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004353b0
mov esi, eax
cmp esi, 0x181dc38
je 0x465960
mov ecx, 0x181dc38
call fcn.00406ef0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x181dc38], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x181dc48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x46599a
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465990
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a35
push edx
push ecx
call fcn.005c4046
add esp, 8
lea ecx, [ebp - 0x2a8]
call fcn.0042f1d0
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x4659db
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4659d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465a3a
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
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
int3