Function at 0x4d517c
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 0x4d65dc
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.004299f8
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 0x4d521e
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 0x4d5228
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.00529148
push eax
lea eax, [ebp - 0xb4]
mov dl, 1
call fcn.00529148
pop edx
call fcn.0042ab54
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x2c]
call fcn.0042ab54
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
call fcn.0042ab54
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x4d65dc
lea eax, [ebp - 0xc4]
mov dl, 1
call fcn.00529134
push eax
lea eax, [ebp - 0xb4]
mov dl, 1
call fcn.00529134
pop edx
call fcn.0042ab54
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.0042ab54
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x30]
call fcn.0042ab54
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x4d65dc
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xb4]
jle 0x4d5367
cmp dword [ebp - 0xb4], 0
jge 0x4d5328
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.0042ab54
dec eax
mov dword [ebp - 0x30], eax
jmp 0x4d5367
cmp dword [ebp - 0xc4], 0
jge 0x4d5367
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.0042ab54
dec eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xb0]
jle 0x4d53f9
cmp dword [ebp - 0xb0], 0
jge 0x4d53ba
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.0042ab54
dec eax
mov dword [ebp - 0x2c], eax
jmp 0x4d53f9
cmp dword [ebp - 0xc0], 0
jge 0x4d53f9
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.0042ab54
dec eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.0042ab54
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x30]
call fcn.0042ab54
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.004ccc70
test al, al
je 0x4d65dc
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004ccc70
test al, al
je 0x4d65dc
cmp dword [ebp + 0x10], 0x1fffffff
je 0x4d5d7b
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.0042ac18
mov byte [ebp - 0x4c], al
xor edx, edx
mov dl, byte [ebp - 0x4c]
xor eax, eax
mov al, byte [ebp - 6]
call fcn.0042ac18
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 0x4d5825
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4d5612
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4d5ba7
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 0x4d5601
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 0x4d5505
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d54ce
jmp 0x4d5ba7
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4d5ba7
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 0x4d5814
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 0x4d577a
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 3], 0x10
jbe 0x4d577a
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 0x4d580b
cmp byte [ebp + 0x14], 0
je 0x4d580b
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 0x4d580b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4d580b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4d5814
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x4d5814
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.004e2c80
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 0x4d5664
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d5628
jmp 0x4d5ba7
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4d5996
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4d5ba7
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 0x4d5985
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 0x4d5884
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d5848
jmp 0x4d5ba7
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4d5ba7
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 0x4d5b9b
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 0x4d5af7
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 3], 0x10
jbe 0x4d5af7
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 0x4d5b8f
cmp byte [ebp + 0x14], 0
je 0x4d5b8f
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 0x4d5b8f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4d5b8f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4d5b9b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x4d5b9b
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.004e2c80
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 0x4d59ef
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d59ac
cmp byte [ebp + 8], 0
je 0x4d65dc
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa8]
dec edx
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x4d5bc5
adc eax, 0
dec eax
call fcn.0042ab54
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x4d65dc
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 0x4d5d6a
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 0x4d5d61
mov eax, dword [ebp - 0x78]
cmp byte [eax + 3], 0x10
jbe 0x4d5d61
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 0x4d5c90
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 0x4d5cb3
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 0x4d5c20
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d5be3
jmp 0x4d65dc
cmp dword [ebp + 0xc], 0
je 0x4d60a0
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4d5e9d
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4d6435
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 0x4d5e8c
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 0x4d5ddf
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d5da8
jmp 0x4d6435
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4d6435
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 0x4d608f
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 0x4d5fe9
mov eax, dword [ebp - 0x84]
cmp byte [eax + 3], 0x10
jbe 0x4d5fe9
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 0x4d6086
cmp byte [ebp + 0x14], 0
je 0x4d6086
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 0x4d6086
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4d6086
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4d608f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x4d608f
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.004e2c80
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 0x4d5eef
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d5eb3
jmp 0x4d6435
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4d6207
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4d6435
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 0x4d61f6
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.0042ac18
mov edx, dword [ebp - 0x90]
mov byte [edx + 3], al
inc edi
inc esi
dec ebx
jne 0x4d60ff
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d60c3
jmp 0x4d6435
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x4d6435
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 0x4d6429
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 0x4d6375
mov eax, dword [ebp - 0x98]
cmp byte [eax + 3], 0x10
jbe 0x4d6375
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.0042ac18
mov edx, dword [ebp - 0x9c]
mov byte [edx + 3], al
jmp 0x4d641d
cmp byte [ebp + 0x14], 0
je 0x4d641d
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 0x4d641d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4d641d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4d6429
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x4d6429
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.004e2c80
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 0x4d6260
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d621d
cmp byte [ebp + 8], 0
je 0x4d65dc
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa8]
dec edx
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x4d6453
adc eax, 0
dec eax
call fcn.0042ab54
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 0x4d65dc
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 0x4d65ca
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 0x4d65c1
mov eax, dword [ebp - 0xa4]
cmp byte [eax + 3], 0x10
jbe 0x4d65c1
cmp dword [ebp + 0xc], 0
jne 0x4d6517
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 0x4d6544
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 0x4d64be
mov al, byte [ebp - 5]
sub byte [ebp - 8], al
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x4d6481
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18