Function at 0x457670
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 8], 0x1e
mov dword [ebp - 0x58], 0x48
mov dword [ebp - 0x50], 0x5a
mov dword [ebp - 0x3c], 0x4d
mov dword [ebp - 0x60], 0x4f
mov dword [ebp - 0x18], 0x52
mov dword [ebp - 0x30], 0x5c
mov dword [ebp - 0x38], 0x41
mov dword [ebp - 0xc], 0x1d
mov dword [ebp - 0x40], 0x40
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x28], 0x14
mov dword [ebp - 0x74], 0x4b
mov dword [ebp - 0x10], 0x1e
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x20], 0x2a
mov dword [ebp - 0x5c], 0x25
mov dword [ebp - 0x64], 0x1b
mov dword [ebp - 0x78], 0x1f
mov dword [ebp - 0x44], 0x64
mov dword [ebp - 0x34], 0x2f
mov dword [ebp - 0x7c], 0x2a
mov dword [ebp - 0x1c], 0x3e
mov dword [ebp - 0x24], 0x5e
mov dword [ebp - 0x2c], 0x4d
mov dword [ebp - 0x54], 0x1a
mov eax, dword [ebp - 8]
sub eax, dword [0x4ff8e8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x58]
and ecx, dword [ebp - 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x50]
or edx, dword [ebp - 8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x3c]
or eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x18]
or edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x38]
xor ecx, dword [ebp - 0x60]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0xc]
or edx, dword [ebp - 0x58]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x74]
and eax, dword [ebp - 4]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x6c]
and edx, dword [ebp - 0x10]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x5c]
and ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x64]
or edx, dword [ebp - 0x28]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x44]
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x64]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x7c]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x54]
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x58], 0x4e
jge 0x45782b
mov edx, dword [ebp - 0xc]
sub edx, 0xf
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x68], 0
jmp 0x45783d
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x4b
cmp dword [ebp - 0x68], ecx
jge 0x45786c
cmp dword [ebp - 4], 0x53
jge 0x45786a
mov dword [0x4ff910], 0x24
cmp dword [0x4ff910], 0xf
jne 0x45786a
mov edx, dword [ebp - 0x38]
xor edx, 0x29
mov dword [ebp - 0x38], edx
jmp 0x457834
mov dword [0x4ff910], 7
cmp dword [0x4ff910], 8
jge 0x4578c6
cmp dword [ebp - 0x38], 0x2d
jge 0x45788e
mov eax, dword [ebp - 8]
xor eax, 0x27
mov dword [ebp - 8], eax
mov ecx, dword [0x4ff910]
add ecx, 1
mov dword [0x4ff910], ecx
cmp dword [ebp - 0x18], 0x41
jle 0x4578c4
cmp dword [ebp - 0x5c], 0x4c
jne 0x4578c4
cmp dword [ebp - 0x5c], 0x5f
je 0x4578c4
cmp dword [ebp - 8], 0x17
je 0x4578c4
cmp dword [ebp - 0x44], 0x12
jge 0x4578c4
mov edx, dword [ebp - 0x18]
or edx, 0x18
mov dword [ebp - 0x18], edx
jmp 0x457876
mov eax, dword [ebp - 0x44]
xor eax, 0x56
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x1c], 0x40
jge 0x457904
cmp dword [ebp - 0x3c], 0x57
jle 0x4578f0
cmp dword [ebp - 0x24], 0x5c
jge 0x4578f0
cmp dword [ebp - 0x10], 0x22
je 0x4578f0
mov ecx, dword [ebp - 4]
add ecx, 0x18
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
add eax, 0x59
mov dword [ebp - 0x10], eax
jmp 0x4578cf
mov dword [0x4ff910], 0x31
cmp dword [0x4ff910], 0x32
jge 0x457972
cmp dword [ebp - 0x6c], 0x38
jne 0x457958
cmp dword [ebp - 8], 0x38
jle 0x457958
mov dword [0x4ff8ec], 0x17
cmp dword [0x4ff8ec], 0x13
jge 0x457958
mov dword [0x4ff8ec], 0x47
cmp dword [0x4ff8ec], 0x15
jne 0x457958
cmp dword [ebp - 0x20], 7
jne 0x457958
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [0x4ff910]
add edx, 1
mov dword [0x4ff910], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x45790e
cmp dword [ebp - 0x2c], 0x4d
jge 0x45799b
cmp dword [ebp - 0x3c], 0x52
jle 0x457987
mov ecx, dword [ebp - 0x20]
add ecx, 3
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x457972
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x14], 0
mov dword [0x4ff8ec], 0x53
cmp dword [0x4ff8ec], 0x54
jge 0x4579ec
cmp dword [ebp - 0xc], 0x32
jne 0x4579d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xd
mov dword [ebp - 0x10], ecx
mov edx, dword [0x4ff8ec]
add edx, 1
mov dword [0x4ff8ec], edx
mov eax, dword [ebp - 0x34]
add eax, 0x15
mov dword [ebp - 0x34], eax
jmp 0x4579ba
mov dword [ebp - 0x48], 0
jmp 0x4579fe
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp + 0xc]
jae 0x457b3d
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax]
push ecx
call fcn.00457cd0
add esp, 4
mov edx, dword [ebp - 0x4c]
mov dword [ebp + edx*4 - 0x8c], eax
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x503ae8]
xor ecx, 0x11881
cmp dword [ebp - 0x4c], ecx
jne 0x457b38
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x8c]
and ecx, 0xff
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x8c]
and eax, 0x30
shr eax, 4
lea ecx, [eax + ecx*4]
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, 4
shl eax, 1
cmp dword [ebp + eax - 0x8c], 0x40
je 0x457b1f
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x8c]
and edx, 0xf
shl edx, 4
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x8c]
and ecx, 0x3c
shr ecx, 2
add edx, ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x14]
mov byte [eax + 1], dl
mov ecx, 4
imul edx, ecx, 3
cmp dword [ebp + edx - 0x8c], 0x40
je 0x457b0b
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x8c]
and ecx, 3
shl ecx, 6
mov edx, 4
imul eax, edx, 3
add ecx, dword [ebp + eax - 0x8c]
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x14]
mov byte [edx + 2], cl
mov eax, dword [ebp - 0x14]
add eax, 3
mov dword [ebp - 0x14], eax
jmp 0x457b1d
mov ecx, dword [0x503ac8]
xor ecx, 0x952b
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x457b31
mov edx, dword [0x503ac4]
xor edx, 0xbdff
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x4c], 0
jmp 0x4579f5
mov eax, dword [ebp - 0x50]
or eax, 0x14
mov dword [ebp - 0x50], eax
mov dword [0x4ff910], 0x14
mov dword [0x4ff8f0], 0x35
cmp dword [0x4ff8f0], 0x4b
je 0x457ba7
cmp dword [ebp - 0x54], 0x3a
jge 0x457ba7
cmp dword [ebp - 8], 0x56
jle 0x457ba7
cmp dword [ebp - 0x30], 0x4b
jge 0x457ba7
mov dword [0x4ff8e8], 0x15
cmp dword [0x4ff8e8], 0x1b
jne 0x457ba7
cmp dword [ebp - 0x24], 0x3f
je 0x457ba7
mov dword [0x4ff8f4], 0x2d
mov ecx, dword [0x4ff8f4]
or ecx, 0xa
mov dword [0x4ff8f4], ecx
mov edx, dword [0x4ff910]
add edx, 1
mov dword [0x4ff910], edx
cmp dword [ebp - 0xc], 0x23
jne 0x457bc5
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [0x4ff910], 0x15
jl 0x457b50
mov dword [0x4ff914], 0x2e
cmp dword [0x4ff914], 0x2f
jge 0x457c2f
mov ecx, dword [ebp - 0x30]
xor ecx, 0x2c
mov dword [ebp - 0x30], ecx
mov edx, dword [0x4ff914]
add edx, 1
mov dword [0x4ff914], edx
cmp dword [ebp - 0x54], 0x1e
jge 0x457c2d
cmp dword [ebp - 0x1c], 0x48
jge 0x457c2d
mov dword [0x4ff8e8], 0x1f
cmp dword [0x4ff8e8], 0x30
jge 0x457c2d
cmp dword [ebp - 4], 0x18
jge 0x457c2d
cmp dword [ebp - 0x50], 0x5f
je 0x457c2d
mov eax, dword [ebp - 0x24]
or eax, 0x5b
mov dword [ebp - 0x24], eax
jmp 0x457bd8
mov dword [ebp - 0x70], 0
jmp 0x457c41
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x28]
add edx, 0x4a
cmp dword [ebp - 0x70], edx
jge 0x457c63
cmp dword [ebp - 0xc], 0x48
je 0x457c61
cmp dword [ebp - 0x54], 3
jle 0x457c61
mov eax, dword [ebp - 0x10]
add eax, 0x3f
mov dword [ebp - 0x10], eax
jmp 0x457c38
mov eax, dword [ebp - 0x14]
jmp 0x457cc7
mov esp, ebp
pop ebp
ret