Function at 0x457ad0
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 0x7fa485
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x410
mov eax, dword [0x90df34]
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, ecx
mov ecx, dword [ebx + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x3e0], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x3e4], ecx
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x41c], 0
movlpd qword [ebp - 0x414], xmm0
movlpd qword [ebp - 0x408], xmm0
movlpd qword [ebp - 0x400], xmm0
movlpd qword [ebp - 0x3f8], xmm0
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x420], 0x3c
mov dword [ebp - 0x418], 0xffffffff
mov dword [ebp - 0x40c], 0xffffffff
mov dword [ebp - 0x3f0], 0xffffffff
mov dword [ebp - 0x3e8], 0xffffffff
call dword [0x811af0]
test eax, eax
je 0x45860c
xor esi, esi
mov dword [ebp - 0x3dc], 0x8d6a9c
mov dword [ebp - 0x3d8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x3d0], esi
mov dword [ebp - 0x3d4], 0x8d6a8c
lea ecx, [ebp - 0x3c8]
call fcn.00459ac0
mov dword [ebp - 0x3c8], 0x8d6a00
push esi
push esi
push esi
push esi
push 0x8d6770
mov byte [ebp - 4], 2
call dword [0x811b04]
test eax, eax
jne 0x457c09
call fcn.0045b9e0
mov dword [ebp - 0x3cc], eax
jmp 0x457c1b
mov esi, eax
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3d8], esi
push dword [edi + 0x44]
push dword [edi + 0x40]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push esi
call dword [0x811ae8]
test eax, eax
jne 0x457c37
call fcn.0045b9e0
cmp dword [ebp - 0x3cc], 0
jl 0x4585e7
mov ecx, dword [ebp - 0x410]
xor edi, edi
mov eax, dword [ebp - 0x40c]
mov edx, 7
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], edx
mov word [ebp - 0x44], di
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x457c7d
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040d850
mov edx, dword [ebp - 0x30]
push 0
push dword [ebp - 0x408]
cmp edx, 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push esi
call dword [0x811aec]
test eax, eax
jne 0x457ca4
call fcn.0045b9e0
mov edi, eax
jmp 0x457cac
mov dword [ebp - 0x3d0], eax
xor edi, edi
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x457ce6
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457cdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45862e
push edx
push ecx
call fcn.0059a5db
add esp, 8
test edi, edi
js 0x4585e7
xorps xmm0, xmm0
mov dword [ebp - 0x304], 0
movlpd qword [ebp - 0x310], xmm0
mov dword [ebp - 0x308], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.006ae1b6
movups xmm0, xmmword [0x8d6990]
mov esi, eax
add esp, 4
mov eax, dword [0x8d69a0]
xor edi, edi
mov dword [ebp - 0x1c], eax
mov ax, word [0x8d69a4]
mov dword [ebp - 0x3cc], esi
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x18], ax
mov eax, 0x8d3dcb09
mov ecx, edi
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + edi*2 - 0x2c], cx
inc edi
cmp edi, 0xb
jl 0x457d42
movups xmm0, xmmword [0x8d6950]
xor edi, edi
lea eax, [ebp - 0x2c]
mov dword [esi], eax
cmp dword [0x18021f4], 2
mov eax, dword [0x8d6978]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x30], eax
lea ecx, [edi + 5]
movups xmm0, xmmword [0x8d6960]
lea edx, [edi + 0x1f]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [0x8d6970]
movq qword [ebp - 0x38], xmm0
jl 0x457ec4
movaps xmm4, xmmword [0x8d6c60]
movaps xmm3, xmmword [0x8d6d00]
movaps xmm6, xmmword [0x8d6c90]
movd xmm5, ecx
movd xmm7, edx
nop dword [eax]
movd xmm0, edi
lea eax, [edi + 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
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + edi*2 - 0x58]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + edi*2 - 0x58], 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
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
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + edi*2 - 0x50]
pxor xmm1, xmm0
movq qword [ebp + edi*2 - 0x50], xmm1
add edi, 8
cmp edi, 0x10
jl 0x457dd0
cmp edi, 0x16
jge 0x457eec
mov eax, 0x8d3dcb09
mov ecx, edi
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + edi*2 - 0x58], cx
inc edi
cmp edi, 0x16
jl 0x457ec4
lea eax, [ebp - 0x58]
mov dword [ebp - 0xb4], 0
mov dword [esi + 4], eax
xor edx, edx
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], dx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x457f3a
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xc4]
call fcn.0040d850
mov byte [ebp - 4], 4
xor edx, edx
mov ecx, dword [ebp - 0x3f4]
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], dx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x457f7f
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xac]
call fcn.0040d850
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045b950
add esp, 0xc
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x457fe1
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458633
push edx
push ecx
call fcn.0059a5db
add esp, 8
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x458042
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458038
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458638
push edx
push ecx
call fcn.0059a5db
add esp, 8
movq xmm0, qword [0x8d6944]
xor eax, eax
mov word [ebp - 0xc4], ax
xor edi, edi
mov ax, word [0x8d694c]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
movq qword [ebp - 0x94], xmm0
mov word [ebp - 0x8c], ax
nop
mov eax, 0x8d3dcb09
mov ecx, edi
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + edi*2 - 0x94], cx
inc edi
cmp edi, 5
jl 0x458080
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov edx, 0x800000
cmovae ecx, dword [ebp - 0x70]
sub esp, 8
xor eax, eax
cmp dword [ebp - 0x414], 2
cmove eax, edx
push eax
push esi
sub esp, 8
lea eax, [ebp - 0x94]
push eax
push ecx
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x3c8]
call fcn.0045b3e0
test eax, eax
js 0x45858a
mov esi, dword [ebp - 0x3e0]
push esi
call dword [0x811388]
xor ecx, ecx
mov dword [ebp - 0x34], 0
push eax
mov word [ebp - 0x44], cx
lea ecx, [ebp - 0x44]
push esi
mov dword [ebp - 0x30], 7
call fcn.0040d850
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x88]
call fcn.00459180
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x45816c
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458162
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45863d
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov ecx, 0x3b
mov dword [ebp - 0x34], 0
mov esi, 0x8d6858
mov dword [ebp - 0x30], 7
lea edi, [ebp - 0x1b8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov word [ebp - 0x44], ax
cmp dword [0x18021f4], 2
jl 0x4582d0
movaps xmm4, xmmword [0x8d6c60]
mov eax, 5
movaps xmm3, xmmword [0x8d6d00]
movaps xmm6, xmmword [0x8d6c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 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
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1b8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x1b8], 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
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
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1b0]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x1b0], xmm1
add esi, 8
cmp esi, 0x70
jl 0x4581d0
cmp esi, 0x76
jge 0x4582fb
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x1b8], cx
inc esi
cmp esi, 0x76
jl 0x4582d0
push dword [ebp - 0x78]
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00413dc0
add esp, 0xc
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push 0x1000000
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x3c4]
call dword [0x811afc]
test eax, eax
jne 0x45833e
call fcn.0045b9e0
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x3c8]
push eax
call fcn.0045ac40
test eax, eax
js 0x4584ff
mov esi, dword [ebp - 0x3e4]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x458376
mov eax, dword [esi]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x44]
mov byte [eax], 0
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x270]
sub edx, eax
push edx
push eax
call fcn.00459220
push eax
mov ecx, esi
call fcn.00404ca0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4583d4
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4583ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458642
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x45840e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458404
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458647
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 0x10
jb 0x458459
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45844f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45864c
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 8
jb 0x4584a8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45849e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458651
push edx
push ecx
call fcn.0059a5db
add esp, 8
push dword [ebp - 0x3cc]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.006adc99
add esp, 4
lea ecx, [ebp - 0x3c8]
call fcn.00459250
mov eax, dword [ebp - 0x3d0]
mov esi, dword [0x811b08]
test eax, eax
je 0x4584e8
push eax
call esi
mov eax, dword [ebp - 0x3d8]
test eax, eax
je 0x4584f5
push eax
call esi
mov eax, 1
jmp 0x45860e
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x458539
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45852f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458656
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 0x10
jb 0x458584
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45857a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45865b
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov esi, dword [ebp - 0x3cc]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4585c4
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4585ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458660
push edx
push ecx
call fcn.0059a5db
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
push esi
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.006adc99
mov esi, dword [ebp - 0x3d8]
add esp, 4
lea ecx, [ebp - 0x3c8]
call fcn.00459250
mov eax, dword [ebp - 0x3d0]
mov edi, dword [0x811b08]
test eax, eax
je 0x458605
push eax
call edi
test esi, esi
je 0x45860c
push esi
call edi
xor eax, eax
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.0059a3cf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
int3