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

Disassembly:
mov r11, rsp
push r13
sub rsp, 0x90
mov rax, qword [rcx + 8]
mov r13, rcx
mov rcx, qword [rcx + 0x10]
cmp rax, rcx
je 0x1400c2821
cmp byte [r13 + 0x5e], 0
je 0x1400c2821
mov qword [r11 + 0x20], rsi
xor esi, esi
mov qword [r11 + 0x10], rbx
cmp byte [r13 + 0x2b0], sil
je 0x1400c27ca
sub rcx, rax
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x10], rdi
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov qword [r11 - 0x18], r12
mov dil, 1
mov rcx, rdx
mov qword [r11 - 0x20], r14
sar rcx, 2
mov r8d, esi
mov rax, rcx
mov dword [rsp + 0x24], esi
shr rax, 0x3f
mov ebx, esi
add rcx, rax
mov byte [rsp + 0x21], sil
xor al, al
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x20], al
xor dl, dl
mov byte [rsp + 0x30], al
mov r10, rcx
mov qword [rsp + 0x28], rcx
mov r9d, esi
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x48], rsi
mov qword [r11 - 0x28], r15
mov ebp, esi
movsxd r14, ebx
mov dword [rsp + 0x3c], ebx
mov qword [rsp + 0x60], r9
mov dword [rsp + 0x40], ebx
cmp r14, rcx
jb 0x1400c22bc
test ebp, ebp
jns 0x1400c27a0
mov rax, qword [r13 + 8]
lea rcx, [r9 + r9*2]
lea r11, [rax + rcx*8]
mov qword [rsp + 0x58], r11
test ebp, ebp
jne 0x1400c22e6
test dl, dl
jne 0x1400c22e6
xor al, al
mov dil, 1
mov byte [rsp + 0x20], al
mov byte [rsp + 0x30], al
mov dword [rsp + 0x34], edi
mov rcx, qword [r11]
xor dl, dl
mov dword [rsp + 0x38], edx
cmp rcx, qword [r11 + 8]
je 0x1400c278c
movsxd rsi, ebp
lea rax, [rsi + rsi*2]
lea r12, [rax*4]
movsx eax, byte [r13 + 0x268]
movzx r15d, byte [r12 + rcx]
mov ebx, r15d
cmp r15d, eax
je 0x1400c2345
mov ecx, ebx
call fcn.1400e7fe0
mov r11, qword [rsp + 0x58]
test eax, eax
mov r10, qword [rsp + 0x28]
mov eax, 0
mov r8d, dword [rsp + 0x24]
movzx edi, dil
cmove edi, eax
mov dword [rsp + 0x34], edi
mov r9, qword [r11]
movabs rax, 0x2aaaaaaaaaaaaaab
mov rcx, qword [r11 + 8]
sub rcx, r9
imul rcx
mov rdi, rdx
mov edx, 1
sar rdi, 1
mov rax, rdi
shr rax, 0x3f
add rdi, rax
lea eax, [rdi - 1]
cmp ebp, eax
jne 0x1400c2390
mov ecx, dword [rsp + 0x38]
lea rax, [rdi + rdi*2]
cmp byte [r9 + rax*4 - 0xc], 0x5c
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x38], ecx
cmp r10, r14
jb 0x1400c23a1
jne 0x1400c239c
cmp r8d, ebp
jle 0x1400c23a1
xor r8b, r8b
jmp 0x1400c23a4
mov r8b, 2
cmp byte [rsp + 0x21], 0
je 0x1400c2472
movzx eax, byte [r12 + r9 + 8]
and al, 0xfd
or al, r8b
mov byte [r12 + r9 + 8], al
movabs r12, 0x2aaaaaaaaaaaaaab
cmp r15b, 0x22
jne 0x1400c2425
mov r9, qword [r11]
lea r10d, [rbp + 1]
mov rcx, qword [r11 + 8]
mov rax, r12
sub rcx, r9
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10d, edx
jge 0x1400c241b
lea rax, [rsi + 1]
lea rax, [rax + rax*2]
cmp byte [r9 + rax*4], r15b
lea rcx, [r9 + rax*4]
jne 0x1400c241b
movzx eax, byte [rcx + 8]
mov ebp, r10d
and al, 0xfd
or al, r8b
mov byte [rcx + 8], al
jmp 0x1400c26b4
mov byte [rsp + 0x21], 0
jmp 0x1400c26b4
cmp r15b, 0x5c
jne 0x1400c26b9
mov r9, qword [r11]
mov rax, r12
mov rcx, qword [r11 + 8]
inc ebp
sub rcx, r9
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp ebp, edx
jge 0x1400c26b9
movsxd rax, ebp
lea rcx, [rax + rax*2]
movzx eax, byte [r9 + rcx*4 + 8]
and al, 0xfd
or al, r8b
mov byte [r9 + rcx*4 + 8], al
jmp 0x1400c26b9
cmp byte [rsp + 0x34], 0
je 0x1400c2491
mov ecx, dword [rsp + 0x30]
movsx eax, byte [r13 + 0x268]
cmp ebx, eax
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x30], ecx
cmp r15b, 0x22
jne 0x1400c24bb
movzx eax, byte [r12 + r9 + 8]
and al, 0xfd
mov byte [rsp + 0x21], 1
or al, r8b
mov byte [r12 + r9 + 8], al
movabs r12, 0x2aaaaaaaaaaaaaab
jmp 0x1400c26b9
lea rax, [r13 + 0x248]
mov r8, qword [rax + 0x10]
lea r10, [r12 + r9]
lea rcx, [r13 + 0x208]
test r8, r8
je 0x1400c2533
lea rdx, [r8 + rsi]
cmp rdx, rdi
ja 0x1400c2533
cmp qword [rax + 0x18], 0x10
lea rdx, [r8 + r8*2]
lea r9, [r10 + rdx*4]
jb 0x1400c24f9
mov rdx, qword [rax]
mov rax, rdx
add r8, rdx
jmp 0x1400c24fc
add r8, rax
mov rdx, r10
cmp rax, r8
je 0x1400c2521
cmp rdx, r9
je 0x1400c2533
movzx ebx, byte [rdx]
movsx r11d, byte [rax]
cmp r11d, ebx
jne 0x1400c2533
inc rax
add rdx, 0xc
cmp rax, r8
jne 0x1400c2504
cmp rdx, r9
jne 0x1400c2533
mov r9b, 1
mov byte [rsp + 0x20], r9b
jmp 0x1400c2618
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
jne 0x1400c2618
mov rdx, qword [rcx + 0x10]
lea rax, [rdx + rsi]
cmp rax, rdi
ja 0x1400c2618
cmp qword [rcx + 0x18], 0x10
lea rax, [rdx + rdx*2]
lea r8, [r10 + rax*4]
jb 0x1400c256d
mov rax, qword [rcx]
mov rcx, rax
add rdx, rax
jmp 0x1400c2570
add rdx, rcx
mov rax, r10
cmp rcx, rdx
je 0x1400c25a8
nop dword [rax + rax]
cmp rax, r8
je 0x1400c2612
movzx r11d, byte [rax]
movsx r9d, byte [rcx]
cmp r9d, r11d
jne 0x1400c2612
inc rcx
add rax, 0xc
cmp rcx, rdx
jne 0x1400c2580
movzx r9d, byte [rsp + 0x20]
cmp rax, r8
jne 0x1400c2618
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x24], ebp
mov cl, 2
movzx eax, byte [r10 + 8]
mov r11, qword [rsp + 0x58]
and al, 0xfd
or al, cl
mov byte [r10 + 8], al
lea rax, [r13 + 0x228]
mov rdx, qword [r11]
movzx ecx, byte [rdx + r12 + 8]
xor cl, r9b
and cl, 1
xor byte [rdx + r12 + 8], cl
lea ecx, [rbp + 1]
cmp ecx, dword [rax + 0x10]
jl 0x1400c26aa
mov r9, qword [rax + 0x10]
lea r8, [r10 + 0xc]
imul rcx, r9, 0xfffffffffffffff4
add rcx, r8
cmp qword [rax + 0x18], 0x10
jb 0x1400c265b
mov rdx, qword [rax]
mov rax, rdx
add rdx, r9
jmp 0x1400c265f
movzx r9d, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
cmp rcx, r14
jb 0x1400c25b6
mov r8d, dword [rsp + 0x24]
mov rdx, rcx
mov dword [rsp + 0x24], r8d
mov eax, r8d
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], r9b
jne 0x1400c2654
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x24], eax
mov byte [rsp + 0x20], r9b
cmp eax, ebp
jle 0x1400c25b6
xor cl, cl
jmp 0x1400c25b8
lea rdx, [r9 + rax]
cmp rax, rdx
je 0x1400c2682
cmp rcx, r8
je 0x1400c26aa
movsx r10d, byte [rax]
movzx r9d, byte [rcx]
cmp r10d, r9d
jne 0x1400c26aa
inc rax
add rcx, 0xc
cmp rax, rdx
jne 0x1400c2664
xor esi, esi
movabs r12, 0x2aaaaaaaaaaaaaab
cmp rcx, r8
jne 0x1400c26a3
mov r10, qword [rsp + 0x50]
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x24], esi
jmp 0x1400c26bb
mov r10, qword [rsp + 0x28]
jmp 0x1400c26bb
movabs r12, 0x2aaaaaaaaaaaaaab
mov r10, qword [rsp + 0x28]
xor esi, esi
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [r11]
lea rdx, [rax + rcx*4]
movzx ecx, byte [rsp + 0x30]
shl cl, 2
movzx eax, r15b
xor cl, byte [rdx + 8]
and al, 0xfe
and cl, 4
xor byte [rdx + 8], cl
cmp al, 0xfc
jne 0x1400c26eb
mov eax, 6
jmp 0x1400c272d
movzx eax, r15b
and al, 0xfc
cmp al, 0xf8
jne 0x1400c26fc
mov eax, 5
jmp 0x1400c272d
movzx eax, r15b
and al, 0xf8
cmp al, 0xf0
jne 0x1400c270d
mov eax, 4
jmp 0x1400c272d
movzx eax, r15b
and al, 0xf0
cmp al, 0xe0
jne 0x1400c271e
mov eax, 3
jmp 0x1400c272d
and r15b, 0xe0
mov eax, esi
cmp r15b, 0xc0
sete al
inc eax
mov r9, qword [rsp + 0x48]
lea r8d, [rax + rbp]
mov rcx, qword [r11 + 8]
mov rax, r12
sub rcx, qword [r11]
mov ebp, esi
mov ebx, dword [rsp + 0x3c]
mov edi, dword [rsp + 0x34]
imul rcx
mov rcx, qword [rsp + 0x50]
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
inc ebx
cmp r8d, edx
cmovl ebx, dword [rsp + 0x40]
cmovl ebp, r8d
inc r9
cmp r8d, edx
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x38]
cmovl r9, qword [rsp + 0x60]
mov qword [rsp + 0x48], r9
jmp 0x1400c229f
mov rcx, qword [rsp + 0x50]
inc ebx
inc r9
mov qword [rsp + 0x48], r9
jmp 0x1400c229d
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb0]
mov byte [r13 + 0x2b0], 0
mov edx, dword [r13 + 0x6c]
mov ecx, dword [r13 + 0x70]
cmp edx, ecx
jge 0x1400c2811
cmp qword [r13 + 0x270], 0
mov r8d, 0xa
mov ebx, 0x2710
cmove ebx, r8d
add ebx, edx
cmp ecx, ebx
cmovl ebx, ecx
mov rcx, r13
mov r8d, ebx
call fcn.1400c1bd0
mov dword [r13 + 0x6c], ebx
cmp dword [r13 + 0x70], ebx
jne 0x1400c2811
mov qword [r13 + 0x6c], 0x7fffffff
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
add rsp, 0x90
pop r13
ret