Function at 0x140004114
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
mov r8d, ecx
xor r8b, cl
not r8b
and r8b, dl
xor r8b, cl
cmp al, r8b
je 0x14000418c
movsxd rbx, dword [r9 + 0x3c]
movzx eax, word [rbx + r9 + 0x16]
and eax, 0x2002
and byte [rax], al
add byte [rsi - 0x7d], ah
clc
add dh, byte [rbp + 0x4f]
add rbx, r9
mov byte [rbp - 0x30], 0
movups xmmword [rbp - 0x28], xmm6
mov word [rbp + 0x18], 0x284c
mov word [rbp + 0x14], 0
sub rsp, 0x20
mov ecx, 2
call fcn.1400015e0
add rsp, 0x20
mov word [rax], 0
sub rsp, 0x30
mov qword [rsp + 0x20], rbx
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x40]
mov r8, rax
mov r9, qword [rbp - 0x40]
call fcn.1400085b0
add rsp, 0x30
xor ecx, ecx
lea rax, [0x14000a2ed]
nop word cs:[rax + rax]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x48], rcx
mov byte [rbp - 0x30], 0x69
movzx eax, byte [rbp - 0x30]
add al, 0xf7
movzx eax, al
mov rax, qword gs:[rax]
mov rax, qword [rax + 0x18]
add rax, 0x20
jmp 0x1400041d6
cmp r8w, r9w
je 0x140004230
mov rax, qword [rax]
mov rcx, qword [rax + 0x50]
xor edx, edx
nop
movzx r9d, word [rcx + rdx]
lea r10d, [r9 - 0x41]
mov r8d, r9d
or r8d, 0x20
cmp r10w, 0x1a
cmovae r8d, r9d
movzx r10d, word [rdx + rsi]
lea r11d, [r10 - 0x41]
mov r9d, r10d
or r9d, 0x20
cmp r11w, 0x1a
cmovae r9d, r10d
test r8w, r8w
je 0x1400041d0
add rdx, 2
cmp r8w, r9w
je 0x1400041e0
jmp 0x1400041d0
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax + 0x3c]
lea rdx, [rcx + rax]
movzx r8d, word [rcx + rax + 0x14]
add rdx, r8
add rdx, 0x18
add rcx, rax
add rcx, 0x88
mov r8b, 1
jmp 0x140004263
inc r8b
lea r9d, [r8 - 1]
movzx r9d, r9b
shl r9d, 3
lea r9, [r9 + r9*4]
mov byte [rbp - 0x30], 0x54
mov byte [rbp + 0x18], 0x54
movzx r10d, byte [rbp + 0x18]
movzx r11d, byte [rbp - 0x30]
sub rsp, rdi
mov rbx, rsp
mov byte [rbx], r11b
sub rsp, rdi
mov r15, rsp
mov byte [r15], r10b
movzx ebx, byte [rbx]
not bl
or r11b, r10b
not r10b
or r10b, bl
and r10b, r11b
movzx r11d, r10b
mov r10d, dword [rdx + r9 + 0xc]
cmp dword [rcx + r11*8], r10d
jb 0x140004260
mov byte [rbp + 0x14], 0x54
mov byte [rbp + 0x1f], 0x54
movzx r11d, byte [rbp + 0x1f]
movzx ebx, byte [rbp + 0x14]
sub rsp, rdi
mov r15, rsp
mov byte [r15], bl
mov r15d, r11d
xor r15b, r11b
not r15b
and r15b, bl
xor r15b, r11b
movzx r11d, r15b
add r10d, dword [r9 + rdx + 8]
cmp dword [rcx + r11*8], r10d
jae 0x140004260
mov byte [rbp - 0x30], 0x6f
mov byte [rbp + 0x18], 0x6f
movzx edx, byte [rbp + 0x18]
movzx r8d, byte [rbp - 0x30]
sub rsp, rdi
mov r9, rsp
mov byte [r9], r8b
mov r9d, edx
xor r9b, dl
not r9b
and r9b, r8b
xor r9b, dl
movzx edx, r9b
mov ecx, dword [rcx + rdx*8]
mov r8d, dword [rcx + rax + 0x20]
add rcx, rax
add r8, rax
xor edx, edx
jmp 0x140004342
inc edx
movzx edx, dx
mov r9d, dword [r8 + rdx*4]
movzx r11d, byte [r9 + rax]
test r11b, r11b
je 0x140004340
add r9, rax
inc r9
mov r10d, 0xab43
nop
movsx r11d, r11b
sub rsp, rdi
mov rbx, rsp
mov dword [rbx], r10d
sub rsp, rdi
mov r15, rsp
mov dword [r15], r11d
mov ebx, dword [rbx]
not ebx
or r10d, r11d
not r11d
or r11d, ebx
and r11d, r10d
imul r10d, r11d, 0x127aa3
movzx r11d, byte [r9]
inc r9
test r11b, r11b
jne 0x140004360
cmp r10d, 0xdd833843
jne 0x140004340
mov r8d, dword [rcx + 0x1c]
mov ecx, dword [rcx + 0x24]
add rcx, rax
movzx ecx, word [rcx + rdx*2]
add r8, rax
mov edx, dword [r8 + rcx*4]
add rdx, rax