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

Disassembly:
inc r9b
lea r10d, [r9 - 1]
movzx r10d, r10b
shl r10d, 3
lea r10, [r10 + r10*4]
mov byte [rbp - 0x30], 0x54
mov byte [rbp + 0x18], 0x54
sbb byte [r12 + rax*2 + 0xf], r10b
mov dh, 0x5d
sbb byte [rdi], cl
mov dh, 0x5d
ror byte [rax + 0x29], 1
cld
mov r14, rsp
mov byte [r14], bl
sub rsp, rdi
mov r15, rsp
mov byte [r15], r11b
movzx r14d, byte [r14]
not r14b
or bl, r11b
not r11b
or r11b, r14b
and r11b, bl
movzx ebx, r11b
mov r11d, dword [r8 + r10 + 0xc]
cmp dword [rdx + rbx*8], r11d
sbb al, 0xda
jb 0x1400048d0
mov byte [rbp + 0x14], 0x54
mov byte [rbp + 0x1f], 0x54
movzx ebx, byte [rbp + 0x1f]
movzx r14d, byte [rbp + 0x14]
sub rsp, rdi
mov r15, rsp
mov byte [r15], r14b
sub rsp, rdi
mov r12, rsp
mov byte [r12], bl
movzx r15d, byte [r15]
not r15b
or r14b, bl
not bl
or bl, r15b
and bl, r14b
movzx ebx, bl
add r11d, dword [r10 + r8 + 8]
cmp dword [rdx + rbx*8], r11d
jae 0x1400048d0
mov byte [rbp - 0x30], 0x6f
mov byte [rbp + 0x18], 0x6f
sbb byte [rdi + 0x44], ch
movzx eax, byte [rbp + 0x18]
movzx r9d, byte [rbp - 0x30]
sub rsp, rdi
cld
mov r10, rsp
mov byte [r10], r9b
sub rsp, rdi
mov r11, rsp
mov byte [r11], r8b
movzx r10d, byte [r10]
not r10b
or r9b, r8b
not r8b
or r8b, r10b
and r8b, r9b
movzx r8d, r8b
mov edx, dword [rdx + r8*8]
mov r9d, dword [rdx + rcx + 0x20]
add rdx, rcx
add r9, rcx
xor r8d, r8d
jmp 0x1400049c3
inc r8d
movzx r8d, r8w
mov r10d, dword [r9 + r8*4]
movzx ebx, byte [r10 + rcx]
test bl, bl
je 0x1400049c0
add r10, rcx
inc r10
mov r11d, 0xab43
movsx ebx, bl
sub rsp, rdi
mov r14, rsp
mov dword [r14], r11d
mov dword [rsi], ebx
mov r14d, ebx
xor r14d, ebx
not r14d
and r14d, r11d
xor r14d, ebx
imul r11d, r14d, 0x127aa3
movzx ebx, byte [r10]
inc r10
test bl, bl
jne 0x1400049e0
cmp r11d, 0xf417b87a
jne 0x1400049c0
dec r13d
mov r9d, dword [rdx + 0x1c]
mov edx, dword [rdx + 0x24]
push rdx
and al, 0x48
add edx, ecx
movzx edx, word [rdx + r8*2]
add r9, rcx
mov r10d, dword [r9 + rdx*4]
add r10, rcx
sub rsp, 0x30
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, qword [rbp - 0x38]
mov r8d, r13d
xor r9d, r9d
call r10
add rsp, 0x30
lea rax, [0x140009cc0]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rax + rcx*8 + 8]
inc rcx
cmp rcx, 3
jne 0x1400041a0
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 0x140004a96
cmp r8w, r9w
je 0x140004af0
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 0x140004a90
add rdx, 2
cmp r8w, r9w
je 0x140004aa0
jmp 0x140004a90
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 0x140004b23
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 r14, rsp
mov byte [r14], 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 0x140004b20
mov byte [rbp + 0x14], 0x54
mov byte [rbp + 0x1f], 0x54
movzx r11d, byte [rbp + 0x1f]
movzx ebx, byte [rbp + 0x14]
sub rsp, rdi
mov r14, rsp
mov byte [r14], bl
sub rsp, rdi
mov r15, rsp
mov byte [r15], r11b
movzx r14d, byte [r14]
not r14b
or bl, r11b
not r11b
or r11b, r14b
and r11b, bl
movzx r11d, r11b
add r10d, dword [r9 + rdx + 8]
cmp dword [rcx + r11*8], r10d
jae 0x140004b20
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
sub rsp, rdi
mov r10, rsp
mov byte [r10], dl
movzx r9d, byte [r9]
not r9b
or r8b, dl
not dl
rol byte [rax + rcx - 0x36], cl
and dl, r8b
movzx edx, dl
mov ecx, dword [rcx + rdx*8]
mov r8d, dword [rcx + rax + 0x20]
add rcx, rax
add r8, rax
xor edx, edx
jmp 0x140004c12
movzx edx, dx
mov r9d, dword [r8 + rdx*4]
movzx r11d, byte [r9 + rax]
test r11b, r11b