Function at 0x10007d90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
push edi
mov edi, eax
mov esi, ebx
shr edi, 1
shr esi, 1
cmp word [edx + 2], 0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x48], esi
je 0x10008b43
cmp word [edx + 6], 0
je 0x10008b43
lea ecx, [eax - 1]
movzx eax, word [edx]
cmp eax, ecx
jae 0x10008b43
movzx eax, word [edx + 4]
lea ecx, [ebx - 1]
cmp eax, ecx
jae 0x10008b43
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
add eax, ecx
mov dword [ebp - 0x38], 2
cdq
xor ecx, ecx
sub eax, edx
mov edx, 4
sar eax, 1
mov dword [ebp - 0x3c], eax
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010b8d
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ebp - 4], eax
mov dword [eax], ecx
mov ecx, 1
cmp ebx, ecx
jbe 0x10007e44
mov edi, dword [ebp + 0x1c]
mov esi, eax
mov edx, edi
nop
mov eax, dword [esi]
add eax, edx
add edx, edi
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, ebx
jb 0x10007e30
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x34]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010b8d
mov ecx, dword [ebp + 0xc]
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ecx, 1
cmp esi, ecx
jbe 0x10007e82
mov edx, edi
mov eax, dword [ebx]
add eax, edx
add edx, edi
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, esi
jb 0x10007e74
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010b8d
mov ecx, dword [ebp + 0x10]
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
mov dword [edi], ecx
mov ecx, 1
cmp esi, ecx
jbe 0x10007ec6
mov edx, dword [ebp - 0x34]
mov ebx, edx
mov eax, dword [edi]
add eax, ebx
add ebx, edx
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, esi
jb 0x10007eb5
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0x20]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010b8d
mov ecx, dword [ebp + 0x14]
mov edx, eax
add esp, 4
mov dword [ebp - 0x10], edx
mov dword [edx], ecx
mov ecx, 1
cmp esi, ecx
jbe 0x10007f14
mov edi, dword [ebp + 0x1c]
mov ebx, edi
nop dword [eax]
mov eax, dword [edx]
add eax, ebx
add ebx, edi
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
jb 0x10007f00
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 6]
movzx esi, word [ecx + 2]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
mov al, byte [esi + eax - 1]
mov byte [ebp + 0xb], al
cmp al, dl
jbe 0x10007f9f
mov ebx, dword [ebp - 4]
movzx eax, word [ecx + 4]
mov eax, dword [ebx + eax*4 + 4]
mov ebx, dword [ebp - 8]
mov dword [ebp + 0x10], eax
mov al, byte [eax + esi - 1]
mov byte [ebp + 0x23], al
cmp al, dl
jbe 0x10007f9f
mov edi, dword [ebp + 0xc]
movzx ebx, word [ecx]
mov eax, dword [edi - 4]
mov edi, dword [ebp - 0xc]
mov al, byte [eax + ebx + 1]
mov ebx, dword [ebp - 8]
mov byte [ebp + 0x1f], al
cmp al, dl
jbe 0x10007f9f
mov ebx, dword [ebp + 0x10]
movzx eax, word [ecx]
mov al, byte [ebx + eax + 1]
mov ebx, dword [ebp - 8]
cmp al, dl
jbe 0x10007f9f
movzx ecx, byte [ebp + 0x1f]
xor edx, edx
movzx eax, al
add eax, ecx
mov dword [ebp - 0x38], edx
movzx ecx, byte [ebp + 0x23]
add eax, ecx
movzx ecx, byte [ebp + 0xb]
jmp 0x1000800a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov al, byte [eax + esi]
mov byte [ebp + 0xb], al
cmp al, dl
jae 0x1000801b
mov edi, dword [ebp - 4]
movzx eax, word [ecx + 4]
mov eax, dword [edi + eax*4]
mov edi, dword [ebp - 0xc]
mov dword [ebp + 0x10], eax
mov al, byte [eax + esi]
mov byte [ebp + 0x23], al
cmp al, dl
jae 0x1000801b
mov edi, dword [ebp + 0xc]
movzx ebx, word [ecx]
mov eax, dword [edi]
mov edi, dword [ebp - 0xc]
mov al, byte [eax + ebx]
mov ebx, dword [ebp - 8]
mov byte [ebp + 0x1f], al
cmp al, dl
jae 0x1000801b
mov ebx, dword [ebp + 0x10]
movzx eax, word [ecx]
mov al, byte [ebx + eax]
mov ebx, dword [ebp - 8]
cmp al, dl
jae 0x1000801b
movzx ecx, byte [ebp + 0x1f]
movzx eax, al
add eax, ecx
mov dword [ebp - 0x38], 1
movzx ecx, byte [ebp + 0x23]
add eax, ecx
movzx ecx, byte [ebp + 0xb]
add eax, ecx
mov ecx, dword [ebp + 0x18]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
xor dl, dl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov byte [ebp + 0x13], al
or al, 0xff
mov byte [ebp + 0xb], al
or al, 0xff
mov byte [ebp + 0x1f], al
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov byte [ebp + 0xf], dl
mov byte [ebp + 0x23], dl
mov byte [ebp + 0x17], 0xff
cmp eax, 1
jne 0x100081a6
movzx edx, word [ecx]
movzx eax, word [ecx + 4]
inc edx
inc eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
cmp esi, edx
jge 0x10008b24
movzx ebx, word [ecx + 6]
mov dword [ebp - 0x48], ebx
cmp ebx, eax
jge 0x10008198
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0x10]
sar edx, 1
sub eax, ecx
mov dword [ebp - 0x44], edx
lea edi, [ecx + ebx*4]
mov dword [ebp - 0x40], eax
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x3c]
cmp byte [esi + eax], cl
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + edi]
jae 0x100080e3
mov byte [esi + eax], 0xff
mov ecx, ebx
mov eax, dword [edi]
inc dword [ebp - 0x1c]
sar ecx, 1
movzx eax, byte [eax + esi]
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
movzx eax, byte [eax + edx]
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
movzx eax, byte [eax + edx]
add dword [ebp - 0x30], eax
jmp 0x10008180
inc dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x13]
mov byte [esi + eax], 0
mov eax, dword [edi]
mov dl, byte [esi + eax]
movzx eax, dl
add dword [ebp - 0x20], eax
cmp byte [ebp + 0x13], dl
movzx eax, dl
cmovb ecx, eax
cmp byte [ebp + 0x17], dl
mov byte [ebp + 0x13], cl
movzx ecx, byte [ebp + 0x17]
movzx eax, dl
cmova ecx, eax
mov eax, dword [ebp - 8]
mov byte [ebp + 0x17], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x44]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dl, byte [ebx + eax]
movzx eax, dl
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp + 0xf]
mov bl, byte [ebx + eax]
movzx eax, bl
add dword [ebp - 0x28], eax
cmp byte [ebp + 0xf], dl
movzx eax, dl
cmovb ecx, eax
cmp byte [ebp + 0x23], bl
mov byte [ebp + 0xf], cl
movzx ecx, byte [ebp + 0x23]
movzx eax, bl
cmovb ecx, eax
cmp byte [ebp + 0xb], dl
mov byte [ebp + 0x23], cl
movzx ecx, byte [ebp + 0xb]
movzx eax, dl
mov edx, dword [ebp - 0x44]
cmova ecx, eax
cmp byte [ebp + 0x1f], bl
mov byte [ebp + 0xb], cl
movzx ecx, byte [ebp + 0x1f]
movzx eax, bl
mov ebx, dword [ebp - 0x48]
cmova ecx, eax
mov byte [ebp + 0x1f], cl
mov eax, dword [ebp - 0x4c]
inc ebx
add edi, 4
mov dword [ebp - 0x48], ebx
cmp ebx, eax
jl 0x100080a0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x50]
inc esi
cmp esi, edx
jl 0x10008077
jmp 0x100082f1
test eax, eax
jne 0x10008b24
movzx edx, word [ecx]
movzx eax, word [ecx + 4]
inc edx
inc eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
cmp esi, edx
jge 0x10008b24
movzx ebx, word [ecx + 6]
mov dword [ebp - 0x40], ebx
cmp ebx, eax
jge 0x100082e8
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0x10]
sar edx, 1
sub eax, ecx
mov dword [ebp - 0x44], edx
lea edi, [ecx + ebx*4]
mov dword [ebp - 0x48], eax
nop dword [eax]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x3c]
cmp byte [esi + eax], cl
mov eax, dword [ebp - 0x48]
mov eax, dword [edi + eax]
jbe 0x10008233
mov byte [esi + eax], 0xff
mov ecx, ebx
mov eax, dword [edi]
inc dword [ebp - 0x1c]
sar ecx, 1
movzx eax, byte [esi + eax]
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
movzx eax, byte [eax + edx]
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
movzx eax, byte [eax + edx]
add dword [ebp - 0x30], eax
jmp 0x100082d0
inc dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x13]
mov byte [esi + eax], 0
mov eax, dword [edi]
mov dl, byte [esi + eax]
movzx eax, dl
add dword [ebp - 0x20], eax
cmp byte [ebp + 0x13], dl
movzx eax, dl
cmovb ecx, eax
cmp byte [ebp + 0x17], dl
mov byte [ebp + 0x13], cl
movzx ecx, byte [ebp + 0x17]
movzx eax, dl
cmova ecx, eax
mov eax, dword [ebp - 8]
mov byte [ebp + 0x17], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x44]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dl, byte [ebx + eax]
movzx eax, dl
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp + 0xf]
mov bl, byte [ebx + eax]
movzx eax, bl
add dword [ebp - 0x28], eax
cmp byte [ebp + 0xf], dl
movzx eax, dl
cmovb ecx, eax
cmp byte [ebp + 0x23], bl
mov byte [ebp + 0xf], cl
movzx ecx, byte [ebp + 0x23]
movzx eax, bl
cmovb ecx, eax
cmp byte [ebp + 0xb], dl
mov byte [ebp + 0x23], cl
movzx ecx, byte [ebp + 0xb]
movzx eax, dl
mov edx, dword [ebp - 0x44]
cmova ecx, eax
cmp byte [ebp + 0x1f], bl
mov byte [ebp + 0xb], cl
movzx ecx, byte [ebp + 0x1f]
movzx eax, bl
mov ebx, dword [ebp - 0x40]
cmova ecx, eax
mov byte [ebp + 0x1f], cl
mov eax, dword [ebp - 0x50]
inc ebx
add edi, 4
mov dword [ebp - 0x40], ebx
cmp ebx, eax
jl 0x100081f0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x4c]
inc esi
cmp esi, edx
jl 0x100081c5
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10008b1e
mov eax, dword [ebp - 0x20]
xor edx, edx
div ebx
xor edx, edx
mov dword [ecx + 0x10], ebx
mov byte [ecx + 0xa], al
mov esi, 0x73
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
div ebx
xor edx, edx
mov dword [ebp + 0x10], esi
mov byte [ecx + 0xb], al
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
div ebx
mov ebx, 0x1e
mov byte [ecx + 0xc], al
mov cl, byte [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov dword [ebp + 0x14], ebx
cmp cl, 3
je 0x10008343
cmp cl, 4
jne 0x10008353
mov esi, 0xe6
mov ebx, 0x3c
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], ebx
cmp cl, 2
je 0x1000835d
cmp cl, 4
jne 0x10008385
lea ecx, [esi + esi]
mov eax, 0x55555556
imul ecx
lea ecx, [ebx + ebx]
mov eax, 0x55555556
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
mov dword [ebp + 0x10], esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x14], eax
movzx eax, byte [ebp + 0x1f]
movzx ecx, byte [ebp + 0x23]
mov dl, byte [ebp + 0xf]
sub ecx, eax
movzx eax, byte [ebp + 0xb]
mov ebx, dword [ebp - 0x1c]
movzx edi, dl
sub edi, eax
imul ecx, ecx
imul edi, edi
add edi, ecx
mov dword [ebp + 0x24], edi
test ebx, ebx
jne 0x100083b7
mov dword [ebp - 0x18], ebx
xor dl, dl
jmp 0x10008456
mov eax, dword [ebp - 0x2c]
xor edx, edx
div ebx
xor edx, edx
mov ecx, dword [ebp - 0x4c]
mov esi, eax
movzx ecx, cl
mov eax, dword [ebp - 0x50]
movzx edi, al
mov eax, dword [ebp - 0x30]
sub edi, esi
div ebx
xor edx, edx
imul edi, edi
sub ecx, eax
mov eax, dword [ebp - 0x34]
div ebx
mov edx, dword [ebp - 0x48]
movzx ebx, dl
xor dl, dl
sub ebx, eax
imul ecx, ecx
mov eax, dword [ebp - 0x18]
imul ebx, ebx
sub eax, esi
imul eax, eax
add ebx, ecx
mov dword [ebp - 0x18], eax
cmp edi, 0x1000
jge 0x10008410
mov esi, dword [ebp + 0x18]
mov dl, 1
jmp 0x10008494
cmp ebx, 0x200
jge 0x10008453
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
movzx ecx, word [esi]
movzx eax, word [esi + 2]
sub ecx, eax
cmp ebx, ecx
jl 0x10008446
movzx ecx, word [esi + 4]
movzx eax, word [esi + 6]
sub ecx, eax
cmp ebx, ecx
jl 0x10008446
cmp dword [ebp + 0x24], 0x3200
jle 0x10008494
mov dl, 3
jmp 0x10008494
cmp dword [ebp + 0x24], 0xc80
jle 0x10008494
mov dl, 2
jmp 0x10008494
mov edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
movzx ecx, word [esi]
movzx eax, word [esi + 2]
sub ecx, eax
cmp ebx, ecx
jl 0x10008483
movzx ecx, word [esi + 4]
movzx eax, word [esi + 6]
sub ecx, eax
cmp ebx, ecx
jl 0x10008483
cmp edi, 0x1fc02
jle 0x10008494
mov dl, 5
jmp 0x10008494
cmp edi, 0x1c20
movzx edx, dl
mov eax, 4
cmovg edx, eax
movzx edi, word [esi]
movzx ebx, word [esi + 2]
mov eax, edi
sub eax, ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x24], edi
cmp dword [ebp + 0x14], eax
jge 0x100084d9
movzx ecx, word [esi + 4]
movzx eax, word [esi + 6]
sub ecx, eax
cmp dword [ebp + 0x14], ecx
jge 0x100084d9
cmp dword [ebp - 0x18], 0x400
jle 0x100084c5
or dl, 8
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
imul ecx, eax, 0x55
imul eax, dword [ebp - 0x14], 0x64
cmp ecx, eax
jae 0x100084d9
or dl, 0x10
test dl, dl
je 0x1000851e
movzx edx, word [esi + 4]
inc edi
inc edx
cmp ebx, edi
jge 0x10008506
movzx ecx, word [esi + 6]
cmp ecx, edx
jge 0x10008501
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + ecx*4]
inc ecx
mov byte [ebx + eax], 0xff
cmp ecx, edx
jl 0x100084f2
mov esi, dword [ebp + 0x18]
inc ebx
cmp ebx, edi
jl 0x100084e7
push dword [ebp - 4]
call fcn.10010b96
push dword [ebp - 8]
call fcn.10010b96
push dword [ebp - 0xc]
jmp 0x10008b33
cmp dword [ebp - 0x38], 1
lea eax, [edi + 1]
movzx ecx, word [esi + 4]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], ecx
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
jne 0x10008818
mov ecx, dword [eax + ecx*4]
movzx edi, word [esi + 6]
mov esi, dword [ebp + 0x24]
mov edx, dword [eax + edi*4]
movzx eax, byte [ebx + ecx]
mov dword [ebp + 0x1c], eax
movzx eax, byte [ebx + edx]
add dword [ebp + 0x1c], eax
movzx eax, byte [esi + ecx]
mov ecx, dword [ebp + 0x1c]
add ecx, eax
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + edx]
mov esi, edi
add ecx, eax
shr ebx, 1
mov eax, dword [ebp - 8]
sar ecx, 2
mov dword [ebp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 1
shl ecx, 2
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], ebx
mov ebx, dword [ebp + 0x24]
mov ecx, dword [ecx + eax]
shr esi, 1
shr ebx, 1
mov dword [ebp + 0x24], ebx
mov edx, dword [eax + esi*4]
movzx eax, byte [ebx + ecx]
mov dword [ebp + 0x20], eax
movzx eax, byte [ebx + edx]
add dword [ebp + 0x20], eax
mov ebx, dword [ebp + 8]
movzx eax, byte [ecx + ebx]
mov ecx, dword [ebp + 0x20]
add ecx, eax
movzx eax, byte [ebx + edx]
add ecx, eax
mov eax, dword [ebp - 0xc]
sar ecx, 2
mov dword [ebp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + esi*4]
mov esi, dword [ebp + 0x24]
mov ecx, dword [ecx + eax]
movzx eax, byte [ecx + esi]
mov dword [ebp + 0x24], eax
movzx eax, byte [edx + esi]
add dword [ebp + 0x24], eax
movzx eax, byte [ecx + ebx]
mov ecx, dword [ebp + 0x24]
add ecx, eax
movzx eax, byte [edx + ebx]
add ecx, eax
lea ebx, [edi + 1]
mov eax, dword [ebp - 0x34]
dec eax
sar ecx, 2
mov dword [ebp + 0x24], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp + 0x14], ebx
cmp ebx, eax
jge 0x10008aed
mov ecx, dword [ebp + 0x10]
dec ecx
mov dword [ebp - 0x4c], ecx
nop word [eax + eax]
mov eax, dword [ebp + 0x18]
movzx eax, word [eax + 2]
inc eax
cmp eax, ecx
jge 0x10008806
mov esi, dword [ebp - 0x10]
lea edi, [ebx*4]
add esi, edi
mov dword [ebp + 8], edi
lea edx, [eax + 1]
mov dword [ebp - 0x50], esi
mov dword [ebp + 0xc], edx
nop dword [eax + eax]
mov ecx, dword [esi]
cmp byte [eax + ecx], 0
jne 0x100087f6
mov ecx, dword [ebp - 4]
mov esi, eax
mov edx, dword [ebp + 0x1c]
sar esi, 1
mov dword [ebp - 0x44], esi
mov ecx, dword [edi + ecx]
mov edi, dword [ebp - 0xc]
mov byte [eax + ecx], dl
mov edx, ebx
mov ebx, dword [ebp - 8]
sar edx, 1
shl edx, 2
add ebx, edx
add edi, edx
mov edx, dword [ebp + 0x24]
mov dword [ebp + 0x10], ebx
mov ecx, dword [ebx]
mov ebx, dword [ebp + 0x20]
mov byte [esi + ecx], bl
mov ecx, dword [edi]
mov byte [esi + ecx], dl
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffffe
sar esi, 1
mov ecx, dword [edx + ecx - 4]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x48], esi
mov byte [ecx + eax - 1], dl
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
dec edx
sar edx, 1
mov ecx, dword [ecx + edx*4]
mov byte [esi + ecx], bl
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x24]
mov ecx, dword [ecx + edx*4]
mov byte [esi + ecx], bl
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [esi + ecx - 4]
mov esi, dword [ebp - 0x44]
mov byte [eax + ecx], bl
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ecx + edx*4]
mov byte [esi + ecx], bl
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x24]
mov ecx, dword [ecx + edx*4]
mov byte [esi + ecx], bl
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
sar esi, 1
mov ecx, dword [ebx + ecx - 4]
mov ebx, dword [ebp + 0x1c]
mov byte [ecx + eax + 1], bl
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ecx + edx*4]
mov byte [esi + ecx], bl
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ebp + 0x24]
mov byte [esi + ecx], dl
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [edx + ecx]
mov edx, dword [ebp + 0x1c]
mov byte [eax + ecx - 1], dl
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp + 0x20]
mov byte [edx + ecx], bl
mov ecx, dword [edi]
mov ebx, dword [ebp + 0x24]
mov byte [edx + ecx], bl
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [edx + ecx]
mov edx, dword [ebp + 0x1c]
mov byte [eax + ecx + 1], dl
mov ecx, dword [ebx]
mov ebx, dword [ebp + 0x20]
mov byte [esi + ecx], bl
mov ecx, dword [edi]
mov ebx, dword [ebp + 0x24]
mov edi, dword [ebp - 0x48]
mov byte [esi + ecx], bl
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebx + ecx + 4]
mov ebx, dword [ebp - 8]
mov byte [eax + ecx - 1], dl
mov edx, dword [ebp + 0x14]
lea edx, [edx + 1]
sar edx, 1
shl edx, 2
mov dword [ebp + 0x10], edx
mov ecx, dword [edx + ebx]
mov ebx, dword [ebp + 0x20]
mov byte [edi + ecx], bl
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x24]
mov ecx, dword [edx + ecx]
mov byte [edi + ecx], bl
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebx + ecx + 4]
mov ebx, dword [ebp + 0x1c]
mov byte [eax + ecx], bl
mov ebx, dword [ebp - 8]
mov ecx, dword [edx + ebx]
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp + 0x20]
mov byte [ebx + ecx], dl
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + edi]
mov edx, dword [ebp + 0x24]
mov byte [ebx + ecx], dl
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [edx + ecx + 4]
mov edx, dword [ebp + 0x10]
mov byte [eax + ecx + 1], bl
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [edx + ecx]
mov byte [esi + ecx], bl
mov ecx, dword [edx + edi]
mov edx, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov byte [esi + ecx], dl
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
inc eax
inc edx
mov dword [ebp + 0xc], edx
cmp eax, ecx
jl 0x10008640
inc ebx
mov dword [ebp + 0x14], ebx
cmp ebx, dword [ebp - 0x40]
jl 0x10008610
jmp 0x10008aed
mov ecx, dword [eax + ecx*4 + 4]
movzx esi, word [esi + 6]
mov dword [ebp + 0x14], esi
mov edx, dword [eax + esi*4 - 4]
movzx eax, byte [ebx + ecx - 1]
mov dword [ebp + 0x1c], eax
movzx eax, byte [ebx + edx - 1]
mov ebx, dword [ebp + 0x1c]
add ebx, eax
movzx eax, byte [edi + ecx + 1]
add ebx, eax
mov ecx, dword [ebp - 8]
movzx eax, byte [edi + edx + 1]
mov edi, dword [ebp - 0x34]
add ebx, eax
mov eax, dword [ebp + 8]
sar ebx, 2
dec eax
mov dword [ebp + 0x1c], ebx
lea ebx, [esi - 1]
mov esi, dword [ebp + 0x10]
sar ebx, 1
shl ebx, 2
sar eax, 1
sar edi, 1
mov dword [ebp + 8], eax
mov edx, dword [ebx + ecx]
sar esi, 1
mov ecx, dword [ecx + edi*4]
mov dword [ebp + 0x20], ebx
movzx eax, byte [esi + ecx]
mov dword [ebp + 0x24], eax
movzx eax, byte [esi + edx]
add dword [ebp + 0x24], eax
mov eax, dword [ebp + 8]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp + 0x24]
add ecx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edx]
add ecx, eax
mov eax, dword [ebp - 0xc]
sar ecx, 2
mov dword [ebp + 0x24], ecx
mov edx, dword [ebx + eax]
mov ecx, dword [eax + edi*4]
movzx eax, byte [edx + esi]
movzx ebx, byte [ecx + esi]
add ebx, eax
mov dword [ebp + 0x20], ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ecx + ebx]
mov ecx, dword [ebp + 0x20]
add ecx, eax
movzx eax, byte [edx + ebx]
mov edx, dword [ebp + 0x14]
add ecx, eax
sar ecx, 2
mov dword [ebp + 0x20], ecx
cmp edx, dword [ebp - 0x34]
jge 0x10008aed
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
nop dword [eax]
movzx ebx, word [eax + 2]
mov dword [ebp + 0xc], ebx
cmp ebx, ecx
jge 0x10008ae0
mov eax, dword [ebp - 0x10]
lea esi, [edx*4]
add eax, esi
mov dword [ebp + 8], esi
lea ecx, [ebx + 1]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x38], ecx
nop word [eax + eax]
mov eax, dword [eax]
cmp byte [ebx + eax], 0
jne 0x10008ac6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp - 8]
mov eax, dword [esi + eax]
mov esi, dword [ebp - 0xc]
mov byte [ebx + eax], cl
mov ecx, edx
sar ecx, 1
mov edx, ebx
mov ebx, dword [ebp + 0x24]
shl ecx, 2
add edi, ecx
sar edx, 1
add esi, ecx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp + 0x20]
mov eax, dword [edi]
mov byte [edx + eax], bl
mov eax, dword [esi]
mov ebx, dword [ebp + 0xc]
mov byte [edx + eax], cl
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x24]
mov eax, dword [ecx + eax - 4]
mov ecx, dword [ebp + 0x1c]
mov byte [ebx + eax - 1], cl
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
dec ecx
mov ebx, dword [ebp - 0x38]
sar ecx, 1
add ebx, 0xfffffffe
sar ebx, 1
mov dword [ebp - 0x48], ebx
mov eax, dword [eax + ecx*4]
mov byte [ebx + eax], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x20]
mov eax, dword [eax + ecx*4]
mov byte [ebx + eax], dl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edx + eax - 4]
mov edx, dword [ebp + 0xc]
mov byte [edx + eax], bl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x44]
mov ebx, dword [ebp + 0x24]
mov eax, dword [eax + ecx*4]
mov byte [edx + eax], bl
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x20]
mov eax, dword [eax + ecx*4]
mov byte [edx + eax], bl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edx + eax - 4]
mov edx, dword [ebp + 0xc]
mov byte [edx + eax + 1], bl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
sar edx, 1
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x40], edx
mov byte [edx + eax], bl
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x20]
mov byte [edx + eax], cl
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov byte [eax + ecx - 1], bl
mov eax, dword [edi]
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebp + 0x24]
mov byte [ebx + eax], dl
mov eax, dword [esi]
mov edx, dword [ebp + 0x20]
mov byte [ebx + eax], dl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edx + eax]
mov edx, dword [ebp - 0x40]
mov byte [eax + ecx + 1], bl
mov eax, dword [edi]
mov ebx, dword [ebp + 0x24]
mov edi, dword [ebp - 0xc]
mov byte [edx + eax], bl
mov eax, dword [esi]
mov ebx, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
mov byte [edx + eax], bl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edx + eax + 4]
mov edx, dword [ebp + 0x24]
mov byte [eax + ecx - 1], bl
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x48]
lea ecx, [ecx + 1]
sar ecx, 1
mov eax, dword [esi + ecx*4]
mov byte [ebx + eax], dl
mov eax, dword [edi + ecx*4]
mov edx, dword [ebp + 0x20]
mov byte [ebx + eax], dl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + eax + 4]
mov edx, dword [ebp + 0x1c]
mov byte [ebx + eax], dl
mov eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp + 0x24]
mov byte [esi + eax], dl
mov eax, dword [edi + ecx*4]
mov edx, dword [ebp + 0x20]
mov byte [esi + eax], dl
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov eax, dword [esi + eax + 4]
mov byte [eax + ebx + 1], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp + 0x24]
mov eax, dword [eax + ecx*4]
mov byte [edx + eax], bl
mov eax, dword [edi + ecx*4]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0xc]
mov byte [edx + eax], cl
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x50]
inc ebx
inc ecx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x38], ecx
cmp ebx, dword [ebp + 0x10]
jl 0x10008910
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
inc edx
mov dword [ebp + 0x14], edx
cmp edx, dword [ebp - 0x34]
jl 0x100088e0
push dword [ebp - 4]
call fcn.10010b96
push dword [ebp - 8]
call fcn.10010b96
push dword [ebp - 0xc]
call fcn.10010b96
push dword [ebp - 0x10]
call fcn.10010b96
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
push dword [ebp - 4]
call fcn.10010b96
push ebx
call fcn.10010b96
push edi
call fcn.10010b96
push dword [ebp - 0x10]
call fcn.10010b96
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x20