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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx]
mov r14, rcx
mov r11, qword [rcx + 8]
mov rcx, rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], r11
mov r13, qword [rax]
mov rbx, qword [rax + 0x10]
mov qword [rsp + 0x90], r13
call fcn.1800448fc
movzx esi, byte [r14 + 0x39]
xor r15d, r15d
sub rsi, 1
js 0x18006ed85
imul rax, rsi, 0x78
lea rdi, [r14 + 0x354]
mov r14, r13
lea r12, [r11 + 0x50]
add r12, rax
lea rax, [rsi + rsi*4]
shl rax, 4
add rdi, rax
mov edx, dword [rdi + 4]
mov rcx, rbx
mov r13, qword [rdi + 0x2c]
call fcn.180033f18
cmp byte [rdi + 0x11], 0x9a
je 0x18006eb7e
movzx eax, byte [rdi + 0x12]
movzx edx, byte [rdi + 0x11]
mov r9d, dword [rdi + 0x18]
mov r8d, dword [rdi + 0x14]
mov dword [rsp + 0x20], eax
call fcn.180033d78
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x18006eb7e
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov al, byte [rdi + 0x13]
mov byte [rdx + rcx*8 - 0x15], al
test dword [r13 + 0x28], 0x800
je 0x18006ec38
cmp dword [rdi + 0x1c], r15d
jle 0x18006ec38
mov edx, dword [rdi - 4]
mov rcx, rbx
call fcn.180033f18
mov ebp, dword [rdi + 0x1c]
mov rdx, qword [rdi + 0x24]
lea eax, [rbp - 1]
movsxd rcx, eax
lea rax, [rcx + rcx*2]
lea r15, [rdx + rax*4]
test ebp, ebp
jle 0x18006ec2d
mov eax, dword [r15 + 4]
mov edx, dword [rbx + 0x3c]
inc eax
cmp edx, eax
jbe 0x18006ebd6
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
and dword [rsp + 0x20], 0
mov dword [rax + 0x64], ecx
mov rcx, rbx
movzx edx, byte [r15 + 8]
mov r9d, dword [r15 + 4]
mov r8d, dword [r15]
call fcn.180033d78
mov eax, dword [r15 + 4]
mov edx, dword [rbx + 0x3c]
dec eax
cmp edx, eax
jbe 0x18006ec15
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
dec ebp
sub r15, 0xc
mov dword [rax + 0x64], ecx
test ebp, ebp
jg 0x18006ebba
mov rdx, qword [rdi + 0x24]
mov rcx, r14
call fcn.18001acf0
xor r15d, r15d
mov edx, dword [rdi - 8]
mov rcx, rbx
call fcn.180033f18
mov r9d, dword [rdi]
test r9d, r9d
je 0x18006eca3
xor r8d, r8d
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0x10]
call fcn.180033d78
mov edx, dword [rbx + 0x3c]
cmp edx, dword [rdi]
jbe 0x18006ec74
mov eax, dword [rdi]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov eax, dword [rdi]
mov edx, dword [rbx + 0x3c]
sub eax, 2
cmp edx, eax
jbe 0x18006ec99
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov r8d, dword [rdi - 0x14]
test r8d, r8d
je 0x18006ed5b
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0x89
mov rcx, rbx
call fcn.180033d78
mov ecx, dword [r13 + 0x28]
mov ebp, eax
test cl, 0x40
jne 0x18006ecec
mov r8d, dword [r12]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x68]
call fcn.180033d78
mov ecx, dword [r13 + 0x28]
bt ecx, 9
jae 0x18006ed0a
mov r8d, dword [rdi - 0xc]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x68]
call fcn.180033d78
mov al, byte [rdi + 0x11]
cmp al, 0x12
jne 0x18006ed17
mov r8d, dword [rdi + 0x14]
jmp 0x18006ed1a
mov r8d, r15d
mov r9d, dword [rdi + 8]
sub al, 0x12
neg al
mov dword [rsp + 0x20], r15d
mov rcx, rbx
sbb edx, edx
add edx, 0x11
call fcn.180033d78
mov edx, dword [rbx + 0x3c]
cmp edx, ebp
jbe 0x18006ed51
mov rax, qword [rbx + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
sub rdi, 0x50
sub r12, 0x78
sub rsi, 1
jns 0x18006eb38
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x90]
mov r11, qword [rsp + 0x88]
mov edx, dword [r14 + 0x44]
mov rcx, rbx
call fcn.180033f18
mov r12d, r15d
cmp byte [r14 + 0x39], r15b
jbe 0x18006ef92
lea rdi, [r14 + 0x380]
movzx eax, byte [rdi - 0x1c]
mov rbp, qword [rdi]
imul r10, rax, 0x78
test byte [r10 + r11 + 0x48], 4
mov r15, qword [r10 + r11 + 0x28]
je 0x18006ee2a
cmp byte [r13 + 0x51], 0
jne 0x18006ee2a
mov edx, dword [rdi - 0x20]
mov rcx, rbx
mov r9d, dword [rbx + 0x3c]
call fcn.180034438
cmp dword [rdi - 0x20], r9d
jge 0x18006ef7d
sub r9d, dword [rdi - 0x20]
lea rcx, [rax + 4]
mov edx, r9d
mov eax, dword [rdi - 0x3c]
cmp dword [rcx], eax
jne 0x18006ee1b
mov al, byte [rcx - 4]
cmp al, 0x2f
jne 0x18006ee0c
mov byte [rcx - 4], 0x21
mov eax, dword [r10 + r11 + 0x40]
add eax, dword [rcx + 4]
mov dword [rcx], eax
mov eax, dword [rcx + 8]
mov dword [rcx + 4], eax
jmp 0x18006ee17
cmp al, 0x67
jne 0x18006ee1b
and dword [rcx], 0
mov byte [rcx - 4], 0x1c
and dword [rcx + 8], 0
add rcx, 0x18
sub rdx, 1
jne 0x18006ede8
jmp 0x18006ef7d
test byte [r15 + 0x48], 2
jne 0x18006ee94
cmp qword [r15 + 0x18], 0
jne 0x18006ee94
test byte [r14 + 0x32], 0x10
jne 0x18006ee94
cmp byte [r14 + 0x36], 0
mov esi, dword [rbp + 0x28]
jne 0x18006ee68
test sil, 0x40
jne 0x18006ee68
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [r10 + r11 + 0x50]
mov rcx, rbx
lea edx, [r9 + 0x3d]
call fcn.180033d78
and esi, 0x4300
cmp esi, 0x200
jne 0x18006ee94
mov r8d, dword [rdi - 0x38]
cmp r8d, dword [r14 + 0x50]
je 0x18006ee94
and dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 0x3d]
call fcn.180033d78
test dword [rbp + 0x28], 0x240
je 0x18006eea3
mov r11, qword [rbp + 0x20]
jmp 0x18006eeb4
test dword [rbp + 0x28], 0x2000
je 0x18006ef75
mov r11, qword [rdi - 0x10]
test r11, r11
je 0x18006ef75
cmp byte [r13 + 0x51], 0
jne 0x18006ef75
mov edx, dword [rdi - 0x20]
mov rcx, rbx
mov r9d, dword [rbx + 0x3c]
call fcn.180034438
cmp dword [rdi - 0x20], r9d
jge 0x18006ef75
sub r9d, dword [rdi - 0x20]
lea rdx, [rax + 4]
mov esi, r9d
mov eax, dword [rdi - 0x3c]
cmp dword [rdx], eax
jne 0x18006ef67
mov al, byte [rdx - 4]
cmp al, 0x2f
jne 0x18006ef5a
test byte [r15 + 0x48], 0x20
movsxd r10, dword [rdx + 4]
je 0x18006ef27
mov r8, qword [r15 + 0x10]
jmp 0x18006ef19
mov eax, dword [r8 + 0x5c]
and al, 3
cmp al, 2
je 0x18006ef1e
mov r8, qword [r8 + 0x28]
test r8, r8
jne 0x18006ef0b
mov rax, qword [r8 + 8]
movsx r10d, word [rax + r10*2]
movzx r8d, word [r11 + 0x58]
xor ecx, ecx
test r8d, r8d
je 0x18006ef48
mov r9, qword [r11 + 8]
movsxd rax, ecx
cmp r10w, word [r9 + rax*2]
je 0x18006ef4b
inc ecx
cmp ecx, r8d
jl 0x18006ef37
or ecx, 0xffffffff
movsx eax, cx
test eax, eax
js 0x18006ef67
mov dword [rdx + 4], eax
mov eax, dword [rdi - 0x38]
jmp 0x18006ef65
cmp al, 0x67
jne 0x18006ef67
mov eax, dword [rdi - 0x38]
mov byte [rdx - 4], 0x70
mov dword [rdx], eax
add rdx, 0x18
sub rsi, 1
jne 0x18006eeec
mov r11, qword [rsp + 0x88]
movzx eax, byte [r14 + 0x39]
inc r12d
add rdi, 0x50
cmp r12d, eax
jl 0x18006eda5
mov rcx, qword [rsp + 0x98]
mov rdx, r14
mov eax, dword [r14 + 0x48]
mov dword [rcx + 0x1d8], eax
mov rcx, r13
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.18006b6d0