Function at 0x43f910
Capabilities:
Encrypt data using speck

Disassembly:
push 0xffffffffffffffff
push 0x49b277
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0xa8], 1
call fcn.0046eb20
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 2
call fcn.0046eb20
xor ebx, ebx
lea ecx, [esp + 0x1c]
push ebx
mov byte [esp + 0xac], 3
mov byte [esp + 0x2b], bl
call fcn.0046eb50
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], 4
call fcn.0046eb50
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 5
call fcn.0046eb50
mov ecx, dword [esp + 0xb8]
mov byte [esp + 0xa8], 6
cmp ecx, ebx
je 0x43f9b8
mov eax, dword [esp + 0xbc]
sub eax, ecx
sar eax, 2
cmp eax, 6
jae 0x43fa56
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 5
call fcn.0046ec60
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.0046ec60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 3
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 1
call fcn.0046ec60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa8], bl
call fcn.0046ec60
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
cmp esi, eax
mov dword [esp + 0xa8], 0xffffffff
mov edi, eax
je 0x440436
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43fa43
jmp 0x44042f
cmp word [esp + 0xc4], bx
je 0x43fa71
cmp eax, 6
jbe 0x43faba
push ebx
add ecx, 0x18
call fcn.0046ee40
push eax
jmp 0x43faa0
lea ecx, [esp + 0xb0]
call fcn.0046efe0
cmp ax, 5
jl 0x43faba
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x43faba
mov ecx, dword [esp + 0xbc]
sub ecx, eax
sar ecx, 2
cmp ecx, 6
jbe 0x43faba
push ebx
lea ecx, [esp + 0xb4]
call fcn.0046efe0
dec eax
lea ecx, [esp + 0xb4]
push eax
call fcn.0046ef60
push ecx
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0046eb30
lea ecx, [esp + 0x1c]
call fcn.0046ee50
mov eax, dword [esp + 0xb8]
push ebx
lea ecx, [eax + 4]
call fcn.0046ee40
cmp al, 1
jne 0x43faef
mov byte [esp + 0x27], al
push 2
lea ecx, [esp + 0xb8]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63ec]
call fcn.004178d0
mov dword [esp + 0x2c], eax
xor ebp, ebp
movsx edi, bp
lea ecx, [edi + 3]
push ecx
lea ecx, [esp + 0xb8]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x20]
call fcn.0046ee50
lea ecx, [esp + 0x1c]
call fcn.0046efe0
movsx ecx, ax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 8
jne 0x43fd0a
shl edi, 5
mov esi, 2
lea edi, [esp + edi + 0x40]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
call fcn.0046eb50
lea ecx, [esp + 0x24]
call fcn.0046ee50
lea ecx, [esi - 2]
push ecx
lea ecx, [esp + 0x20]
call fcn.0046ee40
push eax
lea ecx, [esp + 0x24]
call fcn.0046efc0
lea edx, [esi - 1]
lea ecx, [esp + 0x1c]
push edx
call fcn.0046ee40
push eax
lea ecx, [esp + 0x24]
call fcn.0046efc0
push esi
lea ecx, [esp + 0x20]
call fcn.0046ee40
push eax
lea ecx, [esp + 0x24]
call fcn.0046efc0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63ec]
call fcn.004178d0
mov dword [edi], eax
add esi, 3
add edi, 4
cmp si, 0x1a
jl 0x43fb73
inc ebp
cmp bp, 3
jl 0x43fb1b
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
call fcn.0046eb50
lea ecx, [esp + 0x18]
call fcn.0046ee50
push ebx
lea ecx, [esp + 0x18]
call fcn.0046efc0
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x18]
call fcn.0046edf0
push 1
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
mov esi, eax
cmp si, bx
jne 0x43fda8
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 5
call fcn.0046ec60
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.0046ec60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 3
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 1
call fcn.0046ec60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa8], bl
call fcn.0046ec60
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
cmp esi, eax
mov dword [esp + 0xa8], 0xffffffff
mov edi, eax
je 0x440436
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43fcf7
jmp 0x44042f
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 5
call fcn.0046ec60
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.0046ec60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 3
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 1
call fcn.0046ec60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa8], bl
call fcn.0046ec60
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
cmp esi, eax
mov dword [esp + 0xa8], 0xffffffff
mov edi, eax
je 0x440436
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43fd95
jmp 0x44042f
push ebx
mov ecx, 0x4b63c8
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x14]
call fcn.0046ee50
or edi, 0xffffffff
cmp si, di
jne 0x43ff19
lea ecx, [esp + 0x10]
call fcn.0046efe0
dec eax
lea ecx, [esp + 0x10]
push eax
call fcn.0046ee40
cmp al, 0x22
mov byte [esp + 0xa8], 5
lea ecx, [esp + 0x14]
jne 0x43fe8b
call fcn.0046ec60
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.0046ec60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 3
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 1
call fcn.0046ec60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa8], bl
call fcn.0046ec60
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xa8], edi
cmp esi, eax
mov edi, eax
je 0x4404df
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43fe78
jmp 0x4404d8
call fcn.0046ec60
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.0046ec60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 3
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 1
call fcn.0046ec60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa8], bl
call fcn.0046ec60
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xa8], edi
cmp esi, eax
mov edi, eax
je 0x440436
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43ff06
jmp 0x44042f
cmp byte [esp + 0x27], bl
je 0x43fff6
push 2
lea ecx, [esp + 0x14]
call fcn.0046ee40
test al, al
jne 0x43fff6
push 3
lea ecx, [esp + 0x14]
call fcn.0046ee40
test al, al
jne 0x43fff6
push 4
lea ecx, [esp + 0x14]
call fcn.0046ee40
test al, al
jne 0x43fff6
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 5
call fcn.0046ec60
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.0046ec60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 3
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 1
call fcn.0046ec60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa8], bl
call fcn.0046ec60
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xa8], edi
cmp esi, eax
mov edi, eax
je 0x4404df
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43ffe3
jmp 0x4404d8
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebx
call fcn.0046efe0
cmp ax, 5
je 0x4400a7
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 5
call fcn.0046ec60
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.0046ec60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 3
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 1
call fcn.0046ec60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa8], bl
call fcn.0046ec60
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xa8], edi
cmp esi, eax
mov edi, eax
je 0x440436
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x440094
jmp 0x44042f
push 2
lea ecx, [esp + 0x14]
call fcn.0046ee40
push 3
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], al
call fcn.0046ee40
push 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x35], al
call fcn.0046ee40
mov byte [esp + 0x32], al
lea eax, [esp + 0x30]
xor esi, esi
xor edi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 3
mov ecx, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x3c], 8
mov dl, byte [ecx]
xor ecx, ecx
mov eax, 1
shl eax, cl
mov ebp, eax
and ebp, edx
cmp ebp, eax
jne 0x44011b
lea eax, [edi + ecx]
mov ebp, dword [esp + eax*4 + 0x40]
mov eax, dword [esp + 0x34]
xor esi, ebp
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
inc ecx
dec eax
mov dword [esp + 0x3c], eax
jne 0x4400fa
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
inc edx
add edi, 8
dec eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
jne 0x4400e8
mov ecx, dword [esp + 0x34]
and ecx, 0x80000001
jns 0x44014f
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x440155
xor esi, dword [esp + 0x2c]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.0046eb50
lea ecx, [esp + 0x1c]
call fcn.0046ee50
push ebx
lea ecx, [esp + 0xb4]
call fcn.0046ee40
push eax
lea ecx, [esp + 0x1c]
call fcn.0046efc0
push 1
lea ecx, [esp + 0xb4]
call fcn.0046ee40
inc al
lea ecx, [esp + 0x18]
push eax
call fcn.0046efc0
mov edx, esi
lea ecx, [esp + 0x18]
shr edx, 0x10
push edx
call fcn.0046ee20
mov eax, esi
lea ecx, [esp + 0x18]
shr eax, 8
push eax
call fcn.0046ee20
push esi
lea ecx, [esp + 0x1c]
call fcn.0046ee20
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.0046eb50
lea ecx, [esp + 0x18]
call fcn.0046ee50
push ebx
lea ecx, [esp + 0x18]
call fcn.0046efc0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.0046edf0
push 1
lea ecx, [esp + 0x18]