Function at 0x140186aa9
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using chaskey
Parse pe header

Disassembly:
jp 0x140208dae
and r9, 0xfffffffffffffff0
call fcn.14010d2ff
inc rbp
rol r9w, 1
sub r9w, 0x889a
lea rcx, [rdx + r11*4 - 0x3f68d4f2]
neg r9w
xor bx, r9w
cwd
add dx, 0xf633
xadd cl, dh
add r9, rsp
lea rbp, [rcx*8 + 0x6c86829b]
dec cx
jg 0x140207bc9
dec cl
and r11d, edx
jbe 0x1400e5c76
ja 0x1402a0874
mov r9, qword [r8]
mov ecx, 0x40801417
push rcx
lea r8, [r8 + rcx - 0x4080140f]
add word [rsp + rcx - 0x40801414], 0x7999
movzx edx, cx
dec edx
mov rbp, r9
mov r9, r8
adc dword [rsp + rcx - 0x40801417], edx
lea rbx, [rcx + rdx*4 + 0x11b44494]
pop rcx
jp 0x1401d20b1
sar esi, cl
lea rdi, [rcx*8 - 0x70c974d9]
mov ebx, dword [rbp + rcx - 0xffe6]
xor ebx, r10d
inc ebx
rol ebx, 3
neg ebx
rol dil, cl
inc ebx
bswap edi
add rdi, qword [rsp + rcx*4 - 0x3ff98]
mov qword [rsp + rcx - 0xffe6], r10
ror edi, 0xd9
movsx r8d, al
xor dword [rsp + rcx*4 - 0x3ff98], ebx
add rcx, 0xffffffffd7a60e8f
adc si, 0xc82f
pop r10
movsxd rbx, ebx
push rcx
neg r8d
movzx edx, dil
add r11, rbx
mov qword [rsp + rcx*2 + 0x50b1e316], r11
ret
xor cl, 0x89
shr sil, 0xa3
sal al, 1
xor bl, cl
bt esi, ebp
adc rcx, rsp
xor si, word [rdx + rcx]
sub r11d, eax
jne 0x14021b1bf
lea r10, [r10 + rdx*2 - 2]
mov word [rdx + r10], si
inc dl
jge fcn.1401c1b7c
mov eax, dword [rbp + riz]
mov edx, 0x281a841d
lea rbp, [rbp + rdx - 0x281a8419]
mov r11d, edx
movzx ebx, dx
or edx, 0x9c022625
xor eax, edi
lea eax, [rax + rdx - 0x365e3f97]
add dl, bh
lea rcx, [r11 + r11*8 + 0x5a84813c]
rol rbx, cl
bswap eax
inc edx
not eax
dec eax
shr cx, cl
movsx r8d, cl
rol eax, 1
bts r11w, dx
neg eax
btr r11d, r11d
sub r11b, 0x38
shl ecx, 0xbf
push rdi
or bl, dl
xor dword [rsp + r11*2 - 0x103509ca], eax
dec bx
movsx edi, r11w
pop rdi
and bx, bx
dec bx
movsxd rax, eax
adc r10, rax
lea r9, [rdx + rbx*4 + 0x779dc7bf]
lea rbx, [rcx + rcx - 0x214fc57f]
mov r9w, word [rsi + r11*2 - 0x103509ca]
lea rsi, [rsi + r11 - 0x81a84e3]
movzx eax, byte [rbp + r11*2 - 0x103509ca]
lea rbp, [rbp + r11*4 - 0x206a1393]
xor al, dil
sub rcx, rbx
adc al, 0x17
btc ecx, edx
push r8
rol al, 1
bts edx, 0xbc
dec rcx
not al
sal byte [rsp + r11*2 - 0x103509c3], 0xe2
adc al, 0x1b
xor word [rsp + r11*2 - 0x103509c5], cx
not al
neg edx
xor dil, al
lea rax, [rsp + rax + 8]
and rbx, 0x1426a698
sub ebx, r11d
mov byte [rax + r11*4 - 0x206a1394], r9b
shl qword [rsp + rdx - 0x43e5593e], cl
setbe byte [rsp + r11 - 0x81a84e4]
mov eax, ebx
mov qword [rsp + r11*2 - 0x103509ca], r10
ret
lea esi, [rsi + rcx - 0x6782d9ae]
ror esi, 1
xchg dx, ax
push rdi
xor dword [rsp + rcx*4 - 0x274], esi
cdq
xchg rdx, rbx
call fcn.140249a50
movzx ecx, dil
mov dil, byte [r9 + rcx*2 - 0x2c]
neg cx
lea rsi, [rcx + rcx*4 + 0x2a23a91e]
lea r9, [r9 + rcx - 0xffdc]
dec si
xor rsi, 0x2892cd94
push rcx
mov byte es:[rax + rcx*2 - 0x1ffcc], dil
mov eax, 0x27a662ae
movzx ebx, al
lea rbp, [rcx + rbp - 0xffea]
jne 0x1401cc75e
jne 0x140107943
movzx ecx, r9w
lea r10, [r9 + r10 - 0x673213a1]
mov esi, dword [r10 + rcx*2 - 0x273a]
or r9w, 0x7e98
movzx r11d, r9b
sets cl
xor esi, edi
movsx edx, r11b
rol esi, 1
movsx eax, r11b
xchg r11w, cx
dec esi
cwde
btc rdx, rax
bswap esi
movsx ebx, r11b
btr bx, r9w
jae 0x1402617ec
mov esi, dword [rdi]
mov r8d, 0x6210c70f
mov edx, r8d
or dx, r8w
lea rdi, [rdx + rdi - 0x6210c70b]
xor esi, ebx
mov eax, 0x880010b9
sub esi, 0xb9b06799
neg esi
lea esi, [rsi + r8 - 0x16d33403]
or rdx, 0xffffffffe928973a
bswap esi
mov ecx, eax
adc r8d, eax
not r8
push rbx
xor dword [rsp + rdx + 0x14c728c1], esi
dec eax
sar rcx, 0x83
pop rbx
mov r11d, r8d
bts dx, 0x20
idiv eax
movsxd rsi, esi
cdq
not ecx
call fcn.140289bd9
mov edi, 0xd0324e19
mov rax, qword [r9 + riz]
inc edi
jnp 0x14029081c
mov esi, 0x9f0008a5
mov edx, 0xb99d4996
mov r11w, word [r10 + riz]
inc rdx
shr edx, 0x41
lea r10, [r10 + rdx - 0x5ccea4c9]
sar rsi, 0xb
movzx ecx, word [rdi + rsi - 0x13e001]
movsx eax, si
lea rdi, [rdi + rsi*2 - 0x27c000]
not dl
movsx ebp, al
xor cx, bx
cwde
push rax
movsx r8d, si
neg cx
sub cx, bp
not cx
xor cx, 0x7900
xor bx, cx
lea rsi, [rax + rax*2 + 0x43b23c26]
lea rcx, [rsp + rcx + 8]
ror word [rsp + rdx - 0x5ccea434], 0xcc
mov word [rcx + rbp - 1], r11w
cdq
mov r8d, dword [rdi + rbp - 1]
lea rbp, [rdx + rax*8 + 0x3a998984]
movsx ecx, byte [rsp + 2]
call fcn.14016e419