Function at 0x100b6cb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x18]
sub esi, ecx
cmp ecx, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0x28]
cmovge esi, edx
add ecx, dword [ebp + 0x1c]
sub edi, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x28]
mov dword [ebp - 8], esi
cmovl edi, dword [ebp + 0x1c]
mov dword [ebp + 0x24], edi
test eax, eax
je 0x100b6cf0
mov edx, esi
imul edx, eax
jmp 0x100b6cfe
mov eax, esi
cdq
and edx, 7
add edx, eax
mov eax, dword [ebp + 0x10]
sar edx, 3
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 4]
add ecx, edx
mov dword [ebp + 0x1c], edx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x1c]
cmp dword [ebx + 0x1c], 0
mov dword [ebp + 0x10], edx
je 0x100b7242
cmp eax, 4
jne 0x100b6f5c
cmp dword [ebp + 0x14], 0
je 0x100b6f65
cmp esi, edi
jge 0x100b77d0
mov eax, dword [ebp + 0x20]
lea ebx, [esi + eax]
mov dword [ebp + 0x20], ebx
mov ebx, dword [ebp + 0x2c]
mov dword [ebp + 0x1c], ebx
sub ebx, eax
mov eax, dword [ebp + 0x20]
sub edi, esi
mov dword [ebp + 0x28], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp + 0x24], edi
cmp dword [ebp + 0x1c], 0
je 0x100b6d7e
mov edx, dword [ebp + 0x28]
movzx esi, byte [edx + eax]
mov eax, 0x80808081
imul esi, dword [ebx]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x10]
jmp 0x100b6d80
mov eax, dword [ebx]
mov bl, byte [edx + 3]
mov dword [ebp + 0x2c], eax
movzx esi, bl
imul esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub bl, al
mov eax, dword [ebp + 0x2c]
add bl, al
imul eax, eax, 0xff
movzx esi, bl
mov byte [ecx + 3], bl
cdq
idiv esi
mov edx, eax
mov eax, 0xff
sub eax, edx
mov dword [ebp + 0x2c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
movzx esi, byte [edx]
lea ebx, [edx + 1]
mov dword [ebp + 0x18], ebx
lea ebx, [ecx + 1]
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp - 4]
imul esi, eax
mov eax, 0x80808081
mov edx, dword [ebx + 4]
imul edx, dword [ebp + 0x2c]
add esi, edx
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebx + 0x18], 0
mov dword [ebp + 8], eax
je 0x100b6e47
mov edx, dword [ebp + 0x18]
mov byte [ecx], al
mov eax, dword [ebx + 8]
imul eax, dword [ebp + 0x2c]
movzx esi, byte [edx]
imul esi, dword [ebp + 0x14]
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x10]
mov byte [edx], al
mov eax, dword [ebp + 0x18]
movzx esi, byte [eax + 1]
mov eax, dword [ebx + 0xc]
imul esi, dword [ebp + 0x14]
imul eax, dword [ebp + 0x2c]
add esi, eax
jmp 0x100b6f13
mov eax, dword [ebp + 0x18]
movzx esi, byte [eax]
imul esi, dword [ebp + 0x14]
mov eax, dword [ebx + 8]
imul eax, dword [ebp + 0x2c]
add esi, eax
mov eax, 0x80808081
imul esi
mov eax, dword [ebp + 0x18]
add edx, esi
sar edx, 7
mov edi, edx
movzx esi, byte [eax + 1]
imul esi, dword [ebp + 0x14]
mov eax, dword [ebx + 0xc]
imul eax, dword [ebp + 0x2c]
shr edi, 0x1f
add edi, edx
add esi, eax
mov eax, 0x80808081
imul esi
mov eax, dword [ebp + 0x20]
add edx, esi
mov esi, 0xff
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub esi, edx
imul esi, eax
mov eax, dword [ebp + 8]
imul eax, edx
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
mov esi, 0xff
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
mov eax, dword [ebp + 0x20]
movzx edx, byte [eax]
mov eax, dword [ebp + 0x10]
sub esi, edx
imul edx, edi
mov edi, dword [ebp + 0x10]
movzx eax, byte [eax]
imul esi, eax
mov eax, 0x80808081
add esi, edx
imul esi
add edx, esi
mov esi, 0xff
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [edi], al
mov eax, dword [ebp + 0x20]
movzx edx, byte [eax]
movzx eax, byte [edi + 1]
sub esi, edx
mov edi, dword [ebp + 0x24]
imul esi, eax
imul edx, ebx
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x18]
mov dword [ebp + 0x2c], eax
add edx, 3
mov ebx, dword [ebp + 0x2c]
lea eax, [ecx + 2]
mov byte [eax], bl
lea ecx, [eax + 2]
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
inc eax
sub edi, 1
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], edi
jne 0x100b6d56
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
cmp eax, 3
jne 0x100b77d0
cmp esi, edi
jge 0x100b77d0
add eax, 0xfffffffe
cmp dword [ebp + 0x2c], 0
mov dword [ebp + 0x18], eax
je 0x100b7100
mov eax, dword [ebp + 0x20]
lea edx, [esi + eax]
mov dword [ebp + 0x20], edx
mov edx, dword [ebp + 0x2c]
sub edx, eax
mov eax, dword [ebp + 0x20]
sub edi, esi
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x24], edi
nop word [eax + eax]
movzx esi, byte [eax + edx]
mov edi, 0xff
imul esi, dword [ebx]
mov eax, 0x80808081
imul esi
mov eax, dword [ebp - 4]
add edx, esi
sar edx, 7
mov ebx, edx
mov eax, dword [eax + 4]
shr ebx, 0x1f
add ebx, edx
mov edx, dword [ebp + 0x10]
imul eax, ebx
sub edi, ebx
movzx esi, byte [edx]
imul esi, edi
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
movzx esi, byte [eax]
mov eax, dword [ebp - 4]
imul esi, edi
mov eax, dword [eax + 8]
imul eax, ebx
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
movzx esi, byte [eax]
mov eax, dword [ebp - 4]
imul esi, edi
mov eax, dword [eax + 0xc]
imul eax, ebx
mov ebx, dword [ebp + 0x18]
add dword [ebp + 0x10], ebx
add esi, eax
mov eax, 0x80808081
imul esi
mov eax, dword [ebp + 0x20]
add edx, esi
mov esi, 0xff
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub esi, edx
imul edx, dword [ebp + 0x2c]
imul esi, eax
mov eax, 0x80808081
add esi, edx
imul esi
add edx, esi
mov esi, 0xff
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
mov eax, dword [ebp + 0x20]
movzx edx, byte [eax]
sub esi, edx
imul edx, dword [ebp + 0x14]
movzx eax, byte [ecx + 1]
imul esi, eax
mov eax, 0x80808081
add esi, edx
imul esi
add edx, esi
mov esi, 0xff
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx + 1], al
add ecx, 2
mov eax, dword [ebp + 0x20]
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub esi, edx
imul esi, eax
mov eax, 0x80808081
imul edx, edi
add esi, edx
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x1c]
mov byte [ecx], al
add ecx, ebx
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
inc eax
sub dword [ebp + 0x24], 1
mov dword [ebp + 0x20], eax
jne 0x100b6fa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
movzx esi, byte [edx]
mov edi, 0xff
mov ebx, dword [ebx]
sub edi, ebx
mov eax, dword [ebp - 4]
imul esi, edi
mov eax, dword [eax + 4]
imul eax, ebx
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
movzx esi, byte [eax]
mov eax, dword [ebp - 4]
imul esi, edi
mov eax, dword [eax + 8]
imul eax, ebx
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
movzx esi, byte [eax]
mov eax, dword [ebp - 4]
imul esi, edi
mov eax, dword [eax + 0xc]
imul eax, ebx
mov ebx, dword [ebp - 8]
add esi, eax
mov eax, 0x80808081
imul esi
mov eax, dword [ebp + 0x18]
add dword [ebp + 0x10], eax
add edx, esi
mov eax, dword [ebp + 0x20]
mov esi, 0xff
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
movzx edx, byte [ebx + eax]
movzx eax, byte [ecx]
sub esi, edx
imul edx, dword [ebp + 0x2c]
imul esi, eax
mov eax, 0x80808081
add esi, edx
imul esi
add edx, esi
mov esi, 0xff
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
mov eax, dword [ebp + 0x20]
movzx edx, byte [ebx + eax]
movzx eax, byte [ecx + 1]
sub esi, edx
imul edx, dword [ebp + 0x14]
imul esi, eax
mov eax, 0x80808081
add esi, edx
imul esi
add edx, esi
sar edx, 7
mov eax, edx
mov esi, 0xff
shr eax, 0x1f
add eax, edx
mov byte [ecx + 1], al
add ecx, 2
mov eax, dword [ebp + 0x20]
movzx edx, byte [ebx + eax]
inc ebx
movzx eax, byte [ecx]
sub esi, edx
imul esi, eax
mov eax, 0x80808081
imul edx, edi
mov dword [ebp - 8], ebx
add esi, edx
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x10]
mov byte [ecx], al
add ecx, dword [ebp + 0x18]
cmp ebx, dword [ebp + 0x24]
mov ebx, dword [ebp - 4]
jl 0x100b7100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
cmp eax, 4
jne 0x100b73bf
cmp dword [ebp + 0x14], 0
je 0x100b75af
cmp esi, edi
jge 0x100b77d0
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x2c]
mov dword [ebp + 0x10], ebx
sub dword [ebp + 0x10], eax
sub edi, esi
mov ebx, dword [ebp - 4]
lea edx, [esi + eax]
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x24], edi
cmp dword [ebp + 0x2c], 0
je 0x100b729f
mov eax, dword [ebp + 0x10]
movzx esi, byte [edx + eax]
mov eax, 0x80808081
imul esi, dword [ebx]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x14]
jmp 0x100b72a1
mov eax, dword [ebx]
mov dl, byte [edx]
mov byte [ebp + 0x23], dl
movzx edx, dl
mov esi, edx
mov dword [ebp + 0x18], edx
imul esi, eax
mov eax, 0x80808081
imul esi
mov dword [ebp + 0x1c], esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100b72d1
add ecx, 4
jmp 0x100b73a3
cmp byte [ebp + 0x23], 0xff
lea edx, [ecx + 1]
mov dword [ebp + 0x28], edx
jne 0x100b72f7
mov byte [ecx + 3], al
movzx eax, byte [ebx + 0xc]
mov byte [ecx], al
mov ecx, edx
movzx eax, byte [ebx + 8]
mov byte [ecx], al
movzx eax, byte [ebx + 4]
jmp 0x100b739d
mov bl, byte [ecx + 3]
mov byte [ebp + 0x23], bl
test bl, bl
mov ebx, dword [ebp - 4]
je 0x100b72dd
movzx esi, byte [ebp + 0x23]
mov edi, 0xff
sub edi, dword [ebp + 0x18]
mov eax, 0x80808081
imul esi, edi
add esi, dword [ebp + 0x1c]
imul esi
add edx, esi
movzx esi, byte [ecx]
sar edx, 7
mov eax, edx
imul esi, edi
shr eax, 0x1f
add eax, edx
mov byte [ecx + 3], al
mov eax, dword [ebx + 0xc]
imul eax, dword [ebp + 0x18]
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebx + 8]
imul eax, dword [ebp + 0x18]
movzx esi, byte [ecx]
imul esi, edi
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
movzx esi, byte [ecx + 1]
mov eax, dword [ebx + 4]
imul eax, dword [ebp + 0x18]
imul esi, edi
mov edi, dword [ebp + 0x24]
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx + 1], al
add ecx, 3
mov edx, dword [ebp + 0x14]
inc edx
sub edi, 1
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x24], edi
jne 0x100b7277
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
cmp eax, 3
je 0x100b75af
cmp eax, 1
jne 0x100b74b2
cmp esi, edi
jge 0x100b77d0
mov eax, dword [ebp + 0x20]
lea ebx, [esi + eax]
mov dword [ebp + 0x20], ebx
mov ebx, dword [ebp + 0x2c]
mov dword [ebp + 0x18], ebx
sub ebx, eax
mov eax, dword [ebp + 0x20]
sub edi, esi
mov dword [ebp + 0x14], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebp + 0x18], 0
mov dword [ebp + 0x24], ecx
je 0x100b7420
mov edx, dword [ebp + 0x14]
movzx esi, byte [eax + edx]
mov eax, 0x80808081
imul esi, dword [ebx]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x10]
jmp 0x100b7422
mov eax, dword [ebx]
lea esi, [edx + 1]
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x10], esi
mov esi, 0xff
sub esi, eax
movzx eax, byte [edx]
imul esi, eax
mov eax, dword [ebx + 0x10]
imul eax, dword [ebp + 0x2c]
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebx + 0x18], 0
mov dword [ebp + 0x2c], eax
jne 0x100b748e
mov eax, dword [ebp + 0x20]
mov esi, 0xff
movzx edx, byte [eax]
mov al, byte [ecx]
sub esi, edx
movzx eax, al
inc ecx
imul esi, eax
mov eax, dword [ebp + 0x2c]
imul eax, edx
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x24]
mov byte [edx], al
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x10], edx
sub edi, 1
jne 0x100b73f5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebx + 0x38]
xor edx, edx
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x100b74c4
cmp byte [ebx + 0x14], 0xff
jmp 0x100b74ca
mov eax, dword [eax + 4]
cmp eax, dword [ebx + 0x14]
sete dl
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x14], edx
cmp esi, edi
jge 0x100b77d0
mov edx, dword [ebp + 0x18]
and edx, 0x80000007
jns 0x100b74eb
dec edx
or edx, 0xfffffff8
inc edx
mov ebx, dword [ebp + 0x20]
inc edx
mov dword [ebp + 0x1c], edx
mov edx, dword [ebp + 0x2c]
sub ebx, edx
sub dword [ebp + 0x18], edx
sub edi, esi
mov dword [ebp + 0x20], ebx
mov ebx, dword [ebp - 4]
lea eax, [esi + edx]
mov dword [ebp + 0x10], eax
nop dword [eax + eax]
cmp dword [ebp + 0x2c], 0
mov edx, dword [ebp + 0x20]
movzx edx, byte [edx + eax]
je 0x100b7534
movzx esi, byte [eax]
mov eax, 0x81018203
imul esi, edx
imul esi, dword [ebx]
imul esi
add edx, esi
sar edx, 0xf
jmp 0x100b7545
mov esi, dword [ebx]
mov eax, 0x80808081
imul esi, edx
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
je 0x100b757f
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x18]
and eax, 0x80000007
jns 0x100b7562
dec eax
or eax, 0xfffffff8
inc eax
mov esi, 7
sub esi, eax
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 0x24]
movzx edx, byte [eax]
jne 0x100b757a
btr edx, esi
jmp 0x100b757d
bts edx, esi
mov byte [eax], dl
mov esi, dword [ebp + 0x1c]
mov eax, esi
cdq
inc esi
and edx, 7
mov dword [ebp + 0x1c], esi
add eax, edx
sar eax, 3
add eax, ecx
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
sub edi, 1
jne 0x100b7510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
cmp esi, edi
jge 0x100b77d0
add eax, 0xfffffffe
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x20]
lea ebx, [esi + eax]
mov dword [ebp + 0x14], ebx
mov ebx, dword [ebp + 0x2c]
sub ebx, eax
mov eax, dword [ebp + 0x14]
sub edi, esi
mov dword [ebp + 0x28], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp + 0x24], edi
nop dword [eax]
cmp dword [ebp + 0x2c], 0
je 0x100b7608
mov edx, dword [ebp + 0x28]
movzx esi, byte [eax + edx]
mov eax, 0x80808081
imul esi, dword [ebx]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x10]
jmp 0x100b760a
mov eax, dword [ebx]
mov dword [ebp + 0x1c], eax
mov esi, 0xff
sub esi, eax
lea eax, [edx + 1]
mov dword [ebp + 0x20], eax
lea eax, [ecx + 1]
mov dword [ebp + 0x18], eax
mov eax, dword [ebx + 0xc]
imul eax, dword [ebp + 0x1c]
mov dword [ebp + 0x10], esi
movzx esi, byte [edx]
imul esi, dword [ebp + 0x10]
add esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebx + 0x18], 0
mov dword [ebp + 8], eax
je 0x100b76b7
mov edx, dword [ebp + 0x20]
mov byte [ecx], al
mov eax, dword [ebx + 8]
imul eax, dword [ebp + 0x1c]
movzx ecx, byte [edx]
imul ecx, dword [ebp + 0x10]
add ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [ebp + 0x18]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
inc ecx
mov eax, dword [ebp + 0x20]
inc eax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x20], eax
movzx ecx, byte [eax]
imul ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 4]
imul eax, dword [ebp + 0x1c]
add ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov ecx, eax
jmp 0x100b77a9
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x20], eax
movzx esi, byte [eax]
imul esi, dword [ebp + 0x10]
mov eax, dword [ebx + 8]
imul eax, dword [ebp + 0x1c]
add esi, eax
mov eax, 0x80808081
imul esi
mov eax, dword [ebp + 0x20]
add edx, esi
inc eax
mov dword [ebp + 0x20], eax
sar edx, 7
mov edi, edx
movzx esi, byte [eax]
imul esi, dword [ebp + 0x10]
mov eax, dword [ebx + 4]
imul eax, dword [ebp + 0x1c]
shr edi, 0x1f
add edi, edx
add esi, eax
mov eax, 0x80808081
imul esi
mov eax, dword [ebp + 0x14]
add edx, esi
mov esi, 0xff
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub esi, edx
imul edx, dword [ebp + 8]
imul esi, eax
mov eax, 0x80808081
add esi, edx
imul esi
add edx, esi
mov esi, 0xff
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax]
mov eax, dword [ebp + 0x18]
sub esi, ecx
imul ecx, edi
movzx eax, byte [eax]
imul esi, eax
mov eax, 0x80808081
add esi, ecx
imul esi
add edx, esi
mov esi, 0xff
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x18]
mov byte [edx], al
inc edx
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x10], edx
movzx ecx, byte [eax]
movzx eax, byte [edx]
sub esi, ecx
imul esi, eax
mov eax, 0x80808081
imul ecx, ebx
add esi, ecx
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
add edx, dword [ebp + 0xc]
add ecx, dword [ebp + 0xc]
mov byte [eax], bl
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 4]
inc eax
sub edi, 1
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x24], edi
jne 0x100b75e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28