Function at 0x180069bc0
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 0x18006a1e0
cmp byte [r13 + 0x5e], 0
je 0x18006a1e0
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
xor esi, esi
cmp byte [r13 + 0x2b0], sil
je 0x18006a189
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 + 0x58], 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 + 0x50], 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 0x180069c9f
test ebp, ebp
jns 0x18006a15f
mov rax, qword [r13 + 8]
lea rcx, [r9 + r9*2]
lea r11, [rax + rcx*8]
mov qword [rsp + 0x48], r11
jmp 0x180069cc9
mov rax, qword [r13 + 8]
lea rcx, [r9 + r9*2]
lea r11, [rax + rcx*8]
mov qword [rsp + 0x48], r11
test ebp, ebp
jne 0x180069cc9
test dl, dl
jne 0x180069cc9
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 0x18006a14b
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 0x180069d28
mov ecx, ebx
call fcn.1800b8c00
mov r11, qword [rsp + 0x48]
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 0x180069d73
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 0x180069d84
jne 0x180069d7f
cmp r8d, ebp
jle 0x180069d84
xor r8b, r8b
jmp 0x180069d87
mov r8b, 2
cmp byte [rsp + 0x21], 0
je 0x180069e55
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 0x180069e08
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 0x180069dfe
lea rax, [rsi + 1]
lea rax, [rax + rax*2]
cmp byte [r9 + rax*4], r15b
lea rcx, [r9 + rax*4]
jne 0x180069dfe
movzx eax, byte [rcx + 8]
mov ebp, r10d
and al, 0xfd
or al, r8b
mov byte [rcx + 8], al
jmp 0x18006a074
mov byte [rsp + 0x21], 0
jmp 0x18006a074
cmp r15b, 0x5c
jne 0x18006a079
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 0x18006a079
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 0x18006a079
cmp byte [rsp + 0x34], 0
je 0x180069e74
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 0x180069e9e
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 0x18006a079
lea rax, [r13 + 0x248]
mov r8, qword [rax + 0x10]
lea r10, [r12 + r9]
lea rcx, [r13 + 0x208]
test r8, r8
je 0x180069f56
lea rdx, [r8 + rsi]
cmp rdx, rdi
ja 0x180069f56
cmp qword [rax + 0x18], 0x10
lea rdx, [r8 + r8*2]
lea r9, [r10 + rdx*4]
jb 0x180069ee4
mov rdx, qword [rax]
mov rax, rdx
add r8, rdx
jmp 0x180069ee7
add r8, rax
mov rdx, r10
cmp rax, r8
je 0x180069f0d
nop
cmp rdx, r9
je 0x180069f56
movsx ebx, byte [rax]
movzx r11d, byte [rdx]
cmp ebx, r11d
jne 0x180069f56
inc rax
add rdx, 0xc
cmp rax, r8
jne 0x180069ef0
cmp rdx, r9
jne 0x180069f56
mov bl, 1
mov byte [rsp + 0x20], bl
mov rcx, qword [rsp + 0x28]
cmp rcx, r14
jb 0x180069fc5
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], bl
jne 0x180069f52
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x24], eax
mov byte [rsp + 0x20], bl
cmp eax, ebp
jle 0x180069fc5
xor cl, cl
jmp 0x180069fc7
movzx ebx, byte [rsp + 0x20]
test bl, bl
jne 0x180069f18
mov rdx, qword [rcx + 0x10]
lea rax, [rdx + rsi]
cmp rax, rdi
ja 0x180069f18
cmp qword [rcx + 0x18], 0x10
lea rax, [rdx + rdx*2]
lea r8, [r10 + rax*4]
jb 0x180069f86
mov rax, qword [rcx]
mov rcx, rax
add rdx, rax
jmp 0x180069f89
add rdx, rcx
mov rax, r10
cmp rcx, rdx
je 0x180069fb3
cmp rax, r8
je 0x180069f18
movzx r11d, byte [rax]
movsx r9d, byte [rcx]
cmp r9d, r11d
jne 0x180069f18
inc rcx
add rax, 0xc
cmp rcx, rdx
jne 0x180069f91
cmp rax, r8
jne 0x180069f18
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x24], ebp
mov cl, 2
movzx eax, byte [r10 + 8]
mov r11, qword [rsp + 0x48]
and al, 0xfd
or al, cl
mov byte [r10 + 8], al
movzx eax, bl
mov rcx, qword [r11]
xor al, byte [rcx + r12 + 8]
and al, 1
xor byte [rcx + r12 + 8], al
lea rax, [r13 + 0x228]
lea ecx, [rbp + 1]
cmp ecx, dword [rax + 0x10]
jl 0x18006a06a
mov r9, qword [rax + 0x10]
lea r8, [r10 + 0xc]
imul rcx, r9, 0xfffffffffffffff4
add rcx, r8
cmp qword [rax + 0x18], 0x10
jb 0x18006a01b
mov rdx, qword [rax]
mov rax, rdx
add rdx, r9
jmp 0x18006a01f
lea rdx, [r9 + rax]
cmp rax, rdx
je 0x18006a042
cmp rcx, r8
je 0x18006a06a
movsx r10d, byte [rax]
movzx r9d, byte [rcx]
cmp r10d, r9d
jne 0x18006a06a
inc rax
add rcx, 0xc
cmp rax, rdx
jne 0x18006a024
xor esi, esi
movabs r12, 0x2aaaaaaaaaaaaaab
cmp rcx, r8
jne 0x18006a063
mov r10, qword [rsp + 0x58]
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x24], esi
jmp 0x18006a07b
mov r10, qword [rsp + 0x28]
jmp 0x18006a07b
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 eax, byte [rsp + 0x30]
shl al, 2
xor al, byte [rdx + 8]
and al, 4
xor byte [rdx + 8], al
movzx eax, r15b
and al, 0xfe
cmp al, 0xfc
jne 0x18006a0aa
mov eax, 6
jmp 0x18006a0ec
movzx eax, r15b
and al, 0xfc
cmp al, 0xf8
jne 0x18006a0bb
mov eax, 5
jmp 0x18006a0ec
movzx eax, r15b
and al, 0xf8
cmp al, 0xf0
jne 0x18006a0cc
mov eax, 4
jmp 0x18006a0ec
movzx eax, r15b
and al, 0xf0
cmp al, 0xe0
jne 0x18006a0dd
mov eax, 3
jmp 0x18006a0ec
and r15b, 0xe0
mov eax, esi
cmp r15b, 0xc0
sete al
inc eax
mov r9, qword [rsp + 0x50]
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 + 0x58]
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 + 0x50], r9
jmp 0x180069c6f
mov rcx, qword [rsp + 0x58]
inc ebx
inc r9
mov qword [rsp + 0x50], r9
jmp 0x180069c6d
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 0x18006a1d0
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.18006a1f0
mov dword [r13 + 0x6c], ebx
cmp dword [r13 + 0x70], ebx
jne 0x18006a1d0
mov qword [r13 + 0x6c], 0x7fffffff
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
add rsp, 0x90
pop r13
ret