Function at 0x1400a0660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
sar eax, 3
cdqe
lea rcx, [0x1402ef598]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1400a06a3
mov dword [rsp + 0x30], 1
jmp 0x1400a06ab
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp qword [rsp + 0x90], 0
jne 0x1400a06e1
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x88], rax
jae 0x1400a070e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x34], eax
jmp 0x1400a0716
mov dword [rsp + 0x34], 0
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x34]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
inc rax
cmp rax, qword [rsp + 0x90]
jae 0x1400a0758
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x38], eax
jmp 0x1400a0760
mov dword [rsp + 0x38], 0
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x38]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
add rax, 2
cmp rax, qword [rsp + 0x90]
jae 0x1400a07a3
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x3c], eax
jmp 0x1400a07ab
mov dword [rsp + 0x3c], 0
mov eax, 1
imul rax, rax, 2
movzx ecx, byte [rsp + 0x3c]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
add rax, 3
cmp rax, qword [rsp + 0x90]
jae 0x1400a07ee
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x40], eax
jmp 0x1400a07f6
mov dword [rsp + 0x40], 0
mov eax, 1
imul rax, rax, 3
movzx ecx, byte [rsp + 0x40]
mov byte [rsp + rax + 0x24], cl
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
movsxd rcx, dword [rsp + 0x28]
lea rdx, [0x1402ef5d0]
and eax, dword [rdx + rcx*4]
shl eax, 0x12
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
shl eax, 0xc
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
shl eax, 6
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1402ef580]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rcx
movzx ecx, al
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
shr eax, cl
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1402ef568]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
cmp dword [rdx], eax
jae 0x1400a0912
mov dword [rsp + 0x44], 1
jmp 0x1400a091a
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
shl eax, 6
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
shr eax, 0xb
cmp eax, 0x1b
jne 0x1400a0941
mov dword [rsp + 0x48], 1
jmp 0x1400a0949
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
shl eax, 7
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xffff
jbe 0x1400a0976
mov dword [rsp + 0x4c], 1
jmp 0x1400a097e
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
shl eax, 8
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
and eax, 0xc0
sar eax, 2
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
and eax, 0xc0
sar eax, 4
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
sar eax, 6
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
xor eax, 0x2a
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1402ef5b8]
mov eax, dword [rcx + rax*4]
movzx ecx, al
mov eax, dword [rsp + 0x20]
sar eax, cl
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400a0ae5
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x1400a0a40
mov dword [rsp + 0x54], 1
jmp 0x1400a0a48
mov dword [rsp + 0x54], 0
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x1400a0a64
mov dword [rsp + 0x50], 1
jmp 0x1400a0a6c
mov dword [rsp + 0x50], 0
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x1400a0a88
mov dword [rsp + 0x58], 1
jmp 0x1400a0a90
mov dword [rsp + 0x58], 0
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x1400a0aac
mov dword [rsp + 0x5c], 1
jmp 0x1400a0ab4
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x58]
add eax, dword [rsp + 0x5c]
mov edx, eax
mov ecx, dword [rsp + 0x2c]
call fcn.1400c1530
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xfffd
mov eax, dword [rsp + 0x2c]
add rsp, 0x78
ret