Function at 0x4eb644
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc4]
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 - 0xb4]
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 dword [ebp - 4], ecx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x4ecaa4
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 - 0x4d], dl
mov dl, 7
mov eax, ebx
call fcn.0042a254
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x38], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
je 0x4eb6e6
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x48], eax
jmp 0x4eb6f0
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xc4]
mov dl, 1
call fcn.005173e0
push eax
lea eax, [ebp - 0xb4]
mov dl, 1
call fcn.005173e0
pop edx
call fcn.0042b3b0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x2c]
call fcn.0042b3b0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
call fcn.0042b3b0
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x4ecaa4
lea eax, [ebp - 0xc4]
mov dl, 1
call fcn.005173cc
push eax
lea eax, [ebp - 0xb4]
mov dl, 1
call fcn.005173cc
pop edx
call fcn.0042b3b0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.0042b3b0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x30]
call fcn.0042b3b0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x4ecaa4
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xb4]
jle 0x4eb82f
cmp dword [ebp - 0xb4], 0
jge 0x4eb7f0
mov eax, dword [ebp - 0xb4]
neg eax
add dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
neg eax
sub dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x30]
call fcn.0042b3b0
dec eax
mov dword [ebp - 0x30], eax
jmp 0x4eb82f
cmp dword [ebp - 0xc4], 0
jge 0x4eb82f
mov eax, dword [ebp - 0xc4]
neg eax
add dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc4]
neg eax
sub dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.0042b3b0
dec eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xb0]
jle 0x4eb8c1
cmp dword [ebp - 0xb0], 0
jge 0x4eb882
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.0042b3b0
dec eax
mov dword [ebp - 0x2c], eax
jmp 0x4eb8c1
cmp dword [ebp - 0xc0], 0
jge 0x4eb8c1
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.0042b3b0
dec eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.0042b3b0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x30]
call fcn.0042b3b0
dec eax
mov dword [ebp - 0x30], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x64]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004e24c4
test al, al
je 0x4ecaa4
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004e24c4
test al, al
je 0x4ecaa4
cmp dword [ebp + 0x10], 0x1fffffff
je 0x4ec243
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
xor edx, edx
mov dl, byte [ebp - 7]
xor eax, eax
mov al, byte [ebp - 8]
call fcn.0042b474
mov byte [ebp - 0x4c], al
xor edx, edx
mov dl, byte [ebp - 0x4c]
xor eax, eax
mov al, byte [ebp - 6]
call fcn.0042b474
mov dl, 0xff
sub dl, al
mov byte [ebp - 0x4c], dl
mov al, byte [ebp - 0x4c]
add byte [ebp - 8], al
mov al, byte [ebp - 0x4c]
add byte [ebp - 7], al
mov al, byte [ebp - 0x4c]
add byte [ebp - 6], al
cmp dword [ebp + 0xc], 0
je 0x4ebced
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4ebada
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4ec06f
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ebac9
inc ebx
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0xb4]
add edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc4]
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 3]
xor edx, edx
mov dl, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], 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 - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
xor edx, edx
mov dl, byte [ebp - 0x49]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 - 0x4a]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 - 0x4b]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 - 0x24]
dec ebx
jne 0x4eb9cd
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4eb996
jmp 0x4ec06f
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4ec06f
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ebcdc
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0xff00ff
je 0x4ebc42
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 3], 0x10
jbe 0x4ebc42
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax + 3]
xor edx, edx
mov dl, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
shr eax, 2
add cl, al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x60], eax
xor eax, eax
mov al, byte [ebp - 0x49]
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x60]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x4a]
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x60]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x4b]
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x60]
mov byte [edx], al
jmp 0x4ebcd3
cmp byte [ebp + 0x14], 0
je 0x4ebcd3
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jge 0x4ebcd3
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4ebcd3
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4ebcdc
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x4ebcdc
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.004fb380
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dl, byte [ebp - 8]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x64]
mov dl, byte [ebp - 7]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x64]
mov dl, byte [ebp - 6]
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x4ebb2c
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ebaf0
jmp 0x4ec06f
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4ebe5e
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4ec06f
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ebe4d
inc ebx
mov eax, dword [ebp - 0x10]
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 - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
xor edx, edx
mov dl, byte [ebp - 0x49]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
mov ecx, dword [ebp - 0x68]
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 - 0x4a]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
mov ecx, dword [ebp - 0x68]
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 - 0x4b]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
mov ecx, dword [ebp - 0x68]
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 - 0x68]
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 0x4ebd4c
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ebd10
jmp 0x4ec06f
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4ec06f
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ec063
inc ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
shr eax, 2
add cl, al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0xff00ff
je 0x4ebfbf
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 3], 0x10
jbe 0x4ebfbf
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x70], eax
xor eax, eax
mov al, byte [ebp - 0x49]
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x70]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x4a]
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x70]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x4b]
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x70]
mov byte [edx], al
jmp 0x4ec057
cmp byte [ebp + 0x14], 0
je 0x4ec057
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jge 0x4ec057
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4ec057
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4ec063
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x4ec063
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.004fb380
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dl, byte [ebp - 8]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x74]
mov dl, byte [ebp - 7]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x74]
mov dl, byte [ebp - 6]
mov byte [eax], dl
inc edi
inc esi
inc dword [ebp - 0x24]
dec ebx
jne 0x4ebeb7
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ebe74
cmp byte [ebp + 8], 0
je 0x4ecaa4
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa8]
dec edx
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x4ec08d
adc eax, 0
dec eax
call fcn.0042b3b0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x4ecaa4
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x28]
dec eax
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ec232
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
cmp dword [eax], 0xff00ff
je 0x4ec229
mov eax, dword [ebp - 0x78]
cmp byte [eax + 3], 0x10
jbe 0x4ec229
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
shr eax, 2
add cl, al
cmp dword [ebp + 0xc], 0
jne 0x4ec158
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
imul edx
cdq
idiv dword [ebp - 0x2c]
shr eax, 2
mov byte [ebp - 0x4c], al
jmp 0x4ec17b
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
imul edx
cdq
idiv dword [ebp - 0x2c]
shr eax, 2
xor edx, edx
mov dl, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
xor eax, eax
mov al, byte [ebp - 0x49]
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x7c]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x4a]
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x7c]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x4b]
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x7c]
mov byte [edx], al
inc edi
inc esi
dec ebx
jne 0x4ec0e8
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ec0ab
jmp 0x4ecaa4
cmp dword [ebp + 0xc], 0
je 0x4ec568
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4ec365
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4ec8fd
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ec354
inc ebx
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0xb4]
add edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc4]
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax + 3]
xor edx, edx
mov dl, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + 2]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 - 0x80]
movzx edx, byte [edx + 1]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 - 0x80]
movzx edx, byte [edx]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 - 0x24]
dec ebx
jne 0x4ec2a7
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ec270
jmp 0x4ec8fd
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4ec8fd
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ec557
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp dword [eax], 0xff00ff
je 0x4ec4b1
mov eax, dword [ebp - 0x84]
cmp byte [eax + 3], 0x10
jbe 0x4ec4b1
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax + 3]
xor edx, edx
mov dl, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x88]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x88]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x88]
mov byte [edx], al
jmp 0x4ec54e
cmp byte [ebp + 0x14], 0
je 0x4ec54e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jge 0x4ec54e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4ec54e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4ec557
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x4ec557
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.004fb380
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dl, byte [ebp - 8]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x8c]
mov dl, byte [ebp - 7]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x8c]
mov dl, byte [ebp - 6]
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x4ec3b7
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ec37b
jmp 0x4ec8fd
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4ec6cf
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4ec8fd
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ec6be
inc ebx
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x90]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x90]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x90]
mov byte [edx], al
mov eax, dword [ebp - 0x94]
xor edx, edx
mov dl, byte [eax + 3]
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax + 3]
call fcn.0042b474
mov edx, dword [ebp - 0x90]
mov byte [edx + 3], al
inc edi
inc esi
dec ebx
jne 0x4ec5c7
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ec58b
jmp 0x4ec8fd
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4ec8fd
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4ec8f1
inc ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp dword [eax], 0xff00ff
je 0x4ec83d
mov eax, dword [ebp - 0x98]
cmp byte [eax + 3], 0x10
jbe 0x4ec83d
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x9c]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x9c]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x9c]
mov byte [edx], al
mov eax, dword [ebp - 0x98]
xor edx, edx
mov dl, byte [eax + 3]
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax + 3]
call fcn.0042b474
mov edx, dword [ebp - 0x9c]
mov byte [edx + 3], al
jmp 0x4ec8e5
cmp byte [ebp + 0x14], 0
je 0x4ec8e5
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jge 0x4ec8e5
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4ec8e5
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4ec8f1
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x4ec8f1
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.004fb380
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dl, byte [ebp - 8]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0xa0]
mov dl, byte [ebp - 7]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0xa0]
mov dl, byte [ebp - 6]
mov byte [eax], dl
inc edi
inc esi
inc dword [ebp - 0x24]
dec ebx
jne 0x4ec728
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ec6e5
cmp byte [ebp + 8], 0
je 0x4ecaa4
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa8]
dec edx
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x4ec91b
adc eax, 0
dec eax
call fcn.0042b3b0
mov dword [ebp - 0x2c], eax
mov eax, 0xff
cdq
idiv dword [ebp - 0x3c]
mov byte [ebp - 5], al
mov byte [ebp - 8], 0xff
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x4ecaa4
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x28]
dec eax
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x4eca92
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cmp dword [eax], 0xff00ff
je 0x4eca89
mov eax, dword [ebp - 0xa4]
cmp byte [eax + 3], 0x10
jbe 0x4eca89
cmp dword [ebp + 0xc], 0
jne 0x4ec9df
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
imul edx
cdq
idiv dword [ebp - 0x2c]
xor edx, edx
mov dl, byte [ebp - 8]
imul edx
shr eax, 9
mov byte [ebp - 0x4c], al
jmp 0x4eca0c
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
imul edx
cdq
idiv dword [ebp - 0x2c]
xor edx, edx
mov dl, byte [ebp - 8]
imul edx
shr eax, 9
xor edx, edx
mov dl, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov edx, dword [ebp - 0xa4]
movzx edx, byte [edx + 2]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 - 0xa4]
movzx edx, byte [edx + 1]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 - 0xa4]
movzx edx, byte [edx]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x4c]
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 0x4ec986
mov al, byte [ebp - 5]
sub byte [ebp - 8], al
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4ec949
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18