Function at 0x527d2c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x529173
mov eax, dword [ebp + 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov dl, 0xff
sub dl, al
mov byte [ebp - 0x49], dl
mov dl, 7
mov eax, ebx
call fcn.00429cdc
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x34], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x38], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
je 0x527dcb
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x44], eax
jmp 0x527dd5
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xc0]
mov dl, 1
call fcn.00534010
push eax
lea eax, [ebp - 0xb0]
mov dl, 1
call fcn.00534010
pop edx
call fcn.0042ae9c
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x28]
call fcn.0042ae9c
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x28]
call fcn.0042ae9c
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x529173
lea eax, [ebp - 0xc0]
mov dl, 1
call fcn.00533ffc
push eax
lea eax, [ebp - 0xb0]
mov dl, 1
call fcn.00533ffc
pop edx
call fcn.0042ae9c
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x2c]
call fcn.0042ae9c
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
call fcn.0042ae9c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x529173
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xb0]
jle 0x527f14
cmp dword [ebp - 0xb0], 0
jge 0x527ed5
mov eax, dword [ebp - 0xb0]
neg eax
add dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb0]
neg eax
sub dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
call fcn.0042ae9c
dec eax
mov dword [ebp - 0x2c], eax
jmp 0x527f14
cmp dword [ebp - 0xc0], 0
jge 0x527f14
mov eax, dword [ebp - 0xc0]
neg eax
add dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc0]
neg eax
sub dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x2c]
call fcn.0042ae9c
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xac]
jle 0x527fa6
cmp dword [ebp - 0xac], 0
jge 0x527f67
mov eax, dword [ebp - 0xac]
neg eax
add dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
neg eax
sub dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x28]
call fcn.0042ae9c
dec eax
mov dword [ebp - 0x28], eax
jmp 0x527fa6
cmp dword [ebp - 0xbc], 0
jge 0x527fa6
mov eax, dword [ebp - 0xbc]
neg eax
add dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xbc]
neg eax
sub dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x28]
call fcn.0042ae9c
dec eax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x2c]
call fcn.0042ae9c
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
call fcn.0042ae9c
dec eax
mov dword [ebp - 0x2c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x64]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0051dea4
test al, al
je 0x529173
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0051dea4
test al, al
je 0x529173
cmp dword [ebp + 0x10], 0x1fffffff
je 0x528927
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
xor edx, edx
mov dl, byte [ebp - 3]
xor eax, eax
mov al, byte [ebp - 4]
call fcn.0042af60
mov byte [ebp - 0x48], al
xor edx, edx
mov dl, byte [ebp - 0x48]
xor eax, eax
mov al, byte [ebp - 2]
call fcn.0042af60
mov dl, 0xff
sub dl, al
mov byte [ebp - 0x48], dl
mov al, byte [ebp - 0x48]
add byte [ebp - 4], al
mov al, byte [ebp - 0x48]
add byte [ebp - 3], al
mov al, byte [ebp - 0x48]
add byte [ebp - 2], al
cmp dword [ebp + 0xc], 0
je 0x5283d1
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x5281be
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x528753
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x5281ad
inc ebx
mov dword [ebp - 0x20], 0
mov edi, dword [ebp - 0xb0]
add edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc0]
add esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 3]
xor edx, edx
mov dl, byte [ebp - 0x49]
imul edx
shr eax, 8
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
shr eax, 2
add cl, al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 4]
imul edx
shr eax, 8
mov byte [ebp - 0x45], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x46], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x47], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
xor edx, edx
mov dl, byte [ebp - 0x45]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 2], dl
xor edx, edx
mov dl, byte [ebp - 0x46]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 1], dl
xor edx, edx
mov dl, byte [ebp - 0x47]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
inc dword [ebp - 0x20]
dec ebx
jne 0x5280b1
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x52807a
jmp 0x528753
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x528753
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x5283c0
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0xff00ff
je 0x528326
mov eax, dword [ebp - 0x58]
cmp byte [eax + 3], 0x10
jbe 0x528326
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 3]
xor edx, edx
mov dl, byte [ebp - 0x49]
imul edx
shr eax, 8
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
shr eax, 2
add cl, al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 4]
imul edx
shr eax, 8
mov byte [ebp - 0x45], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x46], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x47], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov al, byte [ebp - 0x45]
mov edx, dword [ebp - 0x5c]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x5c]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x5c]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x46]
mov edx, dword [ebp - 0x5c]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x5c]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x5c]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x47]
mov edx, dword [ebp - 0x5c]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x5c]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x5c]
mov byte [edx], al
jmp 0x5283b7
cmp byte [ebp + 0x14], 0
je 0x5283b7
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x40]
jge 0x5283b7
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x5283b7
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x44]
jge 0x5283c0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x5283c0
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xac]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00505dac
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dl, byte [ebp - 4]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x60]
mov dl, byte [ebp - 3]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x60]
mov dl, byte [ebp - 2]
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x528210
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x5281d4
jmp 0x528753
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x528542
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x528753
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x528531
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
shr eax, 2
add cl, al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 4]
imul edx
shr eax, 8
mov byte [ebp - 0x45], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x46], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x47], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
xor edx, edx
mov dl, byte [ebp - 0x45]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
mov ecx, dword [ebp - 0x64]
movzx ecx, byte [ecx + 3]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 2], dl
xor edx, edx
mov dl, byte [ebp - 0x46]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
mov ecx, dword [ebp - 0x64]
movzx ecx, byte [ecx + 3]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 1], dl
xor edx, edx
mov dl, byte [ebp - 0x47]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
mov ecx, dword [ebp - 0x64]
movzx ecx, byte [ecx + 3]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
xor edx, edx
mov dl, byte [eax + 3]
mov ecx, 0xff
sub ecx, edx
mov edx, dword [ebp - 0x64]
movzx edx, byte [edx + 3]
imul ecx, edx
xor edx, edx
mov dl, byte [eax + 3]
shl edx, 8
add ecx, edx
shr ecx, 8
mov byte [eax + 3], cl
inc edi
inc esi
dec ebx
jne 0x528430
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x5283f4
jmp 0x528753
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x528753
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x528747
inc ebx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
shr eax, 2
add cl, al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 4]
imul edx
shr eax, 8
mov byte [ebp - 0x45], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x46], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x47], al
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0xff00ff
je 0x5286a3
mov eax, dword [ebp - 0x68]
cmp byte [eax + 3], 0x10
jbe 0x5286a3
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov al, byte [ebp - 0x45]
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x6c]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x46]
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x6c]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x47]
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x6c]
mov byte [edx], al
jmp 0x52873b
cmp byte [ebp + 0x14], 0
je 0x52873b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x40]
jge 0x52873b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x52873b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x44]
jge 0x528747
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x528747
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xac]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0xb0]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00505dac
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dl, byte [ebp - 4]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x70]
mov dl, byte [ebp - 3]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x70]
mov dl, byte [ebp - 2]
mov byte [eax], dl
inc edi
inc esi
inc dword [ebp - 0x20]
dec ebx
jne 0x52859b
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x528558
cmp byte [ebp + 8], 0
je 0x529173
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xa4]
dec edx
mov eax, dword [ebp - 0x38]
sar eax, 1
jns 0x528771
adc eax, 0
dec eax
call fcn.0042ae9c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x529173
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x24]
dec eax
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x528916
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0xff00ff
je 0x52890d
mov eax, dword [ebp - 0x74]
cmp byte [eax + 3], 0x10
jbe 0x52890d
mov eax, dword [ebp - 0x74]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
shr eax, 2
add cl, al
cmp dword [ebp + 0xc], 0
jne 0x52883c
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x24]
imul edx
cdq
idiv dword [ebp - 0x28]
shr eax, 2
mov byte [ebp - 0x48], al
jmp 0x52885f
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x24]
imul edx
cdq
idiv dword [ebp - 0x28]
shr eax, 2
xor edx, edx
mov dl, byte [ebp - 0x49]
imul edx
shr eax, 8
mov byte [ebp - 0x48], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 4]
imul edx
shr eax, 8
mov byte [ebp - 0x45], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x46], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x47], al
xor eax, eax
mov al, byte [ebp - 0x45]
mov edx, dword [ebp - 0x78]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x78]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x78]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x46]
mov edx, dword [ebp - 0x78]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x78]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x78]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x47]
mov edx, dword [ebp - 0x78]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x78]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x78]
mov byte [edx], al
inc edi
inc esi
dec ebx
jne 0x5287cc
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x52878f
jmp 0x529173
cmp dword [ebp + 0xc], 0
je 0x528c37
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x528a49
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x528fcc
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x528a38
inc ebx
mov dword [ebp - 0x20], 0
mov edi, dword [ebp - 0xb0]
add edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc0]
add esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax + 3]
xor edx, edx
mov dl, byte [ebp - 0x49]
imul edx
shr eax, 8
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 2]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 1]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
inc dword [ebp - 0x20]
dec ebx
jne 0x52898b
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x528954
jmp 0x528fcc
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x528fcc
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x528c26
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp dword [eax], 0xff00ff
je 0x528b80
mov eax, dword [ebp - 0x80]
cmp byte [eax + 3], 0x10
jbe 0x528b80
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax + 3]
xor edx, edx
mov dl, byte [ebp - 0x49]
imul edx
shr eax, 8
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x84]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x84]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x84]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x84]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x84]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x84]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x84]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x48]
imul edx
mov edx, dword [ebp - 0x84]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x84]
mov byte [edx], al
jmp 0x528c1d
cmp byte [ebp + 0x14], 0
je 0x528c1d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x40]
jge 0x528c1d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x528c1d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x44]
jge 0x528c26
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x528c26
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xac]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00505dac
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dl, byte [ebp - 4]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x88]
mov dl, byte [ebp - 3]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x88]
mov dl, byte [ebp - 2]
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x528a9b
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x528a5f
jmp 0x528fcc
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x528d9e
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x528fcc
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x528d8d
inc ebx
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x8c]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x8c]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x8c]
mov byte [edx], al
mov eax, dword [ebp - 0x90]
xor edx, edx
mov dl, byte [eax + 3]
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax + 3]
call fcn.0042af60
mov edx, dword [ebp - 0x8c]
mov byte [edx + 3], al
inc edi
inc esi
dec ebx
jne 0x528c96
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x528c5a
jmp 0x528fcc
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x528fcc
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x528fc0
inc ebx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
cmp dword [eax], 0xff00ff
je 0x528f0c
mov eax, dword [ebp - 0x94]
cmp byte [eax + 3], 0x10
jbe 0x528f0c
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x98]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x98]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x98]
mov byte [edx], al
mov eax, dword [ebp - 0x94]
xor edx, edx
mov dl, byte [eax + 3]
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + 3]
call fcn.0042af60
mov edx, dword [ebp - 0x98]
mov byte [edx + 3], al
jmp 0x528fb4
cmp byte [ebp + 0x14], 0
je 0x528fb4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x40]
jge 0x528fb4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x528fb4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x44]
jge 0x528fc0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x528fc0
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xac]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0xb0]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00505dac
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dl, byte [ebp - 4]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x9c]
mov dl, byte [ebp - 3]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x9c]
mov dl, byte [ebp - 2]
mov byte [eax], dl
inc edi
inc esi
inc dword [ebp - 0x20]
dec ebx
jne 0x528df7
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x528db4
cmp byte [ebp + 8], 0
je 0x529173
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xa4]
dec edx
mov eax, dword [ebp - 0x38]
sar eax, 1
jns 0x528fea
adc eax, 0
dec eax
call fcn.0042ae9c
mov dword [ebp - 0x28], eax
mov eax, 0xff
cdq
idiv dword [ebp - 0x38]
mov byte [ebp - 1], al
mov byte [ebp - 4], 0xff
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x529173
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x24]
dec eax
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x529161
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp dword [eax], 0xff00ff
je 0x529158
mov eax, dword [ebp - 0xa0]
cmp byte [eax + 3], 0x10
jbe 0x529158
cmp dword [ebp + 0xc], 0
jne 0x5290ae
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x24]
imul edx
cdq
idiv dword [ebp - 0x28]
xor edx, edx
mov dl, byte [ebp - 4]
imul edx
shr eax, 9
mov byte [ebp - 0x48], al
jmp 0x5290db
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x24]
imul edx
cdq
idiv dword [ebp - 0x28]
xor edx, edx
mov dl, byte [ebp - 4]
imul edx
shr eax, 9
xor edx, edx
mov dl, byte [ebp - 0x49]
imul edx
shr eax, 8
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov edx, dword [ebp - 0xa0]
movzx edx, byte [edx + 2]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov edx, dword [ebp - 0xa0]
movzx edx, byte [edx + 1]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, dword [ebp - 0xa0]
movzx edx, byte [edx]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x48]
imul edx, ecx
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x529055
mov al, byte [ebp - 1]
sub byte [ebp - 4], al
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x529018
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18