Function at 0x140005f30
Capabilities:
Encrypt data using rc6
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x60], 0x20
mov eax, dword [rsp + 0x60]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x64], 0xc
mov eax, dword [rsp + 0x64]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x50], eax
movzx eax, byte [rsp + 0x20]
mov dword [rsp + 0x68], eax
mov eax, 0x100
cdq
mov ecx, dword [rsp + 0x68]
idiv ecx
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x54]
mov qword [rsp + 0x90], rax
mov eax, 4
mov rcx, qword [rsp + 0x90]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140006f20
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x6c], 0xb7e15163
mov dword [rsp + 0x70], 0x9e3779b9
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
mov edx, dword [rsp + 0x6c]
mov dword [rcx + rax], edx
mov dword [rsp + 0x28], 1
jmp 0x14000603c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x28], eax
jge 0x14000606f
mov eax, dword [rsp + 0x28]
dec eax
cdqe
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rcx + rax*4]
add eax, dword [rsp + 0x70]
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0xd0]
mov dword [rdx + rcx*4], eax
jmp 0x140006032
mov dword [rsp + 0x2c], 0
jmp 0x140006083
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x2c], eax
jge 0x1400060a0
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + rax*4], 0
jmp 0x140006079
mov dword [rsp + 0x24], 0
jmp 0x1400060b4
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x24], eax
jge 0x14000615f
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xc0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x84], eax
movzx eax, byte [rsp + 0x20]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, dword [rsp + 0x78]
idiv ecx
cdqe
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
shl eax, 8
mov dword [rsp + 0x88], eax
movzx eax, byte [rsp + 0x20]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, dword [rsp + 0x7c]
idiv ecx
cdqe
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
shl eax, 8
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0xc0]
movzx ecx, byte [rdx + rcx]
add eax, ecx
mov dword [rsp + 0x80], eax
movzx ecx, byte [rsp + 0x20]
mov eax, dword [rsp + 0x24]
cdq
idiv ecx
cdqe
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x80]
mov dword [rcx + rax*4], edx
jmp 0x1400060aa
mov dword [rsp + 0x4c], 0
jmp 0x140006173
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
imul eax, dword [rsp + 0x50], 3
cmp dword [rsp + 0x4c], eax
jge 0x140006240
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0xd0]
add ecx, dword [rdx + rax*4]
mov eax, ecx
mov edx, 3
mov ecx, eax
call fcn.140006278
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
mov edx, dword [rsp + 0x58]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
inc eax
xor edx, edx
div dword [rsp + 0x50]
mov eax, edx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x34]
add r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x40]
add edx, dword [r8 + rcx*4]
mov ecx, edx
mov edx, eax
call fcn.140006278
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x5c]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x3c]
inc eax
xor edx, edx
div dword [rsp + 0x54]
mov eax, edx
mov dword [rsp + 0x3c], eax
jmp 0x140006169
cmp qword [rsp + 0x40], 0
je 0x14000626b
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.140006fbc
mov qword [rsp + 0x40], 0
mov al, 1
add rsp, 0xb8
ret