Function at 0x568b70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x68]
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 - 0x58]
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 0x56a00f
mov dl, 7
mov eax, dword [ebp + 0x1c]
call fcn.00460c38
lea eax, [ebp - 0x68]
mov dl, 1
call fcn.00594f4c
push eax
lea eax, [ebp - 0x58]
mov dl, 1
call fcn.00594f4c
pop edx
call fcn.0040e468
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x54]
mov eax, edi
call fcn.0040e468
mov edi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x64]
mov eax, edi
call fcn.0040e468
dec eax
mov edi, eax
test edi, edi
jl 0x56a00f
lea eax, [ebp - 0x68]
mov dl, 1
call fcn.00594f38
push eax
lea eax, [ebp - 0x58]
mov dl, 1
call fcn.00594f38
pop edx
call fcn.0040e468
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.0040e468
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x14]
call fcn.0040e468
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x56a00f
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x58]
jle 0x568c8a
cmp dword [ebp - 0x58], 0
jge 0x568cbe
mov eax, dword [ebp - 0x58]
neg eax
add dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x14]
call fcn.0040e468
dec eax
mov dword [ebp - 0x14], eax
jmp 0x568cbe
cmp dword [ebp - 0x68], 0
jge 0x568cbe
mov eax, dword [ebp - 0x68]
neg eax
add dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.0040e468
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x54]
jle 0x568cf9
cmp dword [ebp - 0x54], 0
jge 0x568d2a
mov eax, dword [ebp - 0x54]
neg eax
add dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
neg eax
sub edi, eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x64]
mov eax, edi
call fcn.0040e468
dec eax
mov edi, eax
jmp 0x568d2a
cmp dword [ebp - 0x64], 0
jge 0x568d2a
mov eax, dword [ebp - 0x64]
neg eax
add dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
neg eax
sub edi, eax
xor eax, eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x54]
mov eax, edi
call fcn.0040e468
dec eax
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.0040e468
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x14]
call fcn.0040e468
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0x1fffffff
je 0x5698dc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fld dword [0x56a018]
call fcn.0040490c
fstp qword [ebp - 0x30]
wait
movzx eax, byte [ebp - 0x1b]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fld dword [0x56a018]
call fcn.0040490c
fstp qword [ebp - 0x38]
wait
movzx eax, byte [ebp - 0x1a]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fld dword [0x56a018]
call fcn.0040490c
fstp qword [ebp - 0x40]
wait
cmp dword [ebp + 0xc], 0
je 0x56921d
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x568faa
test edi, edi
jl 0x569674
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x568f99
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 0x58]
add ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1d]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x30]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x38]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x40]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4], al
inc dword [ebp - 0xc]
dec dword [ebp - 0x48]
jne 0x568e1a
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x568de3
jmp 0x569674
test edi, edi
jl 0x569674
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x56920c
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x56916c
movzx eax, byte [ebp - 0x1d]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x30]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x30]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x30]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4], al
jmp 0x5691ff
cmp byte [ebp + 0x14], 0
je 0x5691ff
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x569203
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
cmp eax, edx
jle 0x56920c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x56920c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x569203
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0045f8dc
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1b]
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x1a]
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x568ff6
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x568fbd
jmp 0x569674
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x5693fc
test edi, edi
jl 0x569674
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x70]
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5693eb
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x30]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 2], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x38]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 1], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x40]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x56927e
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x56923d
jmp 0x569674
test edi, edi
jl 0x569674
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x569668
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
cmp dword [ebp - 0x20], 0xff00ff
je 0x5695c1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x30]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 2], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x38]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 1], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x40]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4], al
jmp 0x569658
cmp byte [ebp + 0x14], 0
je 0x569658
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x56965c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
cmp eax, edx
jle 0x569668
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x569668
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x56965c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0045f8dc
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x58]
add edx, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1b]
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x1a]
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
inc dword [ebp - 0xc]
dec dword [ebp - 0x48]
jne 0x56944f
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x56940f
cmp byte [ebp + 8], 0
je 0x56a00f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x4c]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x56969a
adc eax, 0
dec eax
pop edx
call fcn.0040e468
mov edi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x5696b2
adc eax, 0
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x19], al
mov byte [ebp - 0x1c], 0xff
test edi, edi
jle 0x56a00f
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5698c4
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x5698b7
cmp dword [ebp + 0xc], 0
jne 0x56974c
movzx eax, byte [ebp - 0x1d]
mov edx, edi
sub edx, dword [ebp - 0x10]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x1c]
imul edx
shr eax, 0xa
mov byte [ebp - 0x22], al
jmp 0x569778
movzx eax, byte [ebp - 0x1d]
mov edx, edi
sub edx, dword [ebp - 0x10]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x1c]
imul edx
shr eax, 0xa
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x30]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x38]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul qword [ebp - 0x40]
call fcn.00404780
push edx
push eax
push 0
push 0xff
call fcn.0040e470
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040814c
push edx
push eax
movzx eax, byte [esi + 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 byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x569711
movzx eax, byte [ebp - 0x19]
sub byte [ebp - 0x1c], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5696d7
jmp 0x56a00f
cmp dword [ebp + 0xc], 0
je 0x569b9a
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x5699fd
test edi, edi
jl 0x569e8b
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5699ec
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 0x58]
add ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1d]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx edx, byte [ebp - 0x1e]
movzx eax, byte [esi + ebx*4 + 2]
movzx ecx, al
sub edx, ecx
movzx ecx, byte [ebp - 0x22]
imul edx, ecx
movzx eax, al
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + ebx*4 + 2], dl
movzx edx, byte [ebp - 0x1f]
movzx eax, byte [esi + ebx*4 + 1]
movzx ecx, al
sub edx, ecx
movzx ecx, byte [ebp - 0x22]
imul edx, ecx
movzx eax, al
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + ebx*4 + 1], dl
movzx eax, byte [ebp - 0x20]
movzx edx, byte [esi + ebx*4]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4], al
inc dword [ebp - 0xc]
dec dword [ebp - 0x48]
jne 0x56993d
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x569906
jmp 0x569e8b
test edi, edi
jl 0x569e8b
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x569b89
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x569ae9
movzx eax, byte [ebp - 0x1d]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [esi + ebx*4 + 2]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1f]
movzx edx, byte [esi + ebx*4 + 1]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x20]
movzx edx, byte [esi + ebx*4]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4], al
jmp 0x569b7c
cmp byte [ebp + 0x14], 0
je 0x569b7c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x569b80
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
cmp eax, edx
jle 0x569b89
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x569b89
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x569b80
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0045f8dc
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1b]
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x1a]
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x569a49
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x569a10
jmp 0x569e8b
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x569cbc
test edi, edi
jl 0x569e8b
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x569cab
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 2]
movzx edx, byte [esi + ebx*4 + 2]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 2], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 1]
movzx edx, byte [esi + ebx*4 + 1]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 1], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4]
movzx edx, byte [esi + ebx*4]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx edx, byte [eax + edx*4 + 3]
movzx eax, byte [esi + ebx*4 + 3]
call fcn.0040e530
mov byte [esi + ebx*4 + 3], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x569bf3
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x569bba
jmp 0x569e8b
test edi, edi
jl 0x569e8b
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x569e7f
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x569dd8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 2]
movzx edx, byte [esi + ebx*4 + 2]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 2], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 1]
movzx edx, byte [esi + ebx*4 + 1]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 1], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4]
movzx edx, byte [esi + ebx*4]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx edx, byte [eax + edx*4 + 3]
movzx eax, byte [esi + ebx*4 + 3]
call fcn.0040e530
mov byte [esi + ebx*4 + 3], al
jmp 0x569e6f
cmp byte [ebp + 0x14], 0
je 0x569e6f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x569e73
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
cmp eax, edx
jle 0x569e7f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x569e7f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x569e73
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0045f8dc
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x58]
add edx, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1b]
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x1a]
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
inc dword [ebp - 0xc]
dec dword [ebp - 0x48]
jne 0x569d0f
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x569ccf
cmp byte [ebp + 8], 0
je 0x56a00f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x4c]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x569eb1
adc eax, 0
dec eax
pop edx
call fcn.0040e468
mov edi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x19], al
mov byte [ebp - 0x1c], 0xff
test edi, edi
jle 0x56a00f
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045fa60
mov esi, eax
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.0045fa60
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x569ffc
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x569fef
cmp dword [ebp + 0xc], 0
jne 0x569f5c
movzx eax, byte [ebp - 0x1d]
mov edx, edi
sub edx, dword [ebp - 0x10]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x1c]
imul edx
shr eax, 0xa
mov byte [ebp - 0x22], al
jmp 0x569f88
movzx eax, byte [ebp - 0x1d]
mov edx, edi
sub edx, dword [ebp - 0x10]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x1c]
imul edx
shr eax, 0xa
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx edx, byte [ebp - 0x1e]
movzx ecx, byte [esi + ebx*4 + 2]
sub edx, ecx
movzx eax, byte [ebp - 0x22]
imul edx, eax
movzx ecx, byte [esi + ebx*4 + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + ebx*4 + 2], dl
movzx edx, byte [ebp - 0x1f]
movzx ecx, byte [esi + ebx*4 + 1]
sub edx, ecx
imul edx, eax
movzx ecx, byte [esi + ebx*4 + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + ebx*4 + 1], dl
movzx edx, byte [ebp - 0x20]
movzx ecx, byte [esi + ebx*4]
sub edx, ecx
imul edx, eax
movzx eax, byte [esi + ebx*4]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + ebx*4], dl
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x569f21
movzx eax, byte [ebp - 0x19]
sub byte [ebp - 0x1c], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x569ee7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18