Function at 0x9846e0
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x9f8274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.009bd4c8
cdq
mov ecx, 0x1a
idiv ecx
mov dword [ebp - 0x1e8], edx
call fcn.009bd4c8
cdq
mov ecx, 0x1a
idiv ecx
mov dword [ebp - 0x1ec], edx
mov edx, dword [ebp - 0x1ec]
push edx
mov eax, dword [ebp - 0x1e8]
push eax
call fcn.0098d9b0
add esp, 8
mov dword [ebp - 0x1fc], eax
xorps xmm0, xmm0
movsd qword [ebp - 0x1d0], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x1c4], xmm0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1c8], 1
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x13e], 0
mov byte [ebp - 0x142], 0
mov byte [ebp - 0x13f], 0
mov byte [ebp - 0x140], 0
mov byte [ebp - 0x144], 0
mov byte [ebp - 0x15d], 0
mov byte [ebp - 0x143], 0
mov byte [ebp - 0x141], 0
mov byte [ebp - 0x149], 0
xorps xmm0, xmm0
movsd qword [ebp - 0x1d0], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x1c4], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x1c4], xmm0
jmp 0x98488d
movsd xmm0, qword [ebp - 0x1c4]
addsd xmm0, qword [0x9d9048]
movsd qword [ebp - 0x1c4], xmm0
movsd xmm0, qword [0x9eddb0]
comisd xmm0, xmmword [ebp - 0x1c4]
jbe 0x98493e
movsd xmm0, qword [0x9edae0]
mulsd xmm0, qword [ebp - 0x1c4]
mulsd xmm0, qword [ebp - 0x1c4]
movsd xmm1, qword [ebp - 0x1c4]
mulsd xmm1, qword [ebp - 0x1c4]
subsd xmm0, xmm1
movsd xmm1, qword [0x9d9e10]
mulsd xmm1, qword [ebp - 0x1c4]
mulsd xmm1, qword [ebp - 0x1c4]
addsd xmm1, qword [0x9eda90]
divsd xmm0, xmm1
addsd xmm0, qword [ebp - 0x1d0]
movsd qword [ebp - 0x1d0], xmm0
movsd xmm0, qword [ebp - 0x1d0]
comisd xmm0, xmmword [0x9e5960]
jbe 0x984939
movsd xmm0, qword [0x9eda50]
mulsd xmm0, qword [ebp - 0x1c4]
movsd xmm1, qword [ebp - 0x1d0]
subsd xmm1, xmm0
movsd qword [ebp - 0x1d0], xmm1
jmp 0x984875
xorps xmm0, xmm0
comisd xmm0, xmmword [ebp - 0x1d0]
jbe 0x98499f
retf 0xd02d
mov dword [ebp - 0x1f0], 0x98494b
mov dword [ebp - 0x1f4], 0x984981
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 0x15d], 0x1d
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x148], 0
jmp 0x984a01
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0x100
jae 0x984a22
mov ecx, dword [ebp - 0x148]
mov dl, byte [ebp - 0x148]
mov byte [ebp + ecx - 0x104], dl
jmp 0x9849f2
mov dword [ebp - 0x1b4], 0
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x148], 0xff
jmp 0x984a4e
mov eax, dword [ebp - 0x148]
sub eax, 1
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jbe 0x984cc8
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1c8], 1
mov dword [ebp - 0x198], 0
mov ecx, dword [ebp - 0x1c8]
cmp ecx, dword [ebp - 0x148]
jae 0x984a99
mov edx, dword [ebp - 0x1c8]
lea eax, [edx + edx + 1]
mov dword [ebp - 0x1c8], eax
jmp 0x984a79
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1dc], ecx
cmp dword [ebp - 0x1dc], 3
ja case.default.0x984ab8
mov edx, dword [ebp - 0x1dc]
jmp dword [edx*4 + 0x986000]
movzx eax, byte [ebp - 0x144]
movzx ebx, byte [ebp + eax - 0x104]
movsd xmm0, qword [ebp - 0x1d0]
call fcn.009b6e60
and eax, 0xff
add ebx, eax
mov byte [ebp - 0x144], bl
jmp 0x984ba1
movzx ecx, byte [ebp - 0x144]
movzx ebx, byte [ebp + ecx - 0x104]
movsd xmm0, qword [ebp - 0x1d0]
call fcn.009b6e60
shr eax, 8
and eax, 0xff
add ebx, eax
mov byte [ebp - 0x144], bl
jmp 0x984ba1
movzx edx, byte [ebp - 0x144]
movzx ebx, byte [ebp + edx - 0x104]
movsd xmm0, qword [ebp - 0x1d0]
call fcn.009b6e60
shr eax, 0x10
and eax, 0xff
add ebx, eax
mov byte [ebp - 0x144], bl
jmp 0x984ba1
movzx eax, byte [ebp - 0x144]
movzx ebx, byte [ebp + eax - 0x104]
movsd xmm0, qword [ebp - 0x1d0]
call fcn.009b6e60
shr eax, 0x18
and eax, 0xff
add ebx, eax
mov byte [ebp - 0x144], bl
jmp 0x984ba1
movzx ecx, byte [ebp - 0x144]
movzx edx, byte [ebp + ecx - 0x104]
mov eax, dword [ebp - 0x1f8]
add eax, dword [ebp - 0x1b4]
movzx ecx, byte [eax - 4]
add edx, ecx
mov byte [ebp - 0x144], dl
mov edx, dword [ebp - 0x1b4]
add edx, 1
mov dword [ebp - 0x1b4], edx
movzx eax, byte [ebp - 0x15d]
cmp dword [ebp - 0x1b4], eax
jb 0x984bdf
mov dword [ebp - 0x1b4], 0
movzx ecx, byte [ebp - 0x15d]
movzx edx, byte [ebp - 0x144]
add edx, ecx
mov byte [ebp - 0x144], dl
movzx eax, byte [ebp - 0x144]
and eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x1d4]
add ecx, 1
mov dword [ebp - 0x1d4], ecx
cmp dword [ebp - 0x1d4], 0xb
jbe 0x984c1e
mov eax, dword [ebp - 0x198]
xor edx, edx
div dword [ebp - 0x148]
mov dword [ebp - 0x198], edx
mov edx, dword [ebp - 0x198]
cmp edx, dword [ebp - 0x148]
ja 0x984a99
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0x198]
je 0x984cc3
mov ecx, dword [ebp - 0x198]
movzx edx, byte [ebp + ecx - 0x104]
mov eax, dword [ebp - 0x148]
movzx ecx, byte [ebp + eax - 0x104]
xor ecx, edx
mov edx, dword [ebp - 0x148]
mov byte [ebp + edx - 0x104], cl
mov eax, dword [ebp - 0x148]
movzx ecx, byte [ebp + eax - 0x104]
mov edx, dword [ebp - 0x198]
movzx eax, byte [ebp + edx - 0x104]
xor eax, ecx
mov ecx, dword [ebp - 0x198]
mov byte [ebp + ecx - 0x104], al
mov edx, dword [ebp - 0x198]
movzx eax, byte [ebp + edx - 0x104]
mov ecx, dword [ebp - 0x148]
movzx edx, byte [ebp + ecx - 0x104]
xor edx, eax
mov eax, dword [ebp - 0x148]
mov byte [ebp + eax - 0x104], dl
jmp 0x984a3f
mov ecx, 1
shl ecx, 0
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x13d], dl
mov eax, 1
imul ecx, eax, 3
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x13e], dl
mov eax, 1
imul ecx, eax, 5
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x142], dl
mov eax, 1
imul ecx, eax, 7
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x13f], dl
movzx eax, byte [ebp - 0x144]
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp - 0x140], cl
mov dword [ebp - 0x1d8], 0x36
cmp dword [ebp - 0x1d8], 2
jle 0x985f31
mov edx, dword [ebp - 0x1d8]
and edx, 1
jne 0x985f31
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x18c], 0
mov ecx, dword [ebp - 0x148]
shl ecx, 1
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x164], 0
mov edx, dword [ebp - 0x19c]
add edx, dword [ebp - 0x18c]
movzx eax, byte [edx]
add eax, dword [ebp - 0x164]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], 0
mov ecx, dword [ebp - 0x168]
add ecx, 0xc4
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x190], 0
mov edx, dword [ebp - 0x148]
lea eax, [edx + edx + 1]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x16c], 0
mov ecx, dword [ebp - 0x19c]
add ecx, dword [ebp - 0x190]
movzx edx, byte [ecx]
add edx, dword [ebp - 0x16c]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
add eax, 0x26
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x174], 0
movss xmm0, dword [0x9ede80]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [0x9ede44]
movss dword [ebp - 0x150], xmm0
movss xmm0, dword [0x9ede0c]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [ebp - 0x150]
mulss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x150], xmm0
movss xmm0, dword [ebp - 0x150]
mulss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x150], xmm0
movss xmm0, dword [ebp - 0x150]
addss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x150], xmm0
movss xmm0, dword [ebp - 0x150]
comiss xmm0, dword [ebp - 0x154]
jbe 0x984f22
movss xmm0, dword [ebp - 0x150]
subss xmm0, dword [ebp - 0x158]
movss dword [ebp - 0x150], xmm0
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebp - 0x168]
add ecx, dword [ebp - 0x174]
mov dword [ebp - 0x174], ecx
movss xmm0, dword [ebp - 0x154]
addss xmm0, dword [ebp - 0x150]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [ebp - 0x150]
subss xmm0, dword [ebp - 0x158]
movss dword [ebp - 0x150], xmm0
jmp 0x985055
movss xmm0, dword [ebp - 0x154]
mulss xmm0, dword [ebp - 0x150]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [ebp - 0x150]
subss xmm0, dword [ebp - 0x158]
movss dword [ebp - 0x150], xmm0
movss xmm0, dword [ebp - 0x158]
addss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [ebp - 0x154]
mulss xmm0, dword [ebp - 0x158]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [ebp - 0x154]
divss xmm0, dword [ebp - 0x158]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [ebp - 0x158]
addss xmm0, dword [ebp - 0x150]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [ebp - 0x150]
comiss xmm0, dword [ebp - 0x154]
jbe 0x98500d
movss xmm0, dword [ebp - 0x150]
divss xmm0, dword [ebp - 0x158]
movss dword [ebp - 0x150], xmm0
movss xmm0, dword [ebp - 0x158]
divss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [ebp - 0x158]
mulss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x158], xmm0
jmp 0x985055
movss xmm0, dword [ebp - 0x154]
addss xmm0, dword [ebp - 0x158]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [ebp - 0x158]
addss xmm0, dword [ebp - 0x150]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [ebp - 0x150]
mulss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x150], xmm0
mov dword [ebp - 0x178], 0
mov edx, dword [ebp - 0x16c]
sub edx, dword [ebp - 0x170]
add edx, dword [ebp - 0x178]
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x174]
shl eax, 4
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x188], 0
mov edx, dword [ebp - 0x194]
or edx, dword [ebp - 0x184]
mov dword [ebp - 0x188], edx
mov byte [ebp - 0x143], 0
mov al, byte [ebp - 0x188]
mov byte [ebp - 0x143], al
mov byte [ebp - 0x141], 0
movzx ecx, byte [ebp - 0x140]
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x141], dl
movzx eax, byte [ebp - 0x13d]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x13e]
add edx, ecx
mov byte [ebp - 0x13e], dl
mov al, byte [ebp - 0x13d]
add al, 1
mov byte [ebp - 0x13d], al
movzx ecx, byte [ebp - 0x13e]
movzx edx, byte [ebp - 0x140]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x13f]
movzx edx, byte [ebp - 0x13e]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x13d]
movzx edx, byte [ebp - 0x13f]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x13d]
mov dl, byte [ebp - 0x141]
mov byte [ebp + ecx - 0x104], dl
movzx eax, byte [ebp - 0x141]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x142]
add edx, ecx
mov byte [ebp - 0x142], dl
movzx eax, byte [ebp - 0x143]
movzx ecx, byte [ebp - 0x13e]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x13d]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
and edx, 0xff
movzx edx, byte [ebp + edx - 0x104]
xor eax, edx
movzx ecx, byte [ebp - 0x13f]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x140]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
movzx ecx, byte [ebp - 0x142]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
and edx, 0xff
movzx edx, byte [ebp + edx - 0x104]
movzx ecx, byte [ebp + edx - 0x104]
xor eax, ecx
mov byte [ebp - 0x13f], al
mov dl, byte [ebp - 0x143]
mov byte [ebp - 0x140], dl
mov al, byte [ebp - 0x13f]
mov byte [ebp - 0x149], al
cmp dword [ebp - 0x148], 0
jbe 0x98525f
movsx cx, byte [ebp - 0x149]
mov edx, dword [ebp - 0x148]
mov word [ebp + edx*2 - 0x13e], cx
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x15c]
add ecx, 1
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x148]
shl edx, 1
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x19c]
add eax, dword [ebp - 0x18c]
movzx ecx, byte [eax]
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], 0xc4
mov edx, dword [ebp - 0x148]
lea eax, [edx + edx + 1]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x19c]
add ecx, dword [ebp - 0x190]
movzx edx, byte [ecx]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], 0x26
mov eax, dword [ebp - 0x164]
sub eax, dword [ebp - 0x168]
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x16c]
sub ecx, dword [ebp - 0x170]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x174]
shl edx, 4
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x194]
or ecx, dword [ebp - 0x184]
mov dword [ebp - 0x188], ecx
mov dl, byte [ebp - 0x188]
mov byte [ebp - 0x143], dl
movzx eax, byte [ebp - 0x140]
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp - 0x141], cl
movzx edx, byte [ebp - 0x13d]
movzx eax, byte [ebp + edx - 0x104]
movzx ecx, byte [ebp - 0x13e]
add ecx, eax
mov byte [ebp - 0x13e], cl
mov dl, byte [ebp - 0x13d]
add dl, 1
mov byte [ebp - 0x13d], dl
movzx eax, byte [ebp - 0x13e]
movzx ecx, byte [ebp - 0x140]
mov dl, byte [ebp + eax - 0x104]
mov byte [ebp + ecx - 0x104], dl
movzx eax, byte [ebp - 0x13f]
movzx ecx, byte [ebp - 0x13e]
mov dl, byte [ebp + eax - 0x104]
mov byte [ebp + ecx - 0x104], dl
movzx eax, byte [ebp - 0x13d]
movzx ecx, byte [ebp - 0x13f]
mov dl, byte [ebp + eax - 0x104]
mov byte [ebp + ecx - 0x104], dl
movzx eax, byte [ebp - 0x13d]
mov cl, byte [ebp - 0x141]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x141]
movzx eax, byte [ebp + edx - 0x104]
movzx ecx, byte [ebp - 0x142]
add ecx, eax
mov byte [ebp - 0x142], cl
movzx edx, byte [ebp - 0x143]
movzx eax, byte [ebp - 0x13e]
movzx ecx, byte [ebp + eax - 0x104]
movzx eax, byte [ebp - 0x13d]
movzx eax, byte [ebp + eax - 0x104]
add ecx, eax
and ecx, 0xff
movzx ecx, byte [ebp + ecx - 0x104]
xor edx, ecx
movzx eax, byte [ebp - 0x13f]
movzx ecx, byte [ebp + eax - 0x104]
movzx eax, byte [ebp - 0x140]
movzx eax, byte [ebp + eax - 0x104]
add ecx, eax
movzx eax, byte [ebp - 0x142]
movzx eax, byte [ebp + eax - 0x104]
add ecx, eax
and ecx, 0xff
movzx ecx, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp + ecx - 0x104]
xor edx, eax
mov byte [ebp - 0x13f], dl
mov cl, byte [ebp - 0x143]
mov byte [ebp - 0x140], cl
mov dl, byte [ebp - 0x13f]
mov byte [ebp - 0x149], dl
cmp dword [ebp - 0x148], 0
jbe 0x9854ba
movsx ax, byte [ebp - 0x149]
mov ecx, dword [ebp - 0x148]
mov word [ebp + ecx*2 - 0x13e], ax
mov edx, dword [ebp - 0x15c]
add edx, 0xc
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x1a8], eax
jmp 0x9854e9
mov ecx, dword [ebp - 0x1a8]
add ecx, 1
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x1a8]
cmp edx, dword [ebp - 0x15c]
jge 0x9859f9
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
shl ecx, 1
mov dword [ebp - 0x18c], ecx
mov edx, dword [ebp - 0x19c]
add edx, dword [ebp - 0x18c]
movzx eax, byte [edx]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], 0xc4
mov ecx, dword [ebp - 0x148]
lea edx, [ecx + ecx + 1]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x19c]
add eax, dword [ebp - 0x190]
movzx ecx, byte [eax]
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], 0x26
mov edx, dword [ebp - 0x164]
sub edx, dword [ebp - 0x168]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x16c]
sub eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x174]
shl ecx, 4
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x194]
or eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov cl, byte [ebp - 0x188]
mov byte [ebp - 0x143], cl
movzx edx, byte [ebp - 0x140]
mov al, byte [ebp + edx - 0x104]
mov byte [ebp - 0x141], al
movsd xmm0, qword [0x9e18d0]
movsd qword [ebp - 0x1a4], xmm0
movsd xmm0, qword [0x9edcd0]
movsd qword [ebp - 0x1b0], xmm0
movsd xmm0, qword [0x9edc30]
movsd qword [ebp - 0x1bc], xmm0
movsd xmm0, qword [0x9edb90]
movsd qword [ebp - 0x180], xmm0
movsd xmm0, qword [ebp - 0x1bc]
mulsd xmm0, qword [ebp - 0x180]
movsd qword [ebp - 0x1bc], xmm0
movsd xmm0, qword [ebp - 0x1a4]
mulsd xmm0, qword [ebp - 0x180]
movsd qword [ebp - 0x1a4], xmm0
movsd xmm0, qword [ebp - 0x1b0]
subsd xmm0, qword [ebp - 0x180]
movsd qword [ebp - 0x1b0], xmm0
movsd xmm0, qword [ebp - 0x1bc]
mulsd xmm0, qword [ebp - 0x180]
movsd qword [ebp - 0x1bc], xmm0
movsd xmm0, qword [ebp - 0x1bc]
comisd xmm0, xmmword [ebp - 0x180]
jbe 0x98571f
movsd xmm0, qword [ebp - 0x1a4]
addsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x1a4], xmm0
movzx ecx, byte [ebp - 0x13d]
movzx edx, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp - 0x13e]
add eax, edx
mov byte [ebp - 0x13e], al
mov cl, byte [ebp - 0x13d]
add cl, 1
mov byte [ebp - 0x13d], cl
movsd xmm0, qword [ebp - 0x1bc]
addsd xmm0, qword [ebp - 0x180]
movsd qword [ebp - 0x1bc], xmm0
movsd xmm0, qword [ebp - 0x1a4]
mulsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x1a4], xmm0
movsd xmm0, qword [ebp - 0x180]
addsd xmm0, qword [ebp - 0x1a4]
movsd qword [ebp - 0x180], xmm0
jmp 0x9858b3
movsd xmm0, qword [ebp - 0x180]
divsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x180], xmm0
movsd xmm0, qword [ebp - 0x180]
subsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x180], xmm0
movsd xmm0, qword [ebp - 0x1a4]
subsd xmm0, qword [ebp - 0x1bc]
movsd qword [ebp - 0x1a4], xmm0
movsd xmm0, qword [ebp - 0x180]
mulsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x180], xmm0
movsd xmm0, qword [ebp - 0x1a4]
addsd xmm0, qword [ebp - 0x1bc]
movsd qword [ebp - 0x1a4], xmm0
movsd xmm0, qword [ebp - 0x1a4]
addsd xmm0, qword [ebp - 0x1bc]
movsd qword [ebp - 0x1a4], xmm0
movsd xmm0, qword [ebp - 0x180]
addsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x180], xmm0
movsd xmm0, qword [ebp - 0x1b0]
mulsd xmm0, qword [ebp - 0x180]
movsd qword [ebp - 0x1b0], xmm0
movsd xmm0, qword [ebp - 0x1bc]
comisd xmm0, xmmword [ebp - 0x1a4]
jbe 0x985853
movsd xmm0, qword [ebp - 0x1a4]
addsd xmm0, qword [ebp - 0x1bc]
movsd qword [ebp - 0x1a4], xmm0
movsd xmm0, qword [ebp - 0x1b0]
mulsd xmm0, qword [ebp - 0x180]
movsd qword [ebp - 0x1b0], xmm0
movsd xmm0, qword [ebp - 0x180]
addsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x180], xmm0
movsd xmm0, qword [ebp - 0x180]
subsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x180], xmm0
jmp 0x9858b3
movsd xmm0, qword [ebp - 0x1a4]
addsd xmm0, qword [ebp - 0x1bc]
movsd qword [ebp - 0x1a4], xmm0
movsd xmm0, qword [ebp - 0x1b0]
addsd xmm0, qword [ebp - 0x180]
movsd qword [ebp - 0x1b0], xmm0
movsd xmm0, qword [ebp - 0x180]
mulsd xmm0, qword [ebp - 0x1b0]
movsd qword [ebp - 0x180], xmm0
movsd xmm0, qword [ebp - 0x1bc]
mulsd xmm0, qword [ebp - 0x1a4]
movsd qword [ebp - 0x1bc], xmm0
movzx edx, byte [ebp - 0x13e]
movzx eax, byte [ebp - 0x140]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x13f]
movzx eax, byte [ebp - 0x13e]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x13d]
movzx eax, byte [ebp - 0x13f]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x13d]
mov al, byte [ebp - 0x141]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x141]
movzx edx, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp - 0x142]
add eax, edx
mov byte [ebp - 0x142], al
movzx ecx, byte [ebp - 0x143]
movzx edx, byte [ebp - 0x13e]
movzx eax, byte [ebp + edx - 0x104]
movzx edx, byte [ebp - 0x13d]
movzx edx, byte [ebp + edx - 0x104]
add eax, edx
and eax, 0xff
movzx eax, byte [ebp + eax - 0x104]
xor ecx, eax
movzx edx, byte [ebp - 0x13f]
movzx eax, byte [ebp + edx - 0x104]
movzx edx, byte [ebp - 0x140]
movzx edx, byte [ebp + edx - 0x104]
add eax, edx
movzx edx, byte [ebp - 0x142]
movzx edx, byte [ebp + edx - 0x104]
add eax, edx
and eax, 0xff
movzx eax, byte [ebp + eax - 0x104]
movzx edx, byte [ebp + eax - 0x104]
xor ecx, edx
mov byte [ebp - 0x13f], cl
mov al, byte [ebp - 0x143]
mov byte [ebp - 0x140], al
mov cl, byte [ebp - 0x13f]
mov byte [ebp - 0x149], cl
cmp dword [ebp - 0x148], 0
jbe 0x9859f4
movsx dx, byte [ebp - 0x149]
mov eax, dword [ebp - 0x148]
mov word [ebp + eax*2 - 0x13e], dx
jmp 0x9854da
mov ecx, dword [ebp - 0x15c]
add ecx, 1
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x148]
add edx, 1
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x148]
shl ecx, 1
mov dword [ebp - 0x18c], ecx
mov edx, dword [ebp - 0x19c]
add edx, dword [ebp - 0x18c]
movzx eax, byte [edx]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], 0xc4
mov ecx, dword [ebp - 0x148]
lea edx, [ecx + ecx + 1]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x19c]
add eax, dword [ebp - 0x190]
movzx ecx, byte [eax]
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], 0x26
mov edx, dword [ebp - 0x164]
sub edx, dword [ebp - 0x168]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x16c]
sub eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x174]
shl ecx, 4
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x194]
or eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov cl, byte [ebp - 0x188]
mov byte [ebp - 0x143], cl
movzx edx, byte [ebp - 0x140]
mov al, byte [ebp + edx - 0x104]
mov byte [ebp - 0x141], al
movzx ecx, byte [ebp - 0x13d]
movzx edx, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp - 0x13e]
add eax, edx
mov byte [ebp - 0x13e], al
mov cl, byte [ebp - 0x13d]
add cl, 1
mov byte [ebp - 0x13d], cl
movzx edx, byte [ebp - 0x13e]
movzx eax, byte [ebp - 0x140]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x13f]
movzx eax, byte [ebp - 0x13e]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x13d]
movzx eax, byte [ebp - 0x13f]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x13d]
mov al, byte [ebp - 0x141]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x141]
movzx edx, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp - 0x142]
add eax, edx
mov byte [ebp - 0x142], al
movzx ecx, byte [ebp - 0x143]
movzx edx, byte [ebp - 0x13e]
movzx eax, byte [ebp + edx - 0x104]
movzx edx, byte [ebp - 0x13d]
movzx edx, byte [ebp + edx - 0x104]
add eax, edx
and eax, 0xff
movzx eax, byte [ebp + eax - 0x104]
xor ecx, eax
movzx edx, byte [ebp - 0x13f]
movzx eax, byte [ebp + edx - 0x104]
movzx edx, byte [ebp - 0x140]
movzx edx, byte [ebp + edx - 0x104]
add eax, edx
movzx edx, byte [ebp - 0x142]
movzx edx, byte [ebp + edx - 0x104]
add eax, edx
and eax, 0xff
movzx eax, byte [ebp + eax - 0x104]
movzx edx, byte [ebp + eax - 0x104]
xor ecx, edx
mov byte [ebp - 0x13f], cl
mov al, byte [ebp - 0x143]
mov byte [ebp - 0x140], al
mov cl, byte [ebp - 0x13f]
mov byte [ebp - 0x149], cl
cmp dword [ebp - 0x148], 0
jbe 0x985c61
movsx dx, byte [ebp - 0x149]
mov eax, dword [ebp - 0x148]
mov word [ebp + eax*2 - 0x13e], dx
mov ecx, dword [ebp - 0x15c]
add ecx, 0xc
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x148]
add edx, 1
mov dword [ebp - 0x1a8], edx
jmp 0x985c90
mov eax, dword [ebp - 0x1a8]
add eax, 1
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
cmp ecx, dword [ebp - 0x15c]
jge 0x985ef2
mov edx, dword [ebp - 0x148]
add edx, 1
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
shl eax, 1
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x19c]
add ecx, dword [ebp - 0x18c]
movzx edx, byte [ecx]
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], 0xc4
mov eax, dword [ebp - 0x148]
lea ecx, [eax + eax + 1]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x19c]
add edx, dword [ebp - 0x190]
movzx eax, byte [edx]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x170], 0x26
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebp - 0x168]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x16c]
sub edx, dword [ebp - 0x170]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x174]
shl eax, 4
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x194]
or edx, dword [ebp - 0x184]
mov dword [ebp - 0x188], edx
mov al, byte [ebp - 0x188]
mov byte [ebp - 0x143], al
movzx ecx, byte [ebp - 0x140]
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x141], dl
movzx eax, byte [ebp - 0x13d]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x13e]
add edx, ecx
mov byte [ebp - 0x13e], dl
mov al, byte [ebp - 0x13d]
add al, 1
mov byte [ebp - 0x13d], al
movzx ecx, byte [ebp - 0x13e]
movzx edx, byte [ebp - 0x140]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x13f]
movzx edx, byte [ebp - 0x13e]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x13d]
movzx edx, byte [ebp - 0x13f]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x13d]
mov dl, byte [ebp - 0x141]
mov byte [ebp + ecx - 0x104], dl
movzx eax, byte [ebp - 0x141]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x142]
add edx, ecx
mov byte [ebp - 0x142], dl
movzx eax, byte [ebp - 0x143]
movzx ecx, byte [ebp - 0x13e]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x13d]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
and edx, 0xff
movzx edx, byte [ebp + edx - 0x104]
xor eax, edx
movzx ecx, byte [ebp - 0x13f]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x140]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
movzx ecx, byte [ebp - 0x142]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
and edx, 0xff
movzx edx, byte [ebp + edx - 0x104]
movzx ecx, byte [ebp + edx - 0x104]
xor eax, ecx
mov byte [ebp - 0x13f], al
mov dl, byte [ebp - 0x143]
mov byte [ebp - 0x140], dl
mov al, byte [ebp - 0x13f]
mov byte [ebp - 0x149], al
cmp dword [ebp - 0x148], 0
jbe 0x985eed
movsx cx, byte [ebp - 0x149]
mov edx, dword [ebp - 0x148]
mov word [ebp + edx*2 - 0x13e], cx
jmp 0x985c81
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
mov ecx, 2
imul edx, ecx, 0x1a
mov dword [ebp - 0x1e0], edx
cmp dword [ebp - 0x1e0], 0x36
jae 0x985f1a
jmp 0x985f1f
call fcn.009b6d77
xor eax, eax
mov ecx, dword [ebp - 0x1e0]
mov word [ebp + ecx - 0x13c], ax
jmp 0x985f85
mov dword [ebp - 0x148], 0
jmp 0x985f4c
mov edx, dword [ebp - 0x148]
add edx, 1
mov dword [ebp - 0x148], edx
cmp dword [ebp - 0x148], 0x1b
jae 0x985f85
mov eax, dword [ebp - 0x148]
shl eax, 1
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0x36
jae 0x985f6e
jmp 0x985f73
call fcn.009b6d77
xor ecx, ecx
mov edx, dword [ebp - 0x1e4]
mov word [ebp + edx - 0x13c], cx
jmp 0x985f3d
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1e8]
mov ax, word [ebp + eax*2 - 0x13c]
mov word [edx + ecx], ax
mov ecx, 2
imul edx, ecx, 3
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + edx], ax
mov edx, 2
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1fc]
mov cx, word [ebp + ecx*2 - 0x13c]
mov word [eax + edx], cx
mov edx, 2
shl edx, 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1ec]
mov cx, word [ebp + ecx*2 - 0x13c]
mov word [eax + edx], cx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009b6e52
mov esp, ebp
pop ebp
ret