Function at 0x18006bc90
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 0x18006c2b0
cmp byte [r13 + 0x5e], 0
je 0x18006c2b0
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
xor esi, esi
cmp byte [r13 + 0x2b0], sil
je 0x18006c259
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 0x18006bd6f
test ebp, ebp
jns 0x18006c22f
mov rax, qword [r13 + 8]
lea rcx, [r9 + r9*2]
lea r11, [rax + rcx*8]
mov qword [rsp + 0x48], r11
jmp 0x18006bd99
mov rax, qword [r13 + 8]
lea rcx, [r9 + r9*2]
lea r11, [rax + rcx*8]
mov qword [rsp + 0x48], r11
test ebp, ebp
jne 0x18006bd99
test dl, dl
jne 0x18006bd99
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 0x18006c21b
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 0x18006bdf9
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
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 0x18006be44
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 0x18006be55
jne 0x18006be50
cmp r8d, ebp
jle 0x18006be55
xor r8b, r8b
jmp 0x18006be58
mov r8b, 2
cmp byte [rsp + 0x21], 0
je 0x18006bf26
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 0x18006bed9
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 0x18006becf
lea rax, [rsi + 1]
lea rax, [rax + rax*2]
cmp byte [r9 + rax*4], r15b
lea rcx, [r9 + rax*4]
jne 0x18006becf
movzx eax, byte [rcx + 8]
mov ebp, r10d
and al, 0xfd
or al, r8b
mov byte [rcx + 8], al
jmp 0x18006c144
mov byte [rsp + 0x21], 0
jmp 0x18006c144
cmp r15b, 0x5c
jne 0x18006c149
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 0x18006c149
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 0x18006c149
cmp byte [rsp + 0x34], 0
je 0x18006bf45
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 0x18006bf6f
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 0x18006c149
lea rax, [r13 + 0x248]
mov r8, qword [rax + 0x10]
lea r10, [r12 + r9]
lea rcx, [r13 + 0x208]
test r8, r8
je 0x18006c026
lea rdx, [r8 + rsi]
cmp rdx, rdi
ja 0x18006c026
cmp qword [rax + 0x18], 0x10
lea rdx, [r8 + r8*2]
lea r9, [r10 + rdx*4]
jb 0x18006bfb5
mov rdx, qword [rax]
mov rax, rdx
add r8, rdx
jmp 0x18006bfb8
add r8, rax
mov rdx, r10
cmp rax, r8
je 0x18006bfdd
cmp rdx, r9
je 0x18006c026
movsx ebx, byte [rax]
movzx r11d, byte [rdx]
cmp ebx, r11d
jne 0x18006c026
inc rax
add rdx, 0xc
cmp rax, r8
jne 0x18006bfc0
cmp rdx, r9
jne 0x18006c026
mov bl, 1
mov byte [rsp + 0x20], bl
mov rcx, qword [rsp + 0x28]
cmp rcx, r14
jb 0x18006c095
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 0x18006c022
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x24], eax
mov byte [rsp + 0x20], bl
cmp eax, ebp
jle 0x18006c095
xor cl, cl
jmp 0x18006c097
movzx ebx, byte [rsp + 0x20]
test bl, bl
jne 0x18006bfe8
mov rdx, qword [rcx + 0x10]
lea rax, [rdx + rsi]
cmp rax, rdi
ja 0x18006bfe8
cmp qword [rcx + 0x18], 0x10
lea rax, [rdx + rdx*2]
lea r8, [r10 + rax*4]
jb 0x18006c056
mov rax, qword [rcx]
mov rcx, rax
add rdx, rax
jmp 0x18006c059
add rdx, rcx
mov rax, r10
cmp rcx, rdx
je 0x18006c083
cmp rax, r8
je 0x18006bfe8
movzx r11d, byte [rax]
movsx r9d, byte [rcx]
cmp r9d, r11d
jne 0x18006bfe8
inc rcx
add rax, 0xc
cmp rcx, rdx
jne 0x18006c061
cmp rax, r8
jne 0x18006bfe8
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 0x18006c13a
mov r9, qword [rax + 0x10]
lea r8, [r10 + 0xc]
imul rcx, r9, 0xfffffffffffffff4
add rcx, r8
cmp qword [rax + 0x18], 0x10
jb 0x18006c0eb
mov rdx, qword [rax]
mov rax, rdx
add rdx, r9
jmp 0x18006c0ef
lea rdx, [r9 + rax]
cmp rax, rdx
je 0x18006c112
cmp rcx, r8
je 0x18006c13a
movsx r10d, byte [rax]
movzx r9d, byte [rcx]
cmp r10d, r9d
jne 0x18006c13a
inc rax
add rcx, 0xc
cmp rax, rdx
jne 0x18006c0f4
xor esi, esi
movabs r12, 0x2aaaaaaaaaaaaaab
cmp rcx, r8
jne 0x18006c133
mov r10, qword [rsp + 0x58]
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x24], esi
jmp 0x18006c14b
mov r10, qword [rsp + 0x28]
jmp 0x18006c14b
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 0x18006c17a
mov eax, 6
jmp 0x18006c1bc
movzx eax, r15b
and al, 0xfc
cmp al, 0xf8
jne 0x18006c18b
mov eax, 5
jmp 0x18006c1bc
movzx eax, r15b
and al, 0xf8
cmp al, 0xf0
jne 0x18006c19c
mov eax, 4
jmp 0x18006c1bc
movzx eax, r15b
and al, 0xf0
cmp al, 0xe0
jne 0x18006c1ad
mov eax, 3
jmp 0x18006c1bc
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 0x18006bd3f
mov rcx, qword [rsp + 0x58]
inc ebx
inc r9
mov qword [rsp + 0x50], r9
jmp 0x18006bd3d
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 0x18006c2a0
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.18006b620
mov dword [r13 + 0x6c], ebx
cmp dword [r13 + 0x70], ebx
jne 0x18006c2a0
mov qword [r13 + 0x6c], 0x7fffffff
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
add rsp, 0x90
pop r13
ret