Function at 0x456030
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
mov eax, dword [0x608764]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004791f0
add esp, 4
call fcn.0048eaf0
mov esi, eax
mov eax, dword [0x4f5718]
sub esi, eax
mov dword [esp + 0x14], esi
jns 0x456060
mov esi, 1
jmp 0x456066
cmp esi, 1
jle 0x45606a
dec esi
mov dword [esp + 0x14], esi
call fcn.0048eaf0
mov dword [0x4f5718], eax
mov eax, dword [0x558584]
cmp eax, 1
jne 0x4562a5
mov eax, dword [0x4f5714]
test eax, eax
jne 0x45609d
call fcn.0048ea90
mov dword [0x4f5714], eax
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x4560b7
call fcn.0048ea90
sub eax, dword [0x4f5714]
cmp eax, 0x400
mov dword [esp + 0x14], eax
jg 0x457247
imul eax, eax
mov ecx, dword [0x4f570c]
mov esi, dword [0x4f56e0]
cdq
and edx, 0xff
mov dword [0x4f5708], esi
add eax, edx
mov dword [esp + 0x10], 0
sar eax, 8
test ecx, ecx
jle 0x456210
lea ecx, [eax + 0x100]
and ecx, 0x3ff
and eax, 0x3ff
lea edx, [ecx*4 + 0x4ca918]
lea eax, [eax*4 + 0x4ca918]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov eax, dword [0x60879c]
shl eax, 6
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 4]
sar ecx, 1
sub eax, ecx
mov ecx, dword [esp + 0x14]
cdq
and edx, 0x3f
add eax, edx
mov edi, eax
mov eax, dword [0x608798]
shl eax, 6
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esi + 8]
sar edx, 1
sub eax, edx
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, ecx
imul eax, dword [edx]
cdq
and edx, 0x3ff
add eax, edx
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x20]
sar ebx, 0xa
imul eax, dword [ecx]
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esi + 0x10]
mov ecx, eax
mov dword [esp + 0x18], edx
sar ecx, 0xa
sar edi, 6
sar ebp, 6
mov eax, ecx
mov edx, ebx
imul eax, ebp
imul edx, edi
add eax, edx
mov edx, dword [0x60879c]
shl edx, 0xf
imul ecx, edi
add eax, edx
cdq
and edx, 0xffff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0x10
mov dword [edx], eax
mov eax, ebx
imul eax, ebp
sub eax, ecx
mov ecx, dword [0x608798]
shl ecx, 0xf
add eax, ecx
mov ecx, dword [esi]
cdq
and edx, 0xffff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0x10
mov dword [esi + 0x14], eax
add eax, 4
push eax
mov eax, dword [edx]
push eax
push ecx
call dword [0x514204]
mov esi, dword [0x4f5708]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4f570c]
add esi, 0x20
inc eax
cmp eax, ecx
mov dword [0x4f5708], esi
mov dword [esp + 0x10], eax
jl 0x45610f
mov eax, dword [0x4f56e0]
xor esi, esi
test ecx, ecx
mov dword [0x4f5708], eax
jle 0x4564f8
mov ecx, dword [eax + 0xc]
cmp ecx, 0x10000
jl 0x45624c
mov edx, dword [eax + 0x14]
add ecx, 0xffff0000
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax]
push ecx
push edx
call dword [0x514620]
add esp, 0x10
jmp 0x45627b
test ecx, ecx
je 0x456267
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [0x5141e0]
add esp, 0x10
jmp 0x45627b
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [0x5141fc]
add esp, 0xc
mov eax, dword [0x4f5708]
mov ecx, dword [0x4f570c]
add eax, 0x20
inc esi
cmp esi, ecx
mov dword [0x4f5708], eax
jl 0x456224
mov dword [0x4f570c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
cmp eax, ebp
je 0x456a79
cmp eax, 2
je 0x456a79
cmp eax, 3
je 0x456a79
cmp eax, 4
je 0x456a79
cmp eax, 5
je 0x456a79
cmp eax, 6
jne 0x45684d
mov eax, dword [0x4f5714]
mov edi, dword [0x4f56e4]
cmp eax, ebp
jle 0x45650a
cmp edi, 0x48
jge 0x457247
cmp edi, 0x20
jl 0x45650a
inc edi
mov dword [0x4f56e4], edi
mov edx, dword [0x4f570c]
mov eax, dword [0x4f56e0]
mov dword [esp + 0x10], 0
test edx, edx
mov dword [0x4f5708], eax
jle 0x4563d4
mov edx, dword [eax + 4]
mov esi, dword [eax + 0x10]
lea ebx, [eax + 0x10]
sub edx, esi
cmp edx, 0x400
mov ebp, eax
jle 0x456344
mov edx, 0x400
jmp 0x456351
cmp edx, 0xfffffc00
jge 0x456351
mov edx, 0xfffffc00
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0x14]
lea edi, [eax + 0x14]
sub esi, ecx
cmp esi, 0x400
jle 0x45636b
mov esi, 0x400
jmp 0x456378
cmp esi, 0xfffffc00
jge 0x456378
mov esi, 0xfffffc00
lea ecx, [eax + 0x18]
mov eax, dword [eax + 0x18]
lea edx, [edx + eax*2]
add eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ecx]
lea edx, [esi + eax*2]
add eax, edx
cdq
and edx, 3
add eax, edx
mov edx, dword [ebx]
sar eax, 2
mov dword [ebp + 0x1c], eax
mov ebp, dword [edi]
add edx, ecx
mov ecx, dword [esp + 0x10]
add ebp, eax
mov dword [ebx], edx
mov dword [edi], ebp
mov eax, dword [0x4f5708]
mov edx, dword [0x4f570c]
add eax, 0x20
inc ecx
mov dword [0x4f5708], eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x456328
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jg 0x45630e
mov ecx, dword [0x4f56e0]
xor esi, esi
test edx, edx
mov dword [0x4f5708], ecx
jle 0x45643a
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add eax, 4
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ecx]
sar eax, 6
push eax
push edx
call dword [0x514204]
mov ecx, dword [0x4f5708]
mov edx, dword [0x4f570c]
add esp, 0xc
add ecx, 0x20
inc esi
mov dword [0x4f5708], ecx
cmp esi, edx
jl 0x4563f7
mov ecx, dword [0x4f56e0]
xor esi, esi
test edx, edx
mov dword [0x4f5708], ecx
jle 0x4564f8
mov eax, dword [ecx + 0xc]
cmp eax, 0x10000
jl 0x456488
add eax, 0xffff0000
push eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx]
push eax
call dword [0x514620]
add esp, 0x10
jmp 0x4564db
test eax, eax
je 0x4564b5
push eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
mov ecx, dword [ecx]
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
push ecx
call dword [0x5141e0]
add esp, 0x10
jmp 0x4564db
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ecx]
sar eax, 6
push eax
push edx
call dword [0x5141fc]
add esp, 0xc
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4f5708], ecx
jl 0x456450
mov dword [0x4f570c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov esi, dword [0x4f570c]
mov eax, dword [0x4f5714]
xor edx, edx
cmp eax, edx
jne 0x4565f9
mov eax, dword [0x60879c]
mov edi, dword [0x4f56e0]
shl eax, 0xc
cdq
sub eax, edx
xor ebx, ebx
mov ebp, eax
mov dword [0x4f5708], edi
sar ebp, 1
test esi, esi
jle 0x4565e2
mov eax, dword [0x6087b0]
mov ecx, edi
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
add edi, 8
mov eax, dword [eax + 0x608a20]
mov dword [0x6087b0], edx
mov esi, dword [edx + 0x608a20]
xor esi, eax
and eax, 0xff
mov dword [edx + 0x608a20], esi
mov edx, dword [0x608798]
mov dword [ecx + 0x10], ebp
lea esi, [edx + eax*4]
mov eax, dword [edi]
shl eax, 6
mov dword [edi], eax
mov eax, dword [ecx + 4]
shl eax, 6
mov dword [ecx + 4], eax
sub eax, ebp
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [ecx + 0x18], eax
mov eax, dword [edi]
shl esi, 0xc
sub eax, esi
mov dword [ecx + 0x14], esi
sub eax, 0x300000
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [ecx + 0x1c], eax
mov edi, dword [0x4f5708]
mov esi, dword [0x4f570c]
add edi, 0x20
inc ebx
mov dword [0x4f5708], edi
cmp ebx, esi
jl 0x456544
xor edi, edi
mov dword [0x4f5714], 1
mov dword [0x4f56e4], edi
jmp 0x4566ff
inc edi
cmp edi, 0x20
mov dword [0x4f56e4], edi
jne 0x4566af
mov ecx, dword [0x4f56e0]
cmp esi, edx
mov dword [0x4f5708], ecx
mov dword [esp + 0x10], edx
jle 0x4566fa
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [esi], eax
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
mov edi, eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov ebp, eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esi]
sar ebp, 6
mov ebx, eax
mov eax, ebp
sub eax, edx
mov dword [ecx + 0x10], ebp
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sar ebx, 6
mov dword [ecx + 0x18], eax
mov eax, ebx
sar edi, 6
sub eax, edi
mov dword [ecx + 8], edi
cdq
and edx, 0x3f
mov dword [ecx + 0x14], ebx
add eax, edx
sar eax, 6
mov dword [ecx + 0x1c], eax
mov ecx, dword [0x4f5708]
mov eax, dword [esp + 0x10]
mov esi, dword [0x4f570c]
add ecx, 0x20
inc eax
cmp eax, esi
mov dword [0x4f5708], ecx
mov dword [esp + 0x10], eax
jl 0x456621
jmp 0x4566f4
mov eax, dword [0x4f56e0]
cmp esi, edx
mov dword [0x4f5708], eax
jle 0x4566fa
mov ecx, dword [eax + 0x18]
mov ebp, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
add ebp, ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x10], ebp
add ebx, ecx
add ecx, 0x1800
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ecx
mov eax, dword [0x4f5708]
mov esi, dword [0x4f570c]
add eax, 0x20
inc edx
cmp edx, esi
mov dword [0x4f5708], eax
jl 0x4566bd
mov edi, dword [0x4f56e4]
cmp edi, 0x20
jge 0x456710
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jg 0x456510
mov ecx, dword [0x4f56e0]
xor edi, edi
test esi, esi
mov dword [0x4f5708], ecx
jle 0x45676b
mov eax, dword [ecx + 0x14]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
add eax, 4
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [ecx]
sar eax, 0xc
push eax
push edx
call dword [0x514204]
mov ecx, dword [0x4f5708]
mov esi, dword [0x4f570c]
add esp, 0xc
add ecx, 0x20
inc edi
mov dword [0x4f5708], ecx
cmp edi, esi
jl 0x456722
mov ecx, dword [0x4f56e0]
xor edi, edi
test esi, esi
mov dword [0x4f5708], ecx
jle 0x4564f8
mov eax, dword [ecx + 0xc]
cmp eax, 0x10000
jl 0x4567bf
add eax, 0xffff0000
push eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
push eax
mov eax, dword [ecx]
push eax
call dword [0x514620]
add esp, 0x10
jmp 0x45681e
test eax, eax
je 0x4567f2
push eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
push eax
mov eax, dword [ecx + 0x10]
cdq
mov ecx, dword [ecx]
and edx, 0xfff
add eax, edx
sar eax, 0xc
push eax
push ecx
call dword [0x5141e0]
add esp, 0x10
jmp 0x45681e
mov eax, dword [ecx + 0x14]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [ecx]
sar eax, 0xc
push eax
push edx
call dword [0x5141fc]
add esp, 0xc
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add ecx, 0x20
inc edi
cmp edi, eax
mov dword [0x4f5708], ecx
jl 0x456781
mov dword [0x4f570c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 7
jne 0x456967
mov eax, dword [0x4f5714]
mov ecx, dword [0x4f56e0]
add eax, esi
mov ebx, 0x40
sub ebx, eax
mov dword [0x4f5708], ecx
shl ebx, 0xe
cmp ebx, 0xffff
mov dword [0x4f5714], eax
jl 0x457247
mov eax, dword [0x60879c]
mov dword [esp + 0x10], 0
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [0x608798]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, ebx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [0x4f570c]
sar ebp, 1
test eax, eax
jle 0x4564f8
mov eax, dword [ecx + 8]
mov edi, dword [esp + 0x18]
cdq
and edx, 0x3f
add eax, edx
mov esi, eax
mov eax, dword [ecx + 4]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sub eax, ebp
imul eax, ebx
cdq
and edx, 0xffff
sar esi, 6
add eax, edx
sub esi, edi
sar eax, 0x10
lea edi, [ecx + 0x10]
add eax, ebp
mov dword [edi], eax
mov eax, esi
imul eax, ebx
cdq
and edx, 0xffff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0x10
add eax, edx
mov edx, dword [ecx + 0xc]
push edx
mov edx, dword [esp + 0x24]
push edx
mov dword [ecx + 0x14], eax
mov ecx, dword [ecx]
push eax
mov eax, dword [edi]
push eax
push ecx
call fcn.004555c0
mov ecx, dword [0x4f5708]
mov eax, dword [esp + 0x24]
mov edx, dword [0x4f570c]
add esp, 0x14
add ecx, 0x20
inc eax
cmp eax, edx
mov dword [0x4f5708], ecx
mov dword [esp + 0x10], eax
jl 0x4568c5
mov dword [0x4f570c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 8
jne 0x4564f8
mov eax, dword [0x4f5714]
mov ecx, dword [0x4f56e0]
add eax, esi
mov dword [0x4f5708], ecx
mov dword [0x4f5714], eax
shl eax, 0xa
cmp eax, 0xffff
mov dword [esp + 0x14], eax
jg 0x457247
mov eax, dword [0x60879c]
mov dword [esp + 0x10], 0
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [0x608798]
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [0x4f570c]
sar ebx, 1
sar ebp, 1
test eax, eax
jle 0x4564f8
mov eax, dword [ecx + 8]
lea edi, [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov esi, eax
mov eax, dword [ecx + 4]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sub eax, ebx
imul eax, dword [esp + 0x14]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
sar esi, 6
add eax, ebx
sub esi, ebp
mov dword [edi], eax
mov eax, esi
imul eax, dword [esp + 0x14]
cdq
and edx, 0xffff
add eax, edx
mov edx, dword [ecx + 0xc]
sar eax, 0x10
push edx
mov edx, dword [esp + 0x24]
add eax, ebp
push edx
mov dword [ecx + 0x14], eax
mov ecx, dword [ecx]
push eax
mov eax, dword [edi]
push eax
push ecx
call fcn.004555c0
mov ecx, dword [0x4f5708]
mov eax, dword [esp + 0x24]
mov edx, dword [0x4f570c]
add esp, 0x14
add ecx, 0x20
inc eax
cmp eax, edx
mov dword [0x4f5708], ecx
mov dword [esp + 0x10], eax
jl 0x4569db
mov dword [0x4f570c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [0x4f5714], ebp
jne 0x4570e3
mov ecx, dword [0x4f56e0]
cmp eax, ebp
mov dword [0x4f5708], ecx
jne 0x456b6f
mov edx, dword [0x6087b0]
mov al, dl
sub dl, 0x2c
add al, 4
and edx, 0xff
and eax, 0xff
mov edx, dword [edx + 0x608a20]
mov edi, dword [eax + 0x608a20]
xor edi, edx
test dl, 1
mov dword [eax + 0x608a20], edi
je 0x456ace
xor edi, edi
jmp 0x456ad7
mov edi, dword [0x608798]
shl edi, 6
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x608a20]
mov dword [0x6087b0], edx
mov esi, dword [edx + 0x608a20]
xor esi, eax
test al, 1
mov dword [edx + 0x608a20], esi
je 0x456b0b
xor ebx, ebx
jmp 0x456b14
mov ebx, dword [0x60879c]
shl ebx, 6
mov eax, dword [0x4f570c]
xor esi, esi
cmp eax, ebp
jle 0x456b60
mov eax, dword [ecx + 4]
mov dword [ecx + 0x18], ebp
cdq
and edx, 3
mov dword [ecx + 0x1c], ebp
add eax, edx
sar eax, 2
add eax, ebx
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
mov dword [ecx + 0x14], eax
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add ecx, 0x20
inc esi
mov dword [0x4f5708], ecx
cmp esi, eax
jl 0x456b1f
call fcn.0048ea90
mov dword [0x4f5714], eax
jmp 0x456308
cmp eax, 2
jne 0x456bde
mov eax, dword [0x4f570c]
xor edi, edi
cmp eax, ebp
jle 0x456b60
mov eax, dword [0x60879c]
lea esi, [ecx + 0x10]
shl eax, 6
cdq
sub eax, edx
sar eax, 1
mov dword [esi], eax
mov eax, dword [0x608798]
shl eax, 6
cdq
mov ebp, dword [esi]
sub eax, edx
mov edx, dword [ecx + 8]
sar eax, 1
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 0x14]
sub eax, ebp
sub edx, ebx
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add ecx, 0x20
inc edi
mov dword [0x4f5708], ecx
cmp edi, eax
jl 0x456b7f
call fcn.0048ea90
mov dword [0x4f5714], eax
jmp 0x456308
cmp eax, 3
jne 0x456cd9
mov eax, dword [0x6087b0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov esi, dword [edx + 0x608a20]
mov edx, dword [eax + 0x608a20]
xor edx, esi
mov dword [eax + 0x608a20], edx
mov edx, esi
and dl, 0xf
cmp dl, 7
sbb edx, edx
and edx, 3
dec edx
mov dword [esp + 0x20], edx
mov dl, al
add dl, 4
sub al, 0x2c
and edx, 0xff
and eax, 0xff
mov dword [0x6087b0], edx
mov eax, dword [eax + 0x608a20]
mov esi, dword [edx + 0x608a20]
xor esi, eax
and al, 0xf
cmp al, 7
mov dword [edx + 0x608a20], esi
sbb eax, eax
and eax, 3
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x4f570c]
cmp eax, ebp
jle 0x456b60
mov edx, dword [esp + 0x20]
lea eax, [ecx + 4]
lea ebx, [ecx + 0x10]
mov esi, dword [ecx + 8]
imul edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax]
mov eax, dword [ebx]
mov edi, dword [esp + 0x1c]
sub edx, eax
mov eax, 0x55555556
imul edx
imul edi, esi
mov eax, edx
sub esi, edi
shr eax, 0x1f
add edx, eax
mov eax, 0x55555556
mov dword [ecx + 0x18], edx
imul esi
mov eax, edx
mov dword [ecx + 0x14], edi
shr eax, 0x1f
add edx, eax
mov dword [ecx + 0x1c], edx
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add ecx, 0x20
inc ebp
mov dword [0x4f5708], ecx
cmp ebp, eax
jl 0x456c6b
call fcn.0048ea90
mov dword [0x4f5714], eax
jmp 0x456308
cmp eax, 4
jne 0x456e22
cmp dword [0x4f570c], ebp
jle 0x456b60
mov eax, dword [0x6087b0]
mov esi, ecx
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov edi, edx
mov edx, eax
mov dword [0x6087b0], edx
mov eax, dword [edi + 0x608a20]
mov edi, dword [edx + 0x608a20]
xor edi, eax
and eax, 0x3f
imul eax, dword [0x60879c]
mov dword [edx + 0x608a20], edi
mov dword [ecx + 0x10], eax
mov eax, dword [0x6087b0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov edx, ecx
mov ecx, eax
mov dword [0x6087b0], ecx
mov eax, dword [edx + 0x608a20]
mov edx, dword [ecx + 0x608a20]
xor edx, eax
and eax, 0x3f
imul eax, dword [0x608798]
mov dword [ecx + 0x608a20], edx
mov dword [esi + 0x14], eax
mov eax, dword [0x6087b0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov ecx, eax
mov dword [0x6087b0], ecx
mov eax, dword [edx + 0x608a20]
mov edx, dword [ecx + 0x608a20]
xor edx, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [ecx + 0x608a20], edx
mov dword [esi + 0x18], eax
mov eax, dword [0x6087b0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov edx, ecx
mov ecx, eax
mov dword [0x6087b0], ecx
mov eax, dword [edx + 0x608a20]
mov edx, dword [ecx + 0x608a20]
xor edx, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [ecx + 0x608a20], edx
mov dword [esi + 0x1c], eax
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add ecx, 0x20
inc ebp
mov dword [0x4f5708], ecx
cmp ebp, eax
jl 0x456cee
call fcn.0048ea90
mov dword [0x4f5714], eax
jmp 0x456308
cmp eax, 5
jne 0x456b60
mov edi, dword [0x4f570c]
xor esi, esi
test edi, edi
mov dword [0x4f5708], ecx
jle 0x456ef5
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov eax, dword [0x6087b0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov edi, edx
mov edx, eax
mov dword [0x6087b0], edx
mov eax, dword [edi + 0x608a20]
mov edi, dword [edx + 0x608a20]
xor edi, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [edx + 0x608a20], edi
mov dword [ecx + 0x18], eax
mov eax, dword [0x6087b0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov edi, edx
mov edx, eax
mov dword [0x6087b0], edx
mov eax, dword [edi + 0x608a20]
mov edi, dword [edx + 0x608a20]
xor edi, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [edx + 0x608a20], edi
mov dword [ecx + 0x1c], eax
mov ecx, dword [0x4f5708]
mov edi, dword [0x4f570c]
add ecx, 0x20
inc esi
mov dword [0x4f5708], ecx
cmp esi, edi
jl 0x456e41
mov ecx, dword [0x4f56e0]
mov esi, ecx
mov dword [esp + 0x10], 0
test edi, edi
mov dword [0x4f5708], esi
jle 0x4570d7
mov eax, dword [0x6087b0]
mov dl, al
add al, 4
sub dl, 0x2c
and eax, 0xff
and edx, 0xff
mov dword [0x6087b0], eax
mov ebp, dword [edx + 0x608a20]
mov edx, dword [eax + 0x608a20]
xor edx, ebp
mov dword [eax + 0x608a20], edx
mov edx, ebp
and edx, 7
cmp dl, 7
jne 0x4570bd
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x608a20]
mov dword [0x6087b0], edx
mov ebx, dword [edx + 0x608a20]
xor ebx, eax
and eax, 0x7fff
mov dword [edx + 0x608a20], ebx
dec edi
xor edx, edx
div edi
mov eax, dword [esi + 0x10]
shl edx, 5
add edx, ecx
mov ecx, dword [edx + 0x10]
mov dword [esi + 0x10], ecx
mov dword [edx + 0x10], eax
mov ecx, dword [edx + 0x14]
mov eax, dword [esi + 0x14]
mov dword [esi + 0x14], ecx
mov dword [edx + 0x14], eax
mov eax, dword [0x6087b0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov edi, ecx
mov ecx, eax
mov dword [0x6087b0], ecx
mov eax, dword [edi + 0x608a20]
mov edi, dword [ecx + 0x608a20]
xor edi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x608a20], edi
mov dword [esi + 0x18], eax
mov eax, dword [0x6087b0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov edi, ecx
mov ecx, eax
mov dword [0x6087b0], ecx
mov eax, dword [edi + 0x608a20]
mov ebp, dword [ecx + 0x608a20]
xor ebp, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x608a20], ebp
mov dword [esi + 0x1c], eax
mov eax, dword [0x6087b0]
mov cl, al
add al, 4
sub cl, 0x2c
and eax, 0xff
and ecx, 0xff
mov esi, ecx
mov ecx, eax
mov dword [0x6087b0], ecx
mov eax, dword [esi + 0x608a20]
mov esi, dword [ecx + 0x608a20]
xor esi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x608a20], esi
mov dword [edx + 0x18], eax
mov eax, dword [0x6087b0]
mov cl, al
add al, 4
sub cl, 0x2c
and ecx, 0xff
and eax, 0xff
mov esi, ecx
mov ecx, eax
mov eax, dword [esi + 0x608a20]
mov edi, dword [ecx + 0x608a20]
mov dword [0x6087b0], ecx
xor edi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x608a20], edi
mov dword [edx + 0x1c], eax
mov esi, dword [0x4f5708]
mov ecx, dword [0x4f56e0]
mov edi, dword [0x4f570c]
mov eax, dword [0x6087b0]
mov edx, dword [esp + 0x10]
add esi, 0x20
inc edx
mov dword [0x4f5708], esi
cmp edx, edi
mov dword [esp + 0x10], edx
jl 0x456f12
call fcn.0048ea90
mov dword [0x4f5714], eax
jmp 0x45710b
call fcn.0048ea90
mov esi, dword [0x4f5714]
mov ecx, dword [0x558584]
sub eax, esi
shr eax, 4
cmp ecx, 5
jne 0x45723e
cmp eax, 0x30
jge 0x457234
mov eax, dword [0x4f570c]
mov ecx, dword [0x4f56e0]
xor esi, esi
mov dword [0x4f5708], ecx
test eax, eax
jle 0x457164
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add eax, 4
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ecx]
sar eax, 6
push eax
push edx
call dword [0x514204]
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add esp, 0xc
add ecx, 0x20
inc esi
mov dword [0x4f5708], ecx
cmp esi, eax
jl 0x457122
mov ecx, dword [0x4f56e0]
xor esi, esi
test eax, eax
mov dword [0x4f5708], ecx
jle 0x4564f8
mov eax, dword [ecx + 0xc]
cmp eax, 0x10000
jl 0x4571b2
add eax, 0xffff0000
push eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx]
push eax
call dword [0x514620]
add esp, 0x10
jmp 0x457205
test eax, eax
je 0x4571df
push eax
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
mov ecx, dword [ecx]
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
push ecx
call dword [0x5141e0]
add esp, 0x10
jmp 0x457205
mov eax, dword [ecx + 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ecx]
sar eax, 6
push eax
push edx
call dword [0x5141fc]
add esp, 0xc
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4f5708], ecx
jl 0x45717a
mov dword [0x4f570c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 0x5c
jg 0x457247
jmp 0x456308
cmp eax, 0x40
jle 0x456308
mov eax, dword [0x4f570c]
mov ecx, dword [0x4f56e0]
xor esi, esi
mov dword [0x4f5708], ecx
test eax, eax
jle 0x4572a0
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add eax, 4
push eax
mov eax, dword [ecx + 4]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx]
push eax
call dword [0x514204]
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add esp, 0xc
add ecx, 0x20
inc esi
mov dword [0x4f5708], ecx
cmp esi, eax
jl 0x45725e
mov ecx, dword [0x4f56e0]
xor esi, esi
test eax, eax
mov dword [0x4f5708], ecx
jle 0x4564f8
mov eax, dword [ecx + 0xc]
cmp eax, 0x10000
jl 0x4572ee
add eax, 0xffff0000
push eax
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 4]
cdq
mov ecx, dword [ecx]
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
push ecx
call dword [0x514620]
add esp, 0x10
jmp 0x457341
test eax, eax
je 0x45731b
push eax
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 4]
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ecx]
sar eax, 6
push eax
push edx
call dword [0x5141e0]
add esp, 0x10
jmp 0x457341
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx + 4]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
mov eax, dword [ecx]
push eax
call dword [0x5141fc]
add esp, 0xc
mov ecx, dword [0x4f5708]
mov eax, dword [0x4f570c]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4f5708], ecx
jl 0x4572b6
pop edi
pop esi
pop ebp
mov dword [0x4f570c], 0
pop ebx
add esp, 0x14
ret