Function at 0x44d300
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x691fb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
movsd xmm0, qword [0x66a708]
movsd qword [ebp - 0x14c], xmm0
movsd xmm0, qword [0x66a708]
movsd qword [ebp - 0x144], xmm0
movsd xmm0, qword [0x66a708]
movsd qword [ebp - 0x144], xmm0
jmp 0x44d378
movsd xmm0, qword [ebp - 0x144]
addsd xmm0, qword [0x66ac48]
movsd qword [ebp - 0x144], xmm0
movsd xmm0, qword [0x66bef8]
comisd xmm0, xmmword [ebp - 0x144]
jbe 0x44d429
movsd xmm0, qword [0x66bcd8]
mulsd xmm0, qword [ebp - 0x144]
mulsd xmm0, qword [ebp - 0x144]
movsd xmm1, qword [ebp - 0x144]
mulsd xmm1, qword [ebp - 0x144]
subsd xmm0, xmm1
movsd xmm1, qword [0x66ae00]
mulsd xmm1, qword [ebp - 0x144]
mulsd xmm1, qword [ebp - 0x144]
addsd xmm1, qword [0x66af70]
divsd xmm0, xmm1
addsd xmm0, qword [ebp - 0x14c]
movsd qword [ebp - 0x14c], xmm0
movsd xmm0, qword [ebp - 0x14c]
comisd xmm0, xmmword [0x66b490]
jbe 0x44d424
movsd xmm0, qword [0x66ac08]
mulsd xmm0, qword [ebp - 0x144]
movsd xmm1, qword [ebp - 0x14c]
subsd xmm1, xmm0
movsd qword [ebp - 0x14c], xmm1
lea esi, [esi + edi*8 + 0x37e9ffff]
invalid
jmp 0x44d360
movsd xmm0, qword [0x66a708]
comisd xmm0, xmmword [ebp - 0x14c]
jbe 0x44d486
rol dword [edi + 0x7ecc82d3], cl
enter 0xffffffffffffc67f, 0xffffffffffffff80
enter 0xffffffffffffd37f, 0xffffffffffffff85
enter 0xffffffffffffc87e, 0xffffffffffffff84
sar byte [ebp - 0x33], 1
mov dl, cl
mov ecx, ebx
jg 0x44d41f
xchg al, cl
adc ah, 0x84
lds eax, [esi + eax*8 - 0x307c367a]
xchg dl, cl
test ebx, edx
adc cl, 0x7d
retf
mov dword [ebp - 0x170], 0x44d43b
mov dword [ebp - 0x16c], 0x44d46f
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 0x11d], 0x16
mov dword [ebp - 0x118], 0
jmp 0x44d4d4
mov edx, dword [ebp - 0x118]
add edx, 1
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 0x100
jae 0x44d4f5
mov eax, dword [ebp - 0x118]
mov cl, byte [ebp - 0x118]
mov byte [ebp + eax - 0x104], cl
jmp 0x44d4c5
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x109], 0
mov dword [ebp - 0x118], 0xff
jmp 0x44d521
mov edx, dword [ebp - 0x118]
sub edx, 1
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 0
jbe 0x44d791
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x150], 1
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x118]
jae 0x44d562
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + ecx + 1]
mov dword [ebp - 0x150], edx
jmp 0x44d542
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 3
ja case.default.0x44d581
mov ecx, dword [ebp - 0x168]
jmp dword [ecx*4 + 0x44e0dc]
movzx edx, byte [ebp - 0x109]
movzx ebx, byte [ebp + edx - 0x104]
movsd xmm0, qword [ebp - 0x14c]
call fcn.006205c1
and eax, 0xff
add ebx, eax
mov byte [ebp - 0x109], bl
jmp 0x44d66a
movzx eax, byte [ebp - 0x109]
movzx ebx, byte [ebp + eax - 0x104]
movsd xmm0, qword [ebp - 0x14c]
call fcn.006205c1
shr eax, 8
and eax, 0xff
add ebx, eax
mov byte [ebp - 0x109], bl
jmp 0x44d66a
movzx ecx, byte [ebp - 0x109]
movzx ebx, byte [ebp + ecx - 0x104]
movsd xmm0, qword [ebp - 0x14c]
call fcn.006205c1
shr eax, 0x10
and eax, 0xff
add ebx, eax
mov byte [ebp - 0x109], bl
jmp 0x44d66a
movzx edx, byte [ebp - 0x109]
movzx ebx, byte [ebp + edx - 0x104]
movsd xmm0, qword [ebp - 0x14c]
call fcn.006205c1
shr eax, 0x18
and eax, 0xff
add ebx, eax
mov byte [ebp - 0x109], bl
jmp 0x44d66a
movzx eax, byte [ebp - 0x109]
movzx ecx, byte [ebp + eax - 0x104]
mov edx, dword [ebp - 0x174]
add edx, dword [ebp - 0x13c]
movzx eax, byte [edx - 4]
add ecx, eax
mov byte [ebp - 0x109], cl
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp - 0x13c], ecx
movzx edx, byte [ebp - 0x11d]
cmp dword [ebp - 0x13c], edx
jb 0x44d6a8
mov dword [ebp - 0x13c], 0
movzx eax, byte [ebp - 0x11d]
movzx ecx, byte [ebp - 0x109]
add ecx, eax
mov byte [ebp - 0x109], cl
movzx edx, byte [ebp - 0x109]
and edx, dword [ebp - 0x150]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xb
jbe 0x44d6e7
mov eax, dword [ebp - 0x124]
xor edx, edx
div dword [ebp - 0x118]
mov dword [ebp - 0x124], edx
mov ecx, dword [ebp - 0x124]
cmp ecx, dword [ebp - 0x118]
ja 0x44d562
mov edx, dword [ebp - 0x118]
cmp edx, dword [ebp - 0x124]
je 0x44d78c
mov eax, dword [ebp - 0x124]
movzx ecx, byte [ebp + eax - 0x104]
mov edx, dword [ebp - 0x118]
movzx eax, byte [ebp + edx - 0x104]
xor eax, ecx
mov ecx, dword [ebp - 0x118]
mov byte [ebp + ecx - 0x104], al
mov edx, dword [ebp - 0x118]
movzx eax, byte [ebp + edx - 0x104]
mov ecx, dword [ebp - 0x124]
movzx edx, byte [ebp + ecx - 0x104]
xor edx, eax
mov eax, dword [ebp - 0x124]
mov byte [ebp + eax - 0x104], dl
mov ecx, dword [ebp - 0x124]
movzx edx, byte [ebp + ecx - 0x104]
mov eax, dword [ebp - 0x118]
movzx ecx, byte [ebp + eax - 0x104]
xor ecx, edx
mov edx, dword [ebp - 0x118]
mov byte [ebp + edx - 0x104], cl
jmp 0x44d512
mov eax, 1
shl eax, 0
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp - 0x105], cl
mov edx, 1
imul eax, edx, 3
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp - 0x106], cl
mov edx, 1
imul eax, edx, 5
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp - 0x10a], cl
mov edx, 1
imul eax, edx, 7
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp - 0x107], cl
movzx edx, byte [ebp - 0x109]
mov al, byte [ebp + edx - 0x104]
mov byte [ebp - 0x108], al
mov dword [ebp - 0x164], 0x34
cmp dword [ebp - 0x164], 2
jle 0x44e090
mov ecx, dword [ebp - 0x164]
and ecx, 1
jne 0x44e090
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 1
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x128]
movzx ecx, byte [eax + edx*2]
sub ecx, 0xc5
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x128]
movzx ecx, byte [eax + edx*2 + 1]
sub ecx, 0x7d
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x138]
shl edx, 4
or edx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], edx
mov al, byte [ebp - 0x134]
mov byte [ebp - 0x10b], al
movzx ecx, byte [ebp - 0x108]
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x10c], dl
movzx eax, byte [ebp - 0x105]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x106]
add edx, ecx
mov byte [ebp - 0x106], dl
mov al, byte [ebp - 0x105]
add al, 1
mov byte [ebp - 0x105], al
movzx ecx, byte [ebp - 0x106]
movzx edx, byte [ebp - 0x108]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x107]
movzx edx, byte [ebp - 0x106]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x105]
movzx edx, byte [ebp - 0x107]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x105]
mov dl, byte [ebp - 0x10c]
mov byte [ebp + ecx - 0x104], dl
movzx eax, byte [ebp - 0x10c]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x10a]
add edx, ecx
mov byte [ebp - 0x10a], dl
movzx eax, byte [ebp - 0x10b]
movzx ecx, byte [ebp - 0x106]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x105]
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 - 0x107]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x108]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
movzx ecx, byte [ebp - 0x10a]
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 - 0x107], al
mov dl, byte [ebp - 0x10b]
mov byte [ebp - 0x108], dl
mov al, byte [ebp - 0x107]
mov byte [ebp - 0x10d], al
cmp dword [ebp - 0x114], 0
jle 0x44da0c
mov ecx, dword [ebp - 0x130]
add ecx, dword [ebp - 0x114]
mov dl, byte [ebp - 0x10d]
mov byte [ecx - 1], dl
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x128]
movzx ecx, byte [eax + edx*2]
sub ecx, 0xc5
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x128]
movzx ecx, byte [eax + edx*2 + 1]
sub ecx, 0x7d
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x138]
shl edx, 4
or edx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], edx
mov al, byte [ebp - 0x134]
mov byte [ebp - 0x10b], al
movzx ecx, byte [ebp - 0x108]
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x10c], dl
movzx eax, byte [ebp - 0x105]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x106]
add edx, ecx
mov byte [ebp - 0x106], dl
mov al, byte [ebp - 0x105]
add al, 1
mov byte [ebp - 0x105], al
movzx ecx, byte [ebp - 0x106]
movzx edx, byte [ebp - 0x108]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x107]
movzx edx, byte [ebp - 0x106]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x105]
movzx edx, byte [ebp - 0x107]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x105]
mov dl, byte [ebp - 0x10c]
mov byte [ebp + ecx - 0x104], dl
movzx eax, byte [ebp - 0x10c]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x10a]
add edx, ecx
mov byte [ebp - 0x10a], dl
movzx eax, byte [ebp - 0x10b]
movzx ecx, byte [ebp - 0x106]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x105]
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 - 0x107]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x108]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
movzx ecx, byte [ebp - 0x10a]
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 - 0x107], al
mov dl, byte [ebp - 0x10b]
mov byte [ebp - 0x108], dl
mov al, byte [ebp - 0x107]
mov byte [ebp - 0x10d], al
cmp dword [ebp - 0x114], 0
jle 0x44dc03
mov ecx, dword [ebp - 0x130]
add ecx, dword [ebp - 0x114]
mov dl, byte [ebp - 0x10d]
mov byte [ecx - 1], dl
mov eax, dword [ebp - 0x11c]
add eax, 0xc
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x160], ecx
jmp 0x44dc32
mov edx, dword [ebp - 0x160]
add edx, 1
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x11c]
jge 0x44de31
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x128]
movzx ecx, byte [eax + edx*2]
sub ecx, 0xc5
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x128]
movzx ecx, byte [eax + edx*2 + 1]
sub ecx, 0x7d
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x138]
shl edx, 4
or edx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], edx
mov al, byte [ebp - 0x134]
mov byte [ebp - 0x10b], al
movzx ecx, byte [ebp - 0x108]
mov dl, byte [ebp + ecx - 0x104]
mov byte [ebp - 0x10c], dl
movzx eax, byte [ebp - 0x105]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x106]
add edx, ecx
mov byte [ebp - 0x106], dl
mov al, byte [ebp - 0x105]
add al, 1
mov byte [ebp - 0x105], al
movzx ecx, byte [ebp - 0x106]
movzx edx, byte [ebp - 0x108]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x107]
movzx edx, byte [ebp - 0x106]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x105]
movzx edx, byte [ebp - 0x107]
mov al, byte [ebp + ecx - 0x104]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x105]
mov dl, byte [ebp - 0x10c]
mov byte [ebp + ecx - 0x104], dl
movzx eax, byte [ebp - 0x10c]
movzx ecx, byte [ebp + eax - 0x104]
movzx edx, byte [ebp - 0x10a]
add edx, ecx
mov byte [ebp - 0x10a], dl
movzx eax, byte [ebp - 0x10b]
movzx ecx, byte [ebp - 0x106]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x105]
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 - 0x107]
movzx edx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp - 0x108]
movzx ecx, byte [ebp + ecx - 0x104]
add edx, ecx
movzx ecx, byte [ebp - 0x10a]
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 - 0x107], al
mov dl, byte [ebp - 0x10b]
mov byte [ebp - 0x108], dl
mov al, byte [ebp - 0x107]
mov byte [ebp - 0x10d], al
cmp dword [ebp - 0x114], 0
jle 0x44de2c
mov ecx, dword [ebp - 0x130]
add ecx, dword [ebp - 0x114]
mov dl, byte [ebp - 0x10d]
mov byte [ecx - 1], dl
jmp 0x44dc23
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
add ecx, 0xc
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x158], edx
jmp 0x44de6f
mov eax, dword [ebp - 0x158]
add eax, 1
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x11c]
jge 0x44e06d
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x128]
movzx edx, byte [ecx + eax*2]
sub edx, 0xc5
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x128]
movzx edx, byte [ecx + eax*2 + 1]
sub edx, 0x7d
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x138]
shl eax, 4
or eax, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
mov cl, byte [ebp - 0x134]
mov byte [ebp - 0x10b], cl
movzx edx, byte [ebp - 0x108]
mov al, byte [ebp + edx - 0x104]
mov byte [ebp - 0x10c], al
movzx ecx, byte [ebp - 0x105]
movzx edx, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp - 0x106]
add eax, edx
mov byte [ebp - 0x106], al
mov cl, byte [ebp - 0x105]
add cl, 1
mov byte [ebp - 0x105], cl
movzx edx, byte [ebp - 0x106]
movzx eax, byte [ebp - 0x108]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x107]
movzx eax, byte [ebp - 0x106]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x105]
movzx eax, byte [ebp - 0x107]
mov cl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], cl
movzx edx, byte [ebp - 0x105]
mov al, byte [ebp - 0x10c]
mov byte [ebp + edx - 0x104], al
movzx ecx, byte [ebp - 0x10c]
movzx edx, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp - 0x10a]
add eax, edx
mov byte [ebp - 0x10a], al
movzx ecx, byte [ebp - 0x10b]
movzx edx, byte [ebp - 0x106]
movzx eax, byte [ebp + edx - 0x104]
movzx edx, byte [ebp - 0x105]
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 - 0x107]
movzx eax, byte [ebp + edx - 0x104]
movzx edx, byte [ebp - 0x108]
movzx edx, byte [ebp + edx - 0x104]
add eax, edx
movzx edx, byte [ebp - 0x10a]
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 - 0x107], cl
mov al, byte [ebp - 0x10b]
mov byte [ebp - 0x108], al
mov cl, byte [ebp - 0x107]
mov byte [ebp - 0x10d], cl
cmp dword [ebp - 0x114], 0
jle 0x44e068
mov edx, dword [ebp - 0x130]
add edx, dword [ebp - 0x114]
mov al, byte [ebp - 0x10d]
mov byte [edx - 1], al
jmp 0x44de60
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
mov edx, 1
imul eax, edx, 0x19
mov ecx, dword [ebp - 0x130]
mov byte [ecx + eax], 0
jmp 0x44e0c5
mov dword [ebp - 0x154], 0
jmp 0x44e0ab
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
cmp dword [ebp - 0x154], 0x1a
jge 0x44e0c5
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0x154]
mov byte [eax], 0
jmp 0x44e09c
mov eax, dword [ebp - 0x130]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060052c
mov esp, ebp
pop ebp
ret