Function at 0x4b884c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
jge 0x4b8871
xor eax, eax
mov dword [ebp - 0x58], eax
jmp 0x4b888d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0xc]
jle 0x4b8884
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x58], eax
jmp 0x4b888d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jge 0x4b88a3
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp 0x4b88bf
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
cmp eax, dword [ebp + 8]
jle 0x4b88b6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
jmp 0x4b88bf
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jge 0x4b88d4
xor eax, eax
mov dword [ebp - 0x60], eax
jmp 0x4b88f4
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x50]
mov edx, dword [ebp - 8]
cmp eax, dword [edx]
jge 0x4b88ec
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
jmp 0x4b88f4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jge 0x4b890a
xor eax, eax
mov dword [ebp - 0x64], eax
jmp 0x4b892c
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x54]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 4]
jge 0x4b8923
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
jmp 0x4b892c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
imul dword [ebp - 0x4c]
add ecx, eax
mov eax, dword [ebp - 0x4c]
shr eax, 1
mov edx, dword [ebp - 4]
imul dword [edx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
shr eax, 1
mov edx, dword [ebp - 4]
imul dword [edx + 0x28]
mov edx, dword [ebp - 4]
add eax, dword [edx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
inc eax
shr eax, 1
mov edx, dword [ebp - 0x50]
not edx
and edx, dword [ebp - 0x48]
and edx, 1
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
test byte [ebp - 0x4c], 1
je 0x4b8d7b
mov eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x40], eax
test byte [ebp - 0x48], 1
je 0x4b8aa9
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x68]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x68]
and eax, 0xff
mov dword [ebp - 0x28], eax
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov byte [ecx], al
mov eax, dword [ebp - 0x2c]
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
imul edx
mov edx, dword [ebp - 0x2c]
shr edx, 2
imul edx, dword [ebp - 0x24]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, dword [ebp - 0x2c]
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
imul edx
mov edx, dword [ebp - 0x2c]
shr edx, 2
imul edx, dword [ebp - 0x28]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x40]
inc ecx
inc esi
mov eax, dword [ebp - 0x48]
and eax, 1
mov edx, dword [ebp - 0x50]
sub edx, eax
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 2
jl 0x4b8c4b
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x78], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x74]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x74]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
and eax, 0xff
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x84], eax
mov eax, esi
inc eax
movzx eax, byte [eax]
add eax, eax
add eax, eax
add dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x80]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x80]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x80]
and eax, 0xff
mov dword [ebp - 0x28], eax
add edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x30], eax
add ebx, dword [ebp - 0x2c]
inc ecx
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
add edx, edx
imul edx
mov edx, ebx
shr edx, 2
imul edx, edi
add eax, edx
mov edi, 0x1fe
cdq
idiv edi
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
add edx, edx
imul edx
shr ebx, 2
imul ebx, dword [ebp - 0x30]
add eax, ebx
mov ebx, 0x1fe
cdq
idiv ebx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x40]
add esi, 2
inc ecx
sub dword [ebp - 0x34], 2
cmp dword [ebp - 0x34], 2
jge 0x4b8ac1
cmp dword [ebp - 0x34], 0
je 0x4b8d48
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x8c]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x8c]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x8c]
and eax, 0xff
mov dword [ebp - 0x28], eax
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov byte [ecx], al
mov eax, dword [ebp - 0x2c]
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
imul edx
mov edx, dword [ebp - 0x2c]
shr edx, 2
imul edx, dword [ebp - 0x24]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, dword [ebp - 0x2c]
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
imul edx
mov edx, dword [ebp - 0x2c]
shr edx, 2
imul edx, dword [ebp - 0x28]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
inc esi
inc ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x14]
sub edx, eax
add esi, edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
add dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
and eax, 1
mov edx, dword [ebp - 0x54]
sub edx, eax
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 2
jl 0x4b94aa
mov eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
and eax, 1
test eax, eax
je 0x4b8f6d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x9c], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x98]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x98]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x98]
and eax, 0xff
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
add esi, eax
mov eax, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa8], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xa4]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa4]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa4]
and eax, 0xff
mov dword [ebp - 0x28], eax
add edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x30], eax
add ebx, dword [ebp - 0x2c]
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
add edx, edx
imul edx
mov edx, ebx
shr edx, 2
imul edx, edi
add eax, edx
mov edi, 0x1fe
cdq
idiv edi
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
add edx, edx
imul edx
shr ebx, 2
imul ebx, dword [ebp - 0x30]
add eax, ebx
mov ebx, 0x1fe
cdq
idiv ebx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
neg eax
inc eax
add esi, eax
mov eax, dword [ebp - 0x10]
neg eax
inc eax
add ecx, eax
mov eax, dword [ebp - 0x48]
and eax, 1
mov edx, dword [ebp - 0x50]
sub edx, eax
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 2
jl 0x4b929e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xb4], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xb0]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xb0]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb0]
and eax, 0xff
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc0], eax
mov eax, esi
inc eax
movzx eax, byte [eax]
add eax, eax
add eax, eax
add dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xbc]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xbc]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xbc]
and eax, 0xff
mov dword [ebp - 0x28], eax
add edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x30], eax
add ebx, dword [ebp - 0x2c]
inc ecx
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
add esi, eax
mov eax, dword [ebp - 0x10]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xcc], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc8]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc8]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc8]
and eax, 0xff
mov dword [ebp - 0x28], eax
add edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x30], eax
add ebx, dword [ebp - 0x2c]
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xd8], eax
mov eax, esi
inc eax
movzx eax, byte [eax]
add eax, eax
add eax, eax
add dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xd4]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xd4]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xd4]
and eax, 0xff
mov dword [ebp - 0x28], eax
add edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x30], eax
add ebx, dword [ebp - 0x2c]
inc ecx
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
add edx, edx
add edx, edx
imul edx
mov edx, ebx
shr edx, 2
imul edx, edi
add eax, edx
mov edi, 0x3fc
cdq
idiv edi
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
add edx, edx
add edx, edx
imul edx
shr ebx, 2
imul ebx, dword [ebp - 0x30]
add eax, ebx
mov ebx, 0x3fc
cdq
idiv ebx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
neg eax
add eax, 2
add esi, eax
mov eax, dword [ebp - 0x10]
neg eax
add eax, 2
dec eax
add ecx, eax
sub dword [ebp - 0x34], 2
cmp dword [ebp - 0x34], 2
jge 0x4b8f85
cmp dword [ebp - 0x34], 0
je 0x4b9463
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xe4], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xe0]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xe0]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xe0]
and eax, 0xff
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
add esi, eax
mov eax, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xf0], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xec]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xec]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xec]
and eax, 0xff
mov dword [ebp - 0x28], eax
add edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x30], eax
add ebx, dword [ebp - 0x2c]
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
mov byte [ecx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
add edx, edx
imul edx
mov edx, ebx
shr edx, 2
imul edx, edi
add eax, edx
mov edi, 0x1fe
cdq
idiv edi
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
add edx, edx
imul edx
shr ebx, 2
imul ebx, dword [ebp - 0x30]
add eax, ebx
mov ebx, 0x1fe
cdq
idiv ebx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
neg eax
inc eax
add esi, eax
mov eax, dword [ebp - 0x10]
neg eax
inc eax
add ecx, eax
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x14]
sub edx, eax
add edx, dword [ebp - 0x14]
add esi, edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
add dword [ebp - 0x40], eax
sub dword [ebp - 0x38], 2
cmp dword [ebp - 0x38], 2
jge 0x4b8d93
cmp dword [ebp - 0x38], 0
je 0x4b9881
mov eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
and eax, 1
test eax, eax
je 0x4b95cc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xfc], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xf8]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xf8]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xf8]
and eax, 0xff
mov dword [ebp - 0x28], eax
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov byte [ecx], al
mov eax, dword [ebp - 0x2c]
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
imul edx
mov edx, dword [ebp - 0x2c]
shr edx, 2
imul edx, dword [ebp - 0x24]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, dword [ebp - 0x2c]
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
imul edx
mov edx, dword [ebp - 0x2c]
shr edx, 2
imul edx, dword [ebp - 0x28]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x40]
inc ecx
inc esi
mov eax, dword [ebp - 0x48]
and eax, 1
mov edx, dword [ebp - 0x50]
sub edx, eax
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 2
jl 0x4b9786
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x108], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x104]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x104]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x104]
and eax, 0xff
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x2c]
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
mov edi, 0xff
cdq
idiv edi
mov byte [ecx], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x114], eax
mov eax, esi
inc eax
movzx eax, byte [eax]
add eax, eax
add eax, eax
add dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x110]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x110]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x110]
and eax, 0xff
mov dword [ebp - 0x28], eax
add ebx, dword [ebp - 0x2c]
inc ecx
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
mov edi, 0xff
cdq
idiv edi
mov byte [ecx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
add edx, edx
imul edx
mov edx, ebx
shr edx, 2
imul edx, dword [ebp - 0x24]
add eax, edx
mov edi, 0x1fe
cdq
idiv edi
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, ebx
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
add edx, edx
imul edx
shr ebx, 2
imul ebx, dword [ebp - 0x28]
add eax, ebx
mov ebx, 0x1fe
cdq
idiv ebx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x40]
add esi, 2
inc ecx
sub dword [ebp - 0x34], 2
cmp dword [ebp - 0x34], 2
jge 0x4b95e4
cmp dword [ebp - 0x34], 0
je 0x4b9881
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x120], eax
movzx eax, byte [esi]
add eax, eax
add eax, eax
add dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x11c]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x11c]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x11c]
and eax, 0xff
mov dword [ebp - 0x28], eax
movzx eax, byte [ecx]
mov edx, 0xff
sub edx, dword [ebp - 0x2c]
imul edx
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x2c]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
mov byte [ecx], al
mov eax, dword [ebp - 0x2c]
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edx]
imul edx
mov edx, dword [ebp - 0x2c]
shr edx, 2
imul edx, dword [ebp - 0x24]
add eax, edx
mov ecx, 0xff
cdq
idiv ecx
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, dword [ebp - 0x2c]
shr eax, 2
push eax
mov eax, 0xff
pop edx
sub eax, edx
mov edx, dword [ebp - 0x40]
movzx edx, byte [edx]
imul edx
mov edx, dword [ebp - 0x2c]
shr edx, 2
imul edx, dword [ebp - 0x28]
add eax, edx
mov ecx, 0xff
cdq
idiv ecx
mov edx, dword [ebp - 0x40]
mov byte [edx], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4