Function at 0x4ed904
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x64]
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 - 0x54]
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 0x4eee92
mov dl, 7
mov eax, dword [ebp + 0x1c]
call fcn.00430a44
lea eax, [ebp - 0x64]
mov dl, 1
call fcn.00550370
push eax
lea eax, [ebp - 0x54]
mov dl, 1
call fcn.00550370
pop edx
call fcn.00431d1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x18]
call fcn.00431d1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x18]
call fcn.00431d1c
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4eee92
lea eax, [ebp - 0x64]
mov dl, 1
call fcn.0055035c
push eax
lea eax, [ebp - 0x54]
mov dl, 1
call fcn.0055035c
pop edx
call fcn.00431d1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
call fcn.00431d1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
call fcn.00431d1c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x4eee92
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x54]
jle 0x4eda25
cmp dword [ebp - 0x54], 0
jge 0x4eda59
mov eax, dword [ebp - 0x54]
neg eax
add dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
neg eax
sub dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
call fcn.00431d1c
dec eax
mov dword [ebp - 0x1c], eax
jmp 0x4eda59
cmp dword [ebp - 0x64], 0
jge 0x4eda59
mov eax, dword [ebp - 0x64]
neg eax
add dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
neg eax
sub dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
call fcn.00431d1c
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jle 0x4eda97
cmp dword [ebp - 0x50], 0
jge 0x4edacb
mov eax, dword [ebp - 0x50]
neg eax
add dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
neg eax
sub dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x18]
call fcn.00431d1c
dec eax
mov dword [ebp - 0x18], eax
jmp 0x4edacb
cmp dword [ebp - 0x60], 0
jge 0x4edacb
mov eax, dword [ebp - 0x60]
neg eax
add dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
neg eax
sub dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x18]
call fcn.00431d1c
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
call fcn.00431d1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
call fcn.00431d1c
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0x1fffffff
je 0x4ee6f8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
xor eax, eax
mov al, byte [ebp - 0x20]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fdiv dword [0x4eee9c]
fstp qword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x1f]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fdiv dword [0x4eee9c]
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x1e]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fdiv dword [0x4eee9c]
fstp qword [ebp - 0x40]
wait
cmp dword [ebp + 0xc], 0
je 0x4edff2
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4edd5d
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4ee46d
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4edd4c
inc edi
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x54]
add ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x64]
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x26], al
xor eax, eax
mov al, byte [ebp - 0x22]
xor edx, edx
mov dl, byte [ebp - 0x23]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x24]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x25], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 2], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x38]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 1], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x40]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
inc dword [ebp - 0x10]
dec edi
jne 0x4edbb0
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4edb7b
jmp 0x4ee46d
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4ee46d
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4edfe1
inc edi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xff00ff
je 0x4edf3f
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x26], al
xor eax, eax
mov al, byte [ebp - 0x22]
xor edx, edx
mov dl, byte [ebp - 0x23]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x24]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x25], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 2], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 1], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
jmp 0x4edfd8
cmp byte [ebp + 0x14], 0
je 0x4edfd8
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 - 0x50]
add edx, dword [ebp - 0x14]
cmp eax, edx
jle 0x4edfda
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 0x4edfe1
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x14]
test eax, eax
jl 0x4edfe1
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x4edfda
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0042f954
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
call fcn.0042abb8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x20]
mov byte [eax + ebx*4 + 2], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x1f]
mov byte [eax + ebx*4 + 1], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x1e]
mov byte [eax + ebx*4], dl
inc ebx
inc esi
dec edi
jne 0x4edda7
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4edd73
jmp 0x4ee46d
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4ee1e0
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4ee46d
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x64]
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4ee1cf
inc edi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
xor eax, eax
mov al, byte [ebp - 0x22]
xor edx, edx
mov dl, byte [ebp - 0x23]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x24]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 2], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x38]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 1], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x40]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
inc ebx
inc esi
dec edi
jne 0x4ee051
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4ee015
jmp 0x4ee46d
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4ee46d
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4ee461
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
xor eax, eax
mov al, byte [ebp - 0x22]
xor edx, edx
mov dl, byte [ebp - 0x23]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x24]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x25], al
cmp dword [ebp - 0x24], 0xff00ff
je 0x4ee3b8
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 2], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x38]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 1], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 3]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x40]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
jmp 0x4ee455
cmp byte [ebp + 0x14], 0
je 0x4ee455
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 - 0x50]
add edx, dword [ebp - 0x14]
cmp eax, edx
jle 0x4ee457
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 0x4ee461
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x14]
test eax, eax
jl 0x4ee461
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x4ee457
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0042f954
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
call fcn.0042abb8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x20]
mov byte [eax + ebx*4 + 2], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x1f]
mov byte [eax + ebx*4 + 1], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x1e]
mov byte [eax + ebx*4], dl
inc ebx
inc esi
inc dword [ebp - 0x10]
dec edi
jne 0x4ee231
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4ee1f6
cmp byte [ebp + 8], 0
je 0x4eee92
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x48]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4ee493
adc eax, 0
dec eax
pop edx
call fcn.00431d1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4ee4ac
adc eax, 0
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x20], 0xff
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x4eee92
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x14]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4ee6e1
inc edi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xff00ff
je 0x4ee6d8
cmp dword [ebp + 0xc], 0
jne 0x4ee545
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x14]
imul edx
cdq
idiv dword [ebp - 0x18]
xor edx, edx
mov dl, byte [ebp - 0x20]
imul edx
shr eax, 0xa
mov byte [ebp - 0x26], al
jmp 0x4ee575
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x14]
imul edx
cdq
idiv dword [ebp - 0x18]
xor edx, edx
mov dl, byte [ebp - 0x20]
imul edx
shr eax, 0xa
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x26], al
xor eax, eax
mov al, byte [ebp - 0x22]
xor edx, edx
mov dl, byte [ebp - 0x23]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x24]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x25], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 2], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x38]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 1], al
xor eax, eax
mov al, byte [ebp - 0x26]
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x40]
call fcn.0040317c
push edx
push eax
push 0
push 0xff
call fcn.00431d24
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405f20
push edx
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
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
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
inc ebx
inc esi
dec edi
jne 0x4ee509
mov al, byte [ebp - 0x1d]
sub byte [ebp - 0x20], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4ee4d4
jmp 0x4eee92
cmp dword [ebp + 0xc], 0
je 0x4ee9ee
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4ee832
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4eecf0
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4ee821
inc edi
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x54]
add ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x64]
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x26], al
xor edx, edx
mov dl, byte [ebp - 0x22]
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx*4 + 2]
xor ecx, ecx
mov cl, al
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x26]
imul edx, ecx
and eax, 0xff
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 8]
mov byte [eax + ebx*4 + 2], dl
xor edx, edx
mov dl, byte [ebp - 0x23]
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx*4 + 1]
xor ecx, ecx
mov cl, al
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x26]
imul edx, ecx
and eax, 0xff
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 8]
mov byte [eax + ebx*4 + 1], dl
xor eax, eax
mov al, byte [ebp - 0x24]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x26]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
inc dword [ebp - 0x10]
dec edi
jne 0x4ee75a
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4ee725
jmp 0x4eecf0
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4eecf0
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4ee9dd
inc edi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xff00ff
je 0x4ee93b
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x26], al
xor eax, eax
mov al, byte [ebp - 0x22]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 2]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x26]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 2], al
xor eax, eax
mov al, byte [ebp - 0x23]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 1]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x26]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 1], al
xor eax, eax
mov al, byte [ebp - 0x24]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4]
sub eax, edx
xor edx, edx
mov dl, byte [ebp - 0x26]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
jmp 0x4ee9d4
cmp byte [ebp + 0x14], 0
je 0x4ee9d4
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 - 0x50]
add edx, dword [ebp - 0x14]
cmp eax, edx
jle 0x4ee9d6
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 0x4ee9dd
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x14]
test eax, eax
jl 0x4ee9dd
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x4ee9d6
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0042f954
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
call fcn.0042abb8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x20]
mov byte [eax + ebx*4 + 2], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x1f]
mov byte [eax + ebx*4 + 1], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x1e]
mov byte [eax + ebx*4], dl
inc ebx
inc esi
dec edi
jne 0x4ee87c
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4ee848
jmp 0x4eecf0
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x4eeb17
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4eecf0
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4eeb06
inc edi
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 2]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 2]
sub eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + esi*4 + 3]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 2], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 1]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 1]
sub eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + esi*4 + 3]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 1], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4]
sub eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + esi*4 + 3]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [eax + esi*4 + 3]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 3]
call fcn.00431e08
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 3], al
inc ebx
inc esi
dec edi
jne 0x4eea45
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4eea11
jmp 0x4eecf0
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4eecf0
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4eece4
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xff00ff
je 0x4eec3b
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 2]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 2]
sub eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + esi*4 + 3]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 2], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4 + 1]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 1]
sub eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + esi*4 + 3]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 1], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi*4]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4]
sub eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + esi*4 + 3]
imul edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4], al
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [eax + esi*4 + 3]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4 + 3]
call fcn.00431e08
mov edx, dword [ebp - 8]
mov byte [edx + ebx*4 + 3], al
jmp 0x4eecd8
cmp byte [ebp + 0x14], 0
je 0x4eecd8
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 - 0x50]
add edx, dword [ebp - 0x14]
cmp eax, edx
jle 0x4eecda
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 0x4eece4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x14]
test eax, eax
jl 0x4eece4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x4eecda
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0042f954
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
call fcn.0042abb8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x20]
mov byte [eax + ebx*4 + 2], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x1f]
mov byte [eax + ebx*4 + 1], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x1e]
mov byte [eax + ebx*4], dl
inc ebx
inc esi
inc dword [ebp - 0x10]
dec edi
jne 0x4eeb68
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4eeb2d
cmp byte [ebp + 8], 0
je 0x4eee92
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x48]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4eed16
adc eax, 0
dec eax
pop edx
call fcn.00431d1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x20], 0xff
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x4eee92
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042fac4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x14]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.0042fac4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
test edi, edi
jl 0x4eee80
inc edi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xff00ff
je 0x4eee77
cmp dword [ebp + 0xc], 0
jne 0x4eedc1
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x14]
imul edx
cdq
idiv dword [ebp - 0x18]
xor edx, edx
mov dl, byte [ebp - 0x20]
imul edx
shr eax, 0xa
mov byte [ebp - 0x26], al
jmp 0x4eedf1
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x14]
imul edx
cdq
idiv dword [ebp - 0x18]
xor edx, edx
mov dl, byte [ebp - 0x20]
imul edx
shr eax, 0xa
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x26], al
xor edx, edx
mov dl, byte [ebp - 0x22]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + ebx*4 + 2]
sub edx, ecx
xor eax, eax
mov al, byte [ebp - 0x26]
imul edx, eax
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + ebx*4 + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov ecx, dword [ebp - 8]
mov byte [ecx + ebx*4 + 2], dl
xor edx, edx
mov dl, byte [ebp - 0x23]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + ebx*4 + 1]
sub edx, ecx
imul edx, eax
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + ebx*4 + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov ecx, dword [ebp - 8]
mov byte [ecx + ebx*4 + 1], dl
xor edx, edx
mov dl, byte [ebp - 0x24]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + ebx*4]
sub edx, ecx
imul edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx*4]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 8]
mov byte [eax + ebx*4], dl
inc ebx
inc esi
dec edi
jne 0x4eed85
mov al, byte [ebp - 0x1d]
sub byte [ebp - 0x20], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x4eed50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18