Function at 0x4543d0
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1ac
mov ebx, dword [ecx + 0xc]
mov esi, dword [ebp + 0x1c]
test ebx, ebx
je 0x4549b4
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x170], ecx
mov eax, ecx
mov dword [ebp - 0x180], edx
mov dword [ebp + 0x1c], esi
call 0x458080
mov ecx, edx
or ecx, eax
je 0x4549b4
mov esi, dword [ebp + 0x1c]
mov ebx, edx
mov ecx, dword [esi + 0x4c]
mov esi, ecx
mov dword [ebp - 0x160], ecx
mov ecx, eax
add ecx, 0xffffffff
adc ebx, 0xffffffff
cmp ebx, 0
ja 0x454850
cmp ecx, esi
jae 0x454850
mov esi, dword [ebp + 0x1c]
lea ecx, [eax + eax*2]
mov ebx, dword [esi + 0x50]
lea ecx, [ebx + ecx*8 - 0x18]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
xor esi, eax
xor edi, edx
or esi, edi
je 0x454c23
lea ecx, [ebp - 0xe0]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x16c], ecx
mov edi, dword [ebp - 0x16c]
xor ecx, ecx
mov dword [edi + ecx], 0
add ecx, 4
cmp ecx, 0x18
jb 0x45446e
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0x44e0d0
mov dword [esp + 0xc], 0x18
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [ebp + 0x1c], esi
mov dword [ebp - 0xdc], edx
call fcn.0044b884
test eax, eax
mov ebx, eax
je 0x454c81
mov edx, dword [ebp + 0x24]
test edx, edx
je 0x4544cb
mov eax, dword [ebx + 8]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
lea edi, [ebp - 0x118]
xor eax, eax
mov ecx, 0xe
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
test eax, eax
je 0x454983
lea eax, [ebp - 0xe0]
xor edi, edi
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x16c], eax
jmp 0x45459c
cmp eax, 0x72
je 0x454910
jbe 0x454940
cmp eax, 0x73
je 0x454860
cmp eax, 0x74
jne 0x454590
cmp dword [ebx + 8], 0x11
je 0x4549c0
mov esi, esi
lea edi, [edi]
add edi, 1
cmp dword [ebx + 0x10], edi
jbe 0x454691
mov eax, edi
shl eax, 4
mov dword [ebp - 0x168], eax
add eax, dword [ebx + 0x14]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x160], edx
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x15c], ecx
mov ecx, dword [ebp - 0x15c]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 8], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x170]
mov dword [esp], edx
mov edx, dword [ebp - 0x160]
call fcn.00454fb0
test eax, eax
je 0x45483f
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x168]
mov eax, dword [eax + ecx]
cmp eax, 0x1b
je 0x4548c0
ja 0x454560
cmp eax, 0x10
je 0x454890
ja 0x454970
cmp eax, 3
jne 0x454590
cmp dword [ebx + 8], 0x11
jne 0x454590
mov eax, dword [ebp - 0xe0]
add edi, 1
cmp dword [ebx + 0x10], edi
mov dword [ebp - 0x174], 1
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x14c], eax
ja 0x45459c
mov eax, dword [ebp - 0x174]
mov dword [ebp + 0x1c], esi
test eax, eax
jne 0x4549e4
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x454983
mov eax, dword [ebp - 0x148]
cmp eax, 5
je 0x454c2a
cmp eax, 6
jne 0x454983
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x160], 4
mov dword [ebp - 0x15c], 0
mov edi, dword [eax + 0x18]
mov eax, dword [ebp - 0x140]
test edi, edi
je 0x454706
mov dword [ebp - 0x160], 8
mov dword [ebp - 0x15c], 0
imul ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
mov esi, dword [ebp + 0x1c]
imul edx, eax
add ecx, edx
mul dword [ebp - 0x160]
add edx, ecx
add eax, dword [esi + 0x28]
mov ecx, dword [ebp + 8]
adc edx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x168]
mov dword [ebp - 0x164], edx
mov edx, dword [ebp - 0x15c]
adc edx, dword [ebp - 0x164]
cmp edx, 0
ja 0x454c49
cmp eax, ecx
jae 0x454c49
mov eax, dword [ebp + 8]
mov dword [ebp - 0x138], 0x462638
mov dword [ebp - 0x11c], 0
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x134], edx
sub ecx, eax
add edx, eax
mov eax, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x138]
je 0x454c69
call 0x457fb0
mov ecx, dword [ebp + 8]
xor edi, edi
cmp edi, edx
mov esi, dword [ecx + 0x34]
ja 0x45497a
jb 0x4547e2
cmp esi, eax
ja 0x45497a
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x134]
mov esi, dword [ebp - 0x16c]
mov dword [esp + 0xc], 0x46264c
mov dword [esp + 8], 0x462368
mov dword [esp + 4], 0xc8
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x138]
mov dword [esp], esi
mov dword [esp + 0x10], eax
call 0x458350
mov eax, dword [ebp - 0x120]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ebp - 0x124]
xor eax, eax
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp + 0x1c]
mov ebx, dword [edi + 0x50]
jmp 0x454457
cmp dword [ebx + 8], 0x11
jne 0x454590
cmp dword [ebp - 0xe0], 0xa
jne 0x454590
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
jmp 0x454590
cmp dword [ebx + 8], 0x11
jne 0x454590
mov eax, dword [ebp - 0xe0]
cmp eax, 3
je 0x4548ae
cmp eax, 0xa
jne 0x454590
mov eax, dword [ebp - 0xd8]
mov dword [esi + 0x20], eax
jmp 0x454590
cmp dword [ebx + 8], 0x11
jne 0x454590
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x13c], eax
jmp 0x454590
cmp dword [ebx + 8], 0x11
jne 0x454590
cmp dword [ebp - 0xe0], 0xa
jne 0x454590
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
jmp 0x454590
cmp eax, 0x55
jne 0x454590
lea ecx, [ebp - 0x118]
mov edx, dword [ebp - 0x16c]
mov dword [esp], ecx
lea ecx, [ebp - 0xd8]
call 0x458480
jmp 0x454590
cmp eax, 0x12
jbe 0x454949
jmp 0x454590
add eax, dword [ecx + 0x10]
mov edi, dword [ebp + 0x1c]
mov dword [edi + 0x44], eax
mov eax, dword [ebx + 8]
cmp eax, 0x11
je 0x454b21
cmp eax, 0x2e
je 0x454b21
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x454bc5
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x454401
mov eax, 1
jmp 0x45483f
cmp dword [ebp - 0xe0], 0xa
jne 0x454590
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
jmp 0x454590
mov eax, dword [ebp - 0x158]
cmp eax, 5
je 0x454c3b
cmp eax, 6
jne 0x4546a2
mov edi, dword [esi + 0x18]
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x160], 4
mov dword [ebp - 0x15c], 0
test edi, edi
je 0x454a37
mov dword [ebp - 0x160], 8
mov dword [ebp - 0x15c], 0
imul ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
mov esi, dword [ebp + 0x1c]
imul edx, eax
add ecx, edx
mul dword [ebp - 0x160]
add edx, ecx
add eax, dword [esi + 0x28]
mov ecx, dword [ebp + 8]
adc edx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x168]
mov dword [ebp - 0x164], edx
mov edx, dword [ebp - 0x15c]
adc edx, dword [ebp - 0x164]
cmp edx, 0
ja 0x454c49
cmp eax, ecx
jae 0x454c49
mov eax, dword [ebp + 8]
mov dword [ebp - 0x138], 0x462638
mov dword [ebp - 0x11c], 0
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x134], edx
sub ecx, eax
add edx, eax
mov eax, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x138]
je 0x454c75
call 0x457fb0
mov ecx, dword [ebp + 8]
xor edi, edi
cmp edi, edx
mov esi, dword [ecx + 0x34]
ja 0x454b13
jb 0x4547e2
cmp esi, eax
jbe 0x4547e2
add eax, dword [ecx + 0x10]
mov edi, dword [ebp + 0x1c]
mov dword [edi + 0x40], eax
jmp 0x4546a2
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x180]
mov dword [esp + 0x14], 0x44f300
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x118]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x17c]
call fcn.0044ee10
test eax, eax
je 0x454c1c
cmp dword [ebx + 8], 0x11
jne 0x454998
mov eax, dword [ebp - 0xe8]
test eax, eax
jne 0x4549b4
mov edi, dword [ebp - 0x110]
test edi, edi
je 0x454998
mov esi, dword [ebp - 0x100]
test esi, esi
je 0x454998
jmp 0x4549b4
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x170]
mov edx, dword [ebp - 0x180]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [ebp - 0x17c]
call fcn.004543d0
test eax, eax
jne 0x4549a3
xor eax, eax
jmp 0x45483f
mov ebx, ecx
jmp 0x4544bc
mov eax, dword [ebp - 0x140]
mov edi, dword [ebp + 0x1c]
mov dword [edi + 0x44], eax
jmp 0x454983
mov eax, dword [ebp - 0x150]
mov dword [esi + 0x40], eax
jmp 0x4546a2
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x462618
mov dword [esp], eax
call dword [ebp + 0x14]
xor eax, eax
jmp 0x45483f
call 0x457ee0
xor edx, edx
jmp 0x4547c8
call 0x457ee0
xor edx, edx
jmp 0x454af9
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46270d
mov dword [esp], eax
call dword [ebp + 0x14]
xor eax, eax
jmp 0x45483f