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

Disassembly:
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 0x1400039a2
inc edx
movzx edx, dx
mov r9d, dword [r8 + rdx*4]
movzx r11d, byte [r9 + rax]
test r11b, r11b
je 0x1400039a0
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 0x1400039c0
cmp r10d, 0xdd833843
jne 0x1400039a0
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
sub rsp, 0x20
mov rcx, rsi
call rdx
add rsp, 0x20
xor r13d, r13d
mov rax, qword [rbp - 0x38]
nop
cmp byte [rax + r13], 0
lea r13, [r13 + 1]
jne 0x140003a30
mov byte [rbp + 0x18], 0x69
movzx eax, byte [rbp + 0x18]
add al, 0xf7
movzx eax, al
mov rax, qword gs:[rax]
mov rax, qword [rax + 0x18]
add rax, 0x20
jmp 0x140003a66
cmp r8w, r9w
je 0x140003ac0
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 0x140003a60
add rdx, 2
cmp r8w, r9w
je 0x140003a70
jmp 0x140003a60
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 0x140003af3
inc r8b
lea r9d, [r8 - 1]
movzx r9d, r9b
shl r9d, 3
lea r9, [r9 + r9*4]
mov byte [rbp + 0x18], 0x54
mov byte [rbp + 0x14], 0x54
movzx r10d, byte [rbp + 0x14]
movzx r11d, byte [rbp + 0x18]
sub rsp, rdi
mov rbx, rsp
mov byte [rbx], r11b
mov ebx, r10d
xor bl, r10b
not bl
and bl, r11b
xor bl, r10b
movzx r11d, bl
mov r10d, dword [rdx + r9 + 0xc]
cmp dword [rcx + r11*8], r10d
jb 0x140003af0
mov byte [rbp + 0x1f], 0x54
mov byte [rbp + 0x13], 0x54
movzx r11d, byte [rbp + 0x13]
movzx ebx, byte [rbp + 0x1f]
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 0x140003af0
mov byte [rbp + 0x18], 0x6f
mov byte [rbp + 0x14], 0x6f
movzx edx, byte [rbp + 0x14]
movzx r8d, byte [rbp + 0x18]
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
or dl, r9b
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 0x140003bd2
inc edx
movzx edx, dx
mov r9d, dword [r8 + rdx*4]
movzx r11d, byte [r9 + rax]
test r11b, r11b
je 0x140003bd0
add r9, rax
inc r9
mov r10d, 0xab43
nop
movsx r11d, r11b
sub rsp, rdi
mov rbx, rsp
mov dword [rbx], r10d
mov ebx, r11d
xor ebx, r11d
not ebx
and ebx, r10d
xor ebx, r11d
imul r10d, ebx, 0x127aa3
movzx r11d, byte [r9]
inc r9
test r11b, r11b