Function at 0x4b7878
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x60]
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 - 0x50]
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
cmp dword [ebp + 0x1c], 0
je 0x4b8de3
mov dl, 7
mov eax, dword [ebp + 0x1c]
call fcn.00428c70
lea eax, [ebp - 0x60]
mov dl, 1
call fcn.004dc7d8
push eax
lea eax, [ebp - 0x50]
mov dl, 1
call fcn.004dc7d8
pop edx
call fcn.00429e24
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x4c]
mov eax, ebx
call fcn.00429e24
mov ebx, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x5c]
mov eax, ebx
call fcn.00429e24
dec eax
mov ebx, eax
test ebx, ebx
jl 0x4b8de3
lea eax, [ebp - 0x60]
mov dl, 1
call fcn.004dc7c4
push eax
lea eax, [ebp - 0x50]
mov dl, 1
call fcn.004dc7c4
pop edx
call fcn.00429e24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.00429e24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.00429e24
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x4b8de3
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jle 0x4b7992
cmp dword [ebp - 0x50], 0
jge 0x4b79c6
mov eax, dword [ebp - 0x50]
neg eax
add dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.00429e24
dec eax
mov dword [ebp - 0x14], eax
jmp 0x4b79c6
cmp dword [ebp - 0x60], 0
jge 0x4b79c6
mov eax, dword [ebp - 0x60]
neg eax
add dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.00429e24
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x4c]
jle 0x4b7a01
cmp dword [ebp - 0x4c], 0
jge 0x4b7a32
mov eax, dword [ebp - 0x4c]
neg eax
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
neg eax
sub ebx, eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x5c]
mov eax, ebx
call fcn.00429e24
dec eax
mov ebx, eax
jmp 0x4b7a32
cmp dword [ebp - 0x5c], 0
jge 0x4b7a32
mov eax, dword [ebp - 0x5c]
neg eax
add dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x5c]
neg eax
sub ebx, eax
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x4c]
mov eax, ebx
call fcn.00429e24
dec eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.00429e24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.00429e24
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0x1fffffff
je 0x4b867c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
xor eax, eax
mov al, byte [ebp - 0x18]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fld dword [0x4b8dec]
call fcn.0040310c
fstp qword [ebp - 0x28]
wait
xor eax, eax
mov al, byte [ebp - 0x17]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fld dword [0x4b8dec]
call fcn.0040310c
fstp qword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x16]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fld dword [0x4b8dec]
call fcn.0040310c
fstp qword [ebp - 0x38]
wait
cmp dword [ebp + 0xc], 0
je 0x4b7f6a
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x10], 0
jne 0x4b7cd4
test ebx, ebx
jl 0x4b83e7
inc ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b7cc3
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 0x50]
add ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x60]
add edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x1e], al
xor eax, eax
mov al, byte [ebp - 0x1a]
xor edx, edx
mov dl, byte [ebp - 0x1b]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x1c]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x1d], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x28]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x30]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x38]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx], al
inc dword [ebp - 0xc]
dec dword [ebp - 0x40]
jne 0x4b7b25
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b7aee
jmp 0x4b83e7
test ebx, ebx
jl 0x4b83e7
inc ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b7f59
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xff00ff
je 0x4b7eb5
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x1e], al
xor eax, eax
mov al, byte [ebp - 0x1a]
xor edx, edx
mov dl, byte [ebp - 0x1b]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x1c]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x1d], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x28]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x28]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x28]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx], al
jmp 0x4b7f4e
cmp byte [ebp + 0x14], 0
je 0x4b7f4e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x4b7f50
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
cmp eax, edx
jle 0x4b7f59
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x4b7f59
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x4b7f50
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00427c60
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
call fcn.0042375c
mov dword [ebp - 0x18], eax
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x18]
mov byte [esi + eax + 2], dl
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x17]
mov byte [esi + eax + 1], dl
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x16]
mov byte [esi + eax], dl
inc ebx
inc edi
dec dword [ebp - 0x40]
jne 0x4b7d1d
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b7ce7
jmp 0x4b83e7
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x10], 0
jne 0x4b8159
test ebx, ebx
jl 0x4b83e7
inc ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x64]
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b8148
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp - 0x1a]
xor edx, edx
mov dl, byte [ebp - 0x1b]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x1c]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x28]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 2], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x30]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 1], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x38]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx], al
inc ebx
inc edi
dec dword [ebp - 0x40]
jne 0x4b7fc8
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b7f8a
jmp 0x4b83e7
test ebx, ebx
jl 0x4b83e7
inc ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b83db
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp - 0x1a]
xor edx, edx
mov dl, byte [ebp - 0x1b]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x1c]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x1d], al
cmp dword [ebp - 0x1c], 0xff00ff
je 0x4b8330
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x28]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 2], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x30]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 1], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x38]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx], al
jmp 0x4b83cd
cmp byte [ebp + 0x14], 0
je 0x4b83cd
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x4b83cf
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
cmp eax, edx
jle 0x4b83db
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x4b83db
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x4b83cf
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00427c60
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x50]
add edx, dword [ebp - 0xc]
call fcn.0042375c
mov dword [ebp - 0x18], eax
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x18]
mov byte [esi + eax + 2], dl
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x17]
mov byte [esi + eax + 1], dl
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x16]
mov byte [esi + eax], dl
inc ebx
inc edi
inc dword [ebp - 0xc]
dec dword [ebp - 0x40]
jne 0x4b81a9
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b816c
cmp byte [ebp + 8], 0
je 0x4b8de3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x44]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4b840d
adc eax, 0
dec eax
pop edx
call fcn.00429e24
mov ebx, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4b8425
adc eax, 0
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x15], al
mov byte [ebp - 0x18], 0xff
test ebx, ebx
jle 0x4b8de3
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b8665
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xff00ff
je 0x4b865a
cmp dword [ebp + 0xc], 0
jne 0x4b84c7
xor eax, eax
mov al, byte [ebp - 0x19]
mov ecx, 3
xor edx, edx
div ecx
xor edx, edx
mov dl, byte [ebp - 0x18]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
xor edx, edx
call fcn.00429ee8
mov byte [ebp - 0x1e], al
jmp 0x4b84f7
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x12c
cdq
idiv ecx
xor edx, edx
mov dl, byte [ebp - 0x18]
imul edx
mov ecx, 0xff
cdq
idiv ecx
xor edx, edx
call fcn.00429ee8
mov byte [ebp - 0x1e], al
xor eax, eax
mov al, byte [ebp - 0x1a]
xor edx, edx
mov dl, byte [ebp - 0x1b]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x1c]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x1d], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x28]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x30]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x1e]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x38]
call fcn.00402ba0
push edx
push eax
push 0
push 0xff
call fcn.00429e2c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040577c
push edx
push eax
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx], al
inc ebx
inc edi
dec dword [ebp - 0x40]
jne 0x4b8481
mov al, byte [ebp - 0x15]
sub byte [ebp - 0x18], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b844a
jmp 0x4b8de3
cmp dword [ebp + 0xc], 0
je 0x4b8960
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x10], 0
jne 0x4b87a9
test ebx, ebx
jl 0x4b8c32
inc ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b8798
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 0x50]
add ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x60]
add edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x1e], al
xor edx, edx
mov dl, byte [ebp - 0x1a]
lea eax, [ebx + ebx*2]
xor ecx, ecx
mov cl, byte [esi + eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
lea ecx, [ebx + ebx*2]
movzx ecx, byte [esi + ecx + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax + 2], dl
xor edx, edx
mov dl, byte [ebp - 0x1b]
xor ecx, ecx
mov cl, byte [esi + eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
xor ecx, ecx
mov cl, byte [esi + eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax + 1], dl
xor edx, edx
mov dl, byte [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [esi + eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
xor ecx, ecx
mov cl, byte [esi + eax]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax], dl
inc dword [ebp - 0xc]
dec dword [ebp - 0x40]
jne 0x4b86dd
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b86a6
jmp 0x4b8c32
test ebx, ebx
jl 0x4b8c32
inc ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b894f
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xff00ff
je 0x4b88ab
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x1e], al
xor edx, edx
mov dl, byte [ebp - 0x1a]
lea eax, [ebx + ebx*2]
xor ecx, ecx
mov cl, byte [esi + eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
lea ecx, [ebx + ebx*2]
movzx ecx, byte [esi + ecx + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax + 2], dl
xor edx, edx
mov dl, byte [ebp - 0x1b]
xor ecx, ecx
mov cl, byte [esi + eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
lea ecx, [ebx + ebx*2]
movzx ecx, byte [esi + ecx + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax + 1], dl
xor edx, edx
mov dl, byte [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [esi + eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
lea ecx, [ebx + ebx*2]
movzx ecx, byte [esi + ecx]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax], dl
jmp 0x4b8944
cmp byte [ebp + 0x14], 0
je 0x4b8944
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x4b8946
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
cmp eax, edx
jle 0x4b894f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x4b894f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x4b8946
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00427c60
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
call fcn.0042375c
mov dword [ebp - 0x18], eax
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x18]
mov byte [esi + eax + 2], dl
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x17]
mov byte [esi + eax + 1], dl
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x16]
mov byte [esi + eax], dl
inc ebx
inc edi
dec dword [ebp - 0x40]
jne 0x4b87f2
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b87bc
jmp 0x4b8c32
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x10], 0
jne 0x4b8a75
test ebx, ebx
jl 0x4b8c32
inc ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x64]
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b8a64
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 2]
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx + 2]
sub eax, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi*4 + 3]
imul edx
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 2], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 1]
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx + 1]
sub eax, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi*4 + 3]
imul edx
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 1], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4]
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx]
sub eax, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi*4 + 3]
imul edx
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx], al
inc ebx
inc edi
dec dword [ebp - 0x40]
jne 0x4b89be
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b8980
jmp 0x4b8c32
test ebx, ebx
jl 0x4b8c32
inc ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b8c26
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xff00ff
je 0x4b8b7b
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 2]
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx + 2]
sub eax, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi*4 + 3]
imul edx
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 2], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4 + 1]
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx + 1]
sub eax, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi*4 + 3]
imul edx
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx + 1], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi*4]
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx]
sub eax, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi*4 + 3]
imul edx
lea edx, [ebx + ebx*2]
movzx edx, byte [esi + edx]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
lea edx, [ebx + ebx*2]
mov byte [esi + edx], al
jmp 0x4b8c18
cmp byte [ebp + 0x14], 0
je 0x4b8c18
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x4b8c1a
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
cmp eax, edx
jle 0x4b8c26
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x4b8c26
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x4b8c1a
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00427c60
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x50]
add edx, dword [ebp - 0xc]
call fcn.0042375c
mov dword [ebp - 0x18], eax
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x18]
mov byte [esi + eax + 2], dl
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x17]
mov byte [esi + eax + 1], dl
lea eax, [ebx + ebx*2]
mov dl, byte [ebp - 0x16]
mov byte [esi + eax], dl
inc ebx
inc edi
inc dword [ebp - 0xc]
dec dword [ebp - 0x40]
jne 0x4b8ac5
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b8a88
cmp byte [ebp + 8], 0
je 0x4b8de3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x44]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4b8c58
adc eax, 0
dec eax
pop edx
call fcn.00429e24
mov ebx, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4b8c70
adc eax, 0
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x15], al
mov byte [ebp - 0x18], 0xff
test ebx, ebx
jle 0x4b8de3
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov esi, eax
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.00427dd0
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4b8dd1
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xff00ff
je 0x4b8dc6
cmp dword [ebp + 0xc], 0
jne 0x4b8d12
xor eax, eax
mov al, byte [ebp - 0x19]
mov ecx, 3
xor edx, edx
div ecx
xor edx, edx
mov dl, byte [ebp - 0x18]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
xor edx, edx
call fcn.00429ee8
mov byte [ebp - 0x1e], al
jmp 0x4b8d42
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x12c
cdq
idiv ecx
xor edx, edx
mov dl, byte [ebp - 0x18]
imul edx
mov ecx, 0xff
cdq
idiv ecx
xor edx, edx
call fcn.00429ee8
mov byte [ebp - 0x1e], al
xor edx, edx
mov dl, byte [ebp - 0x1a]
lea eax, [ebx + ebx*2]
xor ecx, ecx
mov cl, byte [esi + eax + 2]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
lea ecx, [ebx + ebx*2]
movzx ecx, byte [esi + ecx + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax + 2], dl
xor edx, edx
mov dl, byte [ebp - 0x1b]
xor ecx, ecx
mov cl, byte [esi + eax + 1]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
lea ecx, [ebx + ebx*2]
movzx ecx, byte [esi + ecx + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax + 1], dl
xor edx, edx
mov dl, byte [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [esi + eax]
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1e]
imul edx, ecx
lea ecx, [ebx + ebx*2]
movzx ecx, byte [esi + ecx]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + eax], dl
inc ebx
inc edi
dec dword [ebp - 0x40]
jne 0x4b8ccc
mov al, byte [ebp - 0x15]
sub byte [ebp - 0x18], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4b8c95
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18