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

Disassembly:
sub esp, 0x14
mov eax, dword [0x62bd84]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004785e0
add esp, 4
call fcn.0048db60
mov esi, eax
mov eax, dword [0x4efd58]
sub esi, eax
mov dword [esp + 0x14], esi
jns 0x455b50
mov esi, 1
jmp 0x455b56
cmp esi, 1
jle 0x455b5a
dec esi
mov dword [esp + 0x14], esi
call fcn.0048db60
mov dword [0x4efd58], eax
mov eax, dword [0x57bba4]
cmp eax, 1
jne 0x455d95
mov eax, dword [0x4efd54]
test eax, eax
jne 0x455b8d
call fcn.0048db40
mov dword [0x4efd54], eax
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x455ba7
call fcn.0048db40
sub eax, dword [0x4efd54]
cmp eax, 0x400
mov dword [esp + 0x14], eax
jg 0x456b3b
imul eax, eax
mov ecx, dword [0x4efd4c]
mov esi, dword [0x4efd20]
cdq
and edx, 0xff
mov dword [0x4efd48], esi
add eax, edx
mov dword [esp + 0x10], 0
sar eax, 8
test ecx, ecx
jle 0x455d00
lea ecx, [eax + 0x100]
and ecx, 0x3ff
and eax, 0x3ff
lea edx, [ecx*4 + 0x4c692c]
lea eax, [eax*4 + 0x4c692c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov eax, dword [0x62bdbc]
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 [0x62bdb8]
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, dword [esp + 0x20]
sar ebx, 0xa
mov eax, dword [eax]
imul eax, 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 [0x62bdbc]
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 [0x62bdb8]
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 [0x50e544]
mov esi, dword [0x4efd48]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4efd4c]
add esi, 0x20
inc eax
cmp eax, ecx
mov dword [0x4efd48], esi
mov dword [esp + 0x10], eax
jl 0x455bff
mov eax, dword [0x4efd20]
xor esi, esi
test ecx, ecx
mov dword [0x4efd48], eax
jle 0x456e18
mov ecx, dword [eax + 0xc]
cmp ecx, 0x10000
jl 0x455d3c
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 [0x50e960]
add esp, 0x10
jmp 0x455d6b
test ecx, ecx
je 0x455d57
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [0x50e520]
add esp, 0x10
jmp 0x455d6b
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [0x50e53c]
add esp, 0xc
mov eax, dword [0x4efd48]
mov ecx, dword [0x4efd4c]
add eax, 0x20
inc esi
cmp esi, ecx
mov dword [0x4efd48], eax
jl 0x455d14
pop edi
pop esi
pop ebp
mov dword [0x4efd4c], 0
pop ebx
add esp, 0x14
ret
xor edi, edi
cmp eax, edi
je 0x456381
cmp eax, 2
je 0x456381
cmp eax, 3
je 0x456381
cmp eax, 4
je 0x456381
cmp eax, 5
je 0x456381
cmp eax, 6
jne 0x456176
mov eax, dword [0x4efd54]
mov ecx, dword [0x4efd24]
cmp eax, edi
jle 0x455e33
cmp ecx, 0x48
jge 0x456b3b
cmp ecx, 0x20
jl 0x455e33
inc ecx
mov dword [0x4efd24], ecx
mov edx, dword [0x4efd4c]
mov eax, dword [0x4efd20]
mov dword [esp + 0x10], 0
test edx, edx
mov dword [0x4efd48], eax
jle 0x456cf4
mov edx, dword [eax + 4]
mov esi, dword [eax + 0x10]
lea ebx, [eax + 0x10]
sub edx, esi
cmp edx, 0x400
mov ebp, eax
jle 0x456c64
mov edx, 0x400
jmp 0x456c71
mov esi, dword [0x4efd4c]
mov eax, dword [0x4efd54]
xor edx, edx
cmp eax, edx
jne 0x455f22
mov eax, dword [0x62bdbc]
mov edi, dword [0x4efd20]
shl eax, 0xc
cdq
sub eax, edx
xor ebx, ebx
mov ebp, eax
mov dword [0x4efd48], edi
sar ebp, 1
test esi, esi
jle 0x455f0b
mov eax, dword [0x62bdd0]
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 + 0x62c040]
mov dword [0x62bdd0], edx
mov esi, dword [edx + 0x62c040]
xor esi, eax
and eax, 0xff
mov dword [edx + 0x62c040], esi
mov edx, dword [0x62bdb8]
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 [0x4efd48]
mov esi, dword [0x4efd4c]
add edi, 0x20
inc ebx
mov dword [0x4efd48], edi
cmp ebx, esi
jl 0x455e6d
xor ecx, ecx
mov dword [0x4efd54], 1
mov dword [0x4efd24], ecx
jmp 0x456028
inc ecx
cmp ecx, 0x20
mov dword [0x4efd24], ecx
jne 0x455fd8
mov ecx, dword [0x4efd20]
cmp esi, edx
mov dword [0x4efd48], ecx
mov dword [esp + 0x10], edx
jle 0x456039
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 [0x4efd48]
mov eax, dword [esp + 0x10]
mov esi, dword [0x4efd4c]
add ecx, 0x20
inc eax
cmp eax, esi
mov dword [0x4efd48], ecx
mov dword [esp + 0x10], eax
jl 0x455f4a
jmp 0x45601d
mov eax, dword [0x4efd20]
cmp esi, edx
mov dword [0x4efd48], eax
jle 0x456023
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 [0x4efd48]
mov esi, dword [0x4efd4c]
add eax, 0x20
inc edx
cmp edx, esi
mov dword [0x4efd48], eax
jl 0x455fe6
mov ecx, dword [0x4efd24]
cmp ecx, 0x20
jge 0x456039
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jg 0x455e39
mov ecx, dword [0x4efd20]
xor edi, edi
test esi, esi
mov dword [0x4efd48], ecx
jle 0x456094
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 [0x50e544]
mov ecx, dword [0x4efd48]
mov esi, dword [0x4efd4c]
add esp, 0xc
add ecx, 0x20
inc edi
mov dword [0x4efd48], ecx
cmp edi, esi
jl 0x45604b
mov ecx, dword [0x4efd20]
xor edi, edi
test esi, esi
mov dword [0x4efd48], ecx
jle 0x456e18
mov eax, dword [ecx + 0xc]
cmp eax, 0x10000
jl 0x4560e8
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 [0x50e960]
add esp, 0x10
jmp 0x456147
test eax, eax
je 0x45611b
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 [0x50e520]
add esp, 0x10
jmp 0x456147
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 [0x50e53c]
add esp, 0xc
mov ecx, dword [0x4efd48]
mov eax, dword [0x4efd4c]
add ecx, 0x20
inc edi
cmp edi, eax
mov dword [0x4efd48], ecx
jl 0x4560aa
pop edi
pop esi
pop ebp
mov dword [0x4efd4c], 0
pop ebx
add esp, 0x14
ret
cmp eax, 7
jne 0x45627e
mov eax, dword [0x4efd54]
mov ecx, dword [0x4efd20]
add eax, esi
mov esi, 0x40
sub esi, eax
mov dword [0x4efd48], ecx
shl esi, 0xe
cmp esi, 0xffff
mov dword [0x4efd54], eax
jl 0x456b3b
mov eax, dword [0x62bdbc]
mov dword [esp + 0x10], 0
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [0x62bdb8]
cdq
sub eax, edx
mov ebp, eax
mov eax, esi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [0x4efd4c]
sar ebx, 1
sar ebp, 1
test eax, eax
jle 0x456e18
mov eax, dword [ecx + 4]
lea edi, [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sub eax, ebx
imul eax, esi
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
add eax, ebx
mov dword [edi], eax
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sub eax, ebp
imul eax, esi
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.00455100
mov ecx, dword [0x4efd48]
mov eax, dword [esp + 0x24]
mov edx, dword [0x4efd4c]
add esp, 0x14
add ecx, 0x20
inc eax
cmp eax, edx
mov dword [0x4efd48], ecx
mov dword [esp + 0x10], eax
jl 0x4561ec
pop edi
pop esi
pop ebp
mov dword [0x4efd4c], 0
pop ebx
add esp, 0x14
ret
cmp eax, 8
jne 0x456e18
mov ebx, dword [0x4efd54]
mov ecx, dword [0x4efd20]
add ebx, esi
mov dword [0x4efd48], ecx
mov dword [0x4efd54], ebx
shl ebx, 0xa
cmp ebx, 0xffff
jg 0x456b3b
mov eax, dword [0x62bdbc]
mov dword [esp + 0x10], 0
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x62bdb8]
cdq
sub eax, edx
mov ebp, eax
mov eax, ebx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [0x4efd4c]
sar edi, 1
sar ebp, 1
test eax, eax
jle 0x456e18
mov eax, dword [ecx + 4]
lea esi, [ecx + 0x10]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sub eax, edi
imul eax, ebx
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
add eax, edi
mov dword [esi], eax
mov eax, dword [ecx + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sub eax, ebp
imul eax, ebx
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 [esi]
push eax
push ecx
call fcn.00455100
mov ecx, dword [0x4efd48]
mov eax, dword [esp + 0x24]
mov edx, dword [0x4efd4c]
add esp, 0x14
add ecx, 0x20
inc eax
cmp eax, edx
mov dword [0x4efd48], ecx
mov dword [esp + 0x10], eax
jl 0x4562ef
pop edi
pop esi
pop ebp
mov dword [0x4efd4c], 0
pop ebx
add esp, 0x14
ret
cmp dword [0x4efd54], edi
jne 0x4569d7
mov ecx, dword [0x4efd20]
cmp eax, edi
mov dword [0x4efd48], ecx
jne 0x456477
mov edx, dword [0x62bdd0]
mov al, dl
sub dl, 0x2c
add al, 4
and edx, 0xff
and eax, 0xff
mov edx, dword [edx + 0x62c040]
mov ebx, dword [eax + 0x62c040]
xor ebx, edx
test dl, 1
mov dword [eax + 0x62c040], ebx
je 0x4563d6
xor ebp, ebp
jmp 0x4563df
mov ebp, dword [0x62bdb8]
shl ebp, 6
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov esi, dword [edx + 0x62c040]
xor esi, eax
test al, 1
mov dword [edx + 0x62c040], esi
je 0x456413
xor ebx, ebx
jmp 0x45641c
mov ebx, dword [0x62bdbc]
shl ebx, 6
mov eax, dword [0x4efd4c]
xor esi, esi
cmp eax, edi
jle 0x456468
mov eax, dword [ecx + 4]
mov dword [ecx + 0x18], edi
cdq
and edx, 3
mov dword [ecx + 0x1c], edi
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, ebp
mov dword [ecx + 0x14], eax
mov ecx, dword [0x4efd48]
mov eax, dword [0x4efd4c]
add ecx, 0x20
inc esi
mov dword [0x4efd48], ecx
cmp esi, eax
jl 0x456427
call fcn.0048db40
mov dword [0x4efd54], eax
jmp 0x455df0
cmp eax, 2
jne 0x4564e3
cmp dword [0x4efd4c], edi
jle 0x456468
mov eax, dword [0x62bdbc]
lea esi, [ecx + 0x10]
shl eax, 6
cdq
sub eax, edx
sar eax, 1
mov dword [esi], eax
mov eax, dword [0x62bdb8]
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 [0x4efd48]
mov eax, dword [0x4efd4c]
add ecx, 0x20
inc edi
mov dword [0x4efd48], ecx
cmp edi, eax
jl 0x456484
call fcn.0048db40
mov dword [0x4efd54], eax
jmp 0x455df0
cmp eax, 3
jne 0x4565e7
mov edx, dword [0x62bdd0]
mov dword [esp + 0x10], edi
mov al, dl
sub dl, 0x2c
and edx, 0xff
add al, 4
and eax, 0xff
mov esi, dword [edx + 0x62c040]
mov ebp, dword [eax + 0x62c040]
mov edx, esi
and dl, 0xf
xor ebp, esi
cmp dl, 7
mov dword [eax + 0x62c040], ebp
mov dl, al
sbb ebp, ebp
add dl, 4
sub al, 0x2c
and edx, 0xff
and eax, 0xff
and ebp, 3
mov esi, dword [edx + 0x62c040]
dec ebp
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
xor esi, eax
and al, 0xf
cmp al, 7
mov dword [edx + 0x62c040], esi
sbb eax, eax
and eax, 3
dec eax
mov dword [esp + 0x20], eax
mov eax, dword [0x4efd4c]
cmp eax, edi
jle 0x456468
mov edx, dword [ecx + 4]
lea eax, [ecx + 4]
imul edx, ebp
lea ebx, [ecx + 0x10]
mov esi, dword [ecx + 8]
mov edi, esi
mov dword [ebx], edx
mov edx, dword [eax]
mov eax, dword [ebx]
imul edi, dword [esp + 0x20]
sub edx, eax
mov eax, 0x55555556
imul edx
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 eax, dword [esp + 0x10]
mov dword [ecx + 0x1c], edx
mov ecx, dword [0x4efd48]
mov edx, dword [0x4efd4c]
add ecx, 0x20
inc eax
mov dword [0x4efd48], ecx
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x456571
call fcn.0048db40
mov dword [0x4efd54], eax
jmp 0x455df0
cmp eax, 4
jne 0x456727
mov eax, dword [0x4efd4c]
xor edi, edi
test eax, eax
jle 0x456468
mov eax, dword [0x62bdd0]
mov esi, ecx
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov ebx, dword [edx + 0x62c040]
xor ebx, eax
and eax, 0x3f
imul eax, dword [0x62bdbc]
mov dword [edx + 0x62c040], ebx
mov dword [ecx + 0x10], eax
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov edx, dword [ecx + 0x62c040]
xor edx, eax
and eax, 0x3f
imul eax, dword [0x62bdb8]
mov dword [ecx + 0x62c040], edx
mov dword [esi + 0x14], eax
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov ecx, edx
mov dword [0x62bdd0], ecx
mov edx, dword [ecx + 0x62c040]
xor edx, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [ecx + 0x62c040], edx
mov dword [esi + 0x18], eax
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov edx, dword [ecx + 0x62c040]
xor edx, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [ecx + 0x62c040], edx
mov dword [esi + 0x1c], eax
mov ecx, dword [0x4efd48]
mov eax, dword [0x4efd4c]
add ecx, 0x20
inc edi
mov dword [0x4efd48], ecx
cmp edi, eax
jl 0x4565ff
call fcn.0048db40
mov dword [0x4efd54], eax
jmp 0x455df0
cmp eax, 5
jne 0x456468
mov edi, dword [0x4efd4c]
xor esi, esi
test edi, edi
mov dword [0x4efd48], ecx
jle 0x4567f2
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov edi, dword [edx + 0x62c040]
xor edi, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [edx + 0x62c040], edi
mov dword [ecx + 0x18], eax
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov edi, dword [edx + 0x62c040]
xor edi, eax
and eax, 0x7ff
sub eax, 0x3ff
mov dword [edx + 0x62c040], edi
mov dword [ecx + 0x1c], eax
mov ecx, dword [0x4efd48]
mov edi, dword [0x4efd4c]
add ecx, 0x20
inc esi
mov dword [0x4efd48], ecx
cmp esi, edi
jl 0x456746
mov ecx, dword [0x4efd20]
mov esi, ecx
mov dword [esp + 0x10], 0
test edi, edi
mov dword [0x4efd48], esi
jle 0x4569c9
mov edx, dword [0x62bdd0]
mov al, dl
sub dl, 0x2c
add al, 4
and edx, 0xff
and eax, 0xff
mov ebp, dword [edx + 0x62c040]
mov edx, eax
mov ebx, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
xor ebx, ebp
mov dword [eax + 0x62c040], ebx
mov ebx, ebp
and ebx, 7
cmp bl, 7
jne 0x4569af
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov ebx, dword [edx + 0x62c040]
xor ebx, eax
and eax, 0x7fff
mov dword [edx + 0x62c040], 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 [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov edi, dword [ecx + 0x62c040]
xor edi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x62c040], edi
mov dword [esi + 0x18], eax
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov ebp, dword [ecx + 0x62c040]
xor ebp, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x62c040], ebp
mov dword [esi + 0x1c], eax
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov esi, dword [ecx + 0x62c040]
xor esi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x62c040], esi
mov dword [edx + 0x18], eax
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov edi, dword [ecx + 0x62c040]
xor edi, eax
and eax, 0x1fff
sub eax, 0xfff
mov dword [ecx + 0x62c040], edi
mov dword [edx + 0x1c], eax
mov esi, dword [0x4efd48]
mov ecx, dword [0x4efd20]
mov edi, dword [0x4efd4c]
mov edx, dword [0x62bdd0]
mov eax, dword [esp + 0x10]
add esi, 0x20
inc eax
mov dword [0x4efd48], esi
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x456810
call fcn.0048db40
mov dword [0x4efd54], eax
xor edi, edi
jmp 0x4569ff
call fcn.0048db40
mov esi, dword [0x4efd54]
mov ecx, dword [0x57bba4]
sub eax, esi
shr eax, 4
cmp ecx, 5
jne 0x456b32
cmp eax, 0x30
jge 0x456b28
mov eax, dword [0x4efd4c]
mov ecx, dword [0x4efd20]
xor esi, esi
cmp eax, edi
mov dword [0x4efd48], ecx
jle 0x456a58
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 [0x50e544]
mov ecx, dword [0x4efd48]
mov eax, dword [0x4efd4c]
add esp, 0xc
add ecx, 0x20
inc esi
mov dword [0x4efd48], ecx
cmp esi, eax
jl 0x456a16
mov ecx, dword [0x4efd20]
xor esi, esi
cmp eax, edi
mov dword [0x4efd48], ecx
jle 0x456e18
mov eax, dword [ecx + 0xc]
cmp eax, 0x10000
jl 0x456aa6
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 [0x50e960]
add esp, 0x10
jmp 0x456af9
cmp eax, edi
je 0x456ad3
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 [0x50e520]
add esp, 0x10
jmp 0x456af9
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 [0x50e53c]
add esp, 0xc
mov ecx, dword [0x4efd48]
mov eax, dword [0x4efd4c]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4efd48], ecx
jl 0x456a6e
pop edi
pop esi
pop ebp
mov dword [0x4efd4c], 0
pop ebx
add esp, 0x14
ret
cmp eax, 0x5c
jg 0x456b3b
jmp 0x455df0
cmp eax, 0x40
jle 0x455df0
mov eax, dword [0x4efd4c]
mov ecx, dword [0x4efd20]
xor esi, esi
mov dword [0x4efd48], ecx
test eax, eax
jle 0x456b94
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 [0x50e544]
mov ecx, dword [0x4efd48]
mov eax, dword [0x4efd4c]
add esp, 0xc
add ecx, 0x20
inc esi
mov dword [0x4efd48], ecx
cmp esi, eax
jl 0x456b52
mov ecx, dword [0x4efd20]
xor esi, esi
test eax, eax
mov dword [0x4efd48], ecx
jle 0x456e18
mov eax, dword [ecx + 0xc]
cmp eax, 0x10000
jl 0x456be2
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 [0x50e960]
add esp, 0x10
jmp 0x456c35
test eax, eax
je 0x456c0f
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 [0x50e520]
add esp, 0x10
jmp 0x456c35
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 [0x50e53c]
add esp, 0xc
mov ecx, dword [0x4efd48]
mov eax, dword [0x4efd4c]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4efd48], ecx
jl 0x456baa
pop edi
pop esi
pop ebp
mov dword [0x4efd4c], 0
pop ebx
add esp, 0x14
ret
cmp edx, 0xfffffc00
jge 0x456c71
mov edx, 0xfffffc00
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0x14]
lea edi, [eax + 0x14]
sub esi, ecx
cmp esi, 0x400
jle 0x456c8b
mov esi, 0x400
jmp 0x456c98
cmp esi, 0xfffffc00
jge 0x456c98
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 [0x4efd48]
mov edx, dword [0x4efd4c]
add eax, 0x20
inc ecx
mov dword [0x4efd48], eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x455e10
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jg 0x455df6
mov ecx, dword [0x4efd20]
xor esi, esi
test edx, edx
mov dword [0x4efd48], ecx
jle 0x456d5a
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 [0x50e544]
mov ecx, dword [0x4efd48]
mov edx, dword [0x4efd4c]
add esp, 0xc
add ecx, 0x20
inc esi
mov dword [0x4efd48], ecx
cmp esi, edx
jl 0x456d17
mov ecx, dword [0x4efd20]
xor esi, esi
test edx, edx
mov dword [0x4efd48], ecx
jle 0x456e18
mov eax, dword [ecx + 0xc]
cmp eax, 0x10000
jl 0x456da8
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 [0x50e960]
add esp, 0x10
jmp 0x456dfb
test eax, eax
je 0x456dd5
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 [0x50e520]
add esp, 0x10
jmp 0x456dfb
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 [0x50e53c]
add esp, 0xc
mov ecx, dword [0x4efd48]
mov eax, dword [0x4efd4c]
add ecx, 0x20
inc esi
cmp esi, eax
mov dword [0x4efd48], ecx
jl 0x456d70
pop edi
pop esi
pop ebp
mov dword [0x4efd4c], 0
pop ebx
add esp, 0x14
ret