Function at 0x4eee88
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xbc]
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 - 0xac]
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 0x4f02ca
mov dl, 7
mov eax, ebx
call fcn.0042c4b8
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x34], eax
mov eax, esi
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 0x4eef0e
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 0x4eef18
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xbc]
mov dl, 1
call fcn.0053d9b0
push eax
lea eax, [ebp - 0xac]
mov dl, 1
call fcn.0053d9b0
pop edx
call fcn.0042d688
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x28]
call fcn.0042d688
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x28]
call fcn.0042d688
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x4f02ca
lea eax, [ebp - 0xbc]
mov dl, 1
call fcn.0053d99c
push eax
lea eax, [ebp - 0xac]
mov dl, 1
call fcn.0053d99c
pop edx
call fcn.0042d688
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x2c]
call fcn.0042d688
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x2c]
call fcn.0042d688
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x4f02ca
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xac]
jle 0x4ef057
cmp dword [ebp - 0xac], 0
jge 0x4ef018
mov eax, dword [ebp - 0xac]
neg eax
add dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
neg eax
sub dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x2c]
call fcn.0042d688
dec eax
mov dword [ebp - 0x2c], eax
jmp 0x4ef057
cmp dword [ebp - 0xbc], 0
jge 0x4ef057
mov eax, dword [ebp - 0xbc]
neg eax
add dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xbc]
neg eax
sub dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x2c]
call fcn.0042d688
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xa8]
jle 0x4ef0e9
cmp dword [ebp - 0xa8], 0
jge 0x4ef0aa
mov eax, dword [ebp - 0xa8]
neg eax
add dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa8]
neg eax
sub dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x28]
call fcn.0042d688
dec eax
mov dword [ebp - 0x28], eax
jmp 0x4ef0e9
cmp dword [ebp - 0xb8], 0
jge 0x4ef0e9
mov eax, dword [ebp - 0xb8]
neg eax
add dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xb8]
neg eax
sub dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x28]
call fcn.0042d688
dec eax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x2c]
call fcn.0042d688
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x2c]
call fcn.0042d688
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.004e6744
test al, al
je 0x4f02ca
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004e6744
test al, al
je 0x4f02ca
cmp dword [ebp + 0x10], 0x1fffffff
je 0x4efa84
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.0042d74c
mov byte [ebp - 0x30], al
xor edx, edx
mov dl, byte [ebp - 0x30]
xor eax, eax
mov al, byte [ebp - 2]
call fcn.0042d74c
mov dl, 0xff
sub dl, al
mov byte [ebp - 0x30], dl
mov al, byte [ebp - 0x30]
add byte [ebp - 4], al
mov al, byte [ebp - 0x30]
add byte [ebp - 3], al
mov al, byte [ebp - 0x30]
add byte [ebp - 2], al
cmp dword [ebp + 0xc], 0
je 0x4ef524
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4ef309
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x4ef8a6
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
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 0x4ef2f8
inc ebx
mov dword [ebp - 0x20], 0
mov edi, dword [ebp - 0xac]
add edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0xbc]
add esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax + 3]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x50]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x50]
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 - 0x2d], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x2e], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
xor edx, edx
mov dl, byte [ebp - 0x2d]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 - 0x2e]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 - 0x2f]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 0x4ef1f4
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4ef1bd
jmp 0x4ef8a6
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x4ef8a6
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x4ef513
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0xff00ff
je 0x4ef479
mov eax, dword [ebp - 0x54]
cmp byte [eax + 3], 0x10
jbe 0x4ef479
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 3]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x30], 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 - 0x2d], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x2e], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x58], eax
xor eax, eax
mov al, byte [ebp - 0x2d]
mov edx, dword [ebp - 0x58]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x58]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x58]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x2e]
mov edx, dword [ebp - 0x58]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x58]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x58]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x2f]
mov edx, dword [ebp - 0x58]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x58]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x58]
mov byte [edx], al
jmp 0x4ef50a
cmp byte [ebp + 0x14], 0
je 0x4ef50a
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jge 0x4ef50a
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4ef50a
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4ef513
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x4ef513
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xa8]
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.0048c880
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dl, byte [ebp - 4]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x5c]
mov dl, byte [ebp - 3]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x5c]
mov dl, byte [ebp - 2]
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x4ef35b
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4ef31f
jmp 0x4ef8a6
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4ef695
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x4ef8a6
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x4ef684
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x60]
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 - 0x2d], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x2e], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
xor edx, edx
mov dl, byte [ebp - 0x2d]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
mov ecx, dword [ebp - 0x60]
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 - 0x2e]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
mov ecx, dword [ebp - 0x60]
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 - 0x2f]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
mov ecx, dword [ebp - 0x60]
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 - 0x60]
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 0x4ef583
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4ef547
jmp 0x4ef8a6
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x4ef8a6
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x4ef89a
inc ebx
mov dword [ebp - 0x20], 0
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 - 0x2d], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x2e], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0xff00ff
je 0x4ef7f6
mov eax, dword [ebp - 0x64]
cmp byte [eax + 3], 0x10
jbe 0x4ef7f6
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x68], eax
xor eax, eax
mov al, byte [ebp - 0x2d]
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x64]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x68]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x2e]
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x64]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x68]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x2f]
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x64]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x68]
mov byte [edx], al
jmp 0x4ef88e
cmp byte [ebp + 0x14], 0
je 0x4ef88e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jge 0x4ef88e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4ef88e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4ef89a
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x4ef89a
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0xac]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0048c880
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dl, byte [ebp - 4]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x6c]
mov dl, byte [ebp - 3]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x6c]
mov dl, byte [ebp - 2]
mov byte [eax], dl
inc edi
inc esi
inc dword [ebp - 0x20]
dec ebx
jne 0x4ef6ee
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4ef6ab
cmp byte [ebp + 8], 0
je 0x4f02ca
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa0]
dec edx
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x4ef8c4
adc eax, 0
dec eax
call fcn.0042d688
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x4f02ca
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0xb0]
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 - 0xa0]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x4efa73
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0xff00ff
je 0x4efa6a
mov eax, dword [ebp - 0x70]
cmp byte [eax + 3], 0x10
jbe 0x4efa6a
mov eax, dword [ebp - 0x70]
xor ecx, ecx
mov cl, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
shr eax, 2
add cl, al
cmp dword [ebp + 0xc], 0
jne 0x4ef98f
mov eax, dword [ebp - 0x70]
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 - 0x30], al
jmp 0x4ef9bc
mov eax, dword [ebp - 0x70]
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 edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
mov byte [ebp - 0x30], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 4]
imul edx
shr eax, 8
mov byte [ebp - 0x2d], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 3]
imul edx
shr eax, 8
mov byte [ebp - 0x2e], al
xor eax, eax
mov al, cl
xor edx, edx
mov dl, byte [ebp - 2]
imul edx
shr eax, 8
mov byte [ebp - 0x2f], al
xor eax, eax
mov al, byte [ebp - 0x2d]
mov edx, dword [ebp - 0x74]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x74]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x74]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x2e]
mov edx, dword [ebp - 0x74]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x74]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x74]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x2f]
mov edx, dword [ebp - 0x74]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x74]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x74]
mov byte [edx], al
inc edi
inc esi
dec ebx
jne 0x4ef91f
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4ef8e2
jmp 0x4f02ca
cmp dword [ebp + 0xc], 0
je 0x4efd86
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4efbae
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x4f011b
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
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 0x4efb9d
inc ebx
mov dword [ebp - 0x20], 0
mov edi, dword [ebp - 0xac]
add edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0xbc]
add esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax + 3]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov edx, dword [ebp - 0x78]
movzx edx, byte [edx + 2]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 - 0x78]
movzx edx, byte [edx + 1]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 - 0x78]
movzx edx, byte [edx]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 0x4efae8
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4efab1
jmp 0x4f011b
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x4f011b
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x4efd75
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 0xff00ff
je 0x4efccf
mov eax, dword [ebp - 0x7c]
cmp byte [eax + 3], 0x10
jbe 0x4efccf
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax + 3]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x80]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x80]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x30]
imul edx
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x80]
mov byte [edx], al
jmp 0x4efd6c
cmp byte [ebp + 0x14], 0
je 0x4efd6c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jge 0x4efd6c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4efd6c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4efd75
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x4efd75
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xa8]
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.0048c880
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dl, byte [ebp - 4]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x84]
mov dl, byte [ebp - 3]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x84]
mov dl, byte [ebp - 2]
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x4efc00
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4efbc4
jmp 0x4f011b
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4efeed
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x4f011b
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x4efedc
inc ebx
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx + 3]
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 - 0x8c]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx + 3]
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 - 0x8c]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x8c]
movzx edx, byte [edx + 3]
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
mov eax, dword [ebp - 0x8c]
xor edx, edx
mov dl, byte [eax + 3]
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax + 3]
call fcn.0042d74c
mov edx, dword [ebp - 0x88]
mov byte [edx + 3], al
inc edi
inc esi
dec ebx
jne 0x4efde5
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4efda9
jmp 0x4f011b
mov eax, dword [ebp - 0x28]
test eax, eax
jl 0x4f011b
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x4f010f
inc ebx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
cmp dword [eax], 0xff00ff
je 0x4f005b
mov eax, dword [ebp - 0x90]
cmp byte [eax + 3], 0x10
jbe 0x4f005b
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x94]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x94]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x94]
mov byte [edx], al
mov eax, dword [ebp - 0x90]
xor edx, edx
mov dl, byte [eax + 3]
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax + 3]
call fcn.0042d74c
mov edx, dword [ebp - 0x94]
mov byte [edx + 3], al
jmp 0x4f0103
cmp byte [ebp + 0x14], 0
je 0x4f0103
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jge 0x4f0103
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x4f0103
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x4f010f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x4f010f
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0xac]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0048c880
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dl, byte [ebp - 4]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x98]
mov dl, byte [ebp - 3]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x98]
mov dl, byte [ebp - 2]
mov byte [eax], dl
inc edi
inc esi
inc dword [ebp - 0x20]
dec ebx
jne 0x4eff46
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4eff03
cmp byte [ebp + 8], 0
je 0x4f02ca
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa0]
dec edx
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x4f0139
adc eax, 0
dec eax
call fcn.0042d688
mov dword [ebp - 0x28], eax
mov eax, 0xff
cdq
idiv dword [ebp - 0x3c]
mov byte [ebp - 1], al
mov byte [ebp - 4], 0xff
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x4f02ca
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0xb0]
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 - 0xa0]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jl 0x4f02b8
inc ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
cmp dword [eax], 0xff00ff
je 0x4f02af
mov eax, dword [ebp - 0x9c]
cmp byte [eax + 3], 0x10
jbe 0x4f02af
cmp dword [ebp + 0xc], 0
jne 0x4f01fd
mov eax, dword [ebp - 0x9c]
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 - 0x30], al
jmp 0x4f0232
mov eax, dword [ebp - 0x9c]
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 edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4]
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 2]
xor ecx, ecx
mov cl, byte [eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 - 0x9c]
movzx edx, byte [edx + 1]
xor ecx, ecx
mov cl, byte [eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 - 0x9c]
movzx edx, byte [edx]
xor ecx, ecx
mov cl, byte [eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x30]
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 0x4f01a4
mov al, byte [ebp - 1]
sub byte [ebp - 4], al
inc dword [ebp - 0x24]
dec dword [ebp - 0x4c]
jne 0x4f0167
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18