Function at 0x18006ec24
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.180044a48
movzx esi, byte [r14 + 0x39]
xor r15d, r15d
sub rsi, 1
js 0x18006eee9
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.180034028
cmp byte [rdi + 0x11], 0x9a
je 0x18006ece2
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.180033e88
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x18006ece2
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 0x18006ed9c
cmp dword [rdi + 0x1c], r15d
jle 0x18006ed9c
mov edx, dword [rdi - 4]
mov rcx, rbx
call fcn.180034028
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 0x18006ed91
mov eax, dword [r15 + 4]
mov edx, dword [rbx + 0x3c]
inc eax
cmp edx, eax
jbe 0x18006ed3a
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.180033e88
mov eax, dword [r15 + 4]
mov edx, dword [rbx + 0x3c]
dec eax
cmp edx, eax
jbe 0x18006ed79
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 0x18006ed1e
mov rdx, qword [rdi + 0x24]
mov rcx, r14
call fcn.18001ae10
xor r15d, r15d
mov edx, dword [rdi - 8]
mov rcx, rbx
call fcn.180034028
mov r9d, dword [rdi]
test r9d, r9d
je 0x18006ee07
xor r8d, r8d
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0x10]
call fcn.180033e88
mov edx, dword [rbx + 0x3c]
cmp edx, dword [rdi]
jbe 0x18006edd8
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 0x18006edfd
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 0x18006eebf
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0x89
mov rcx, rbx
call fcn.180033e88
mov ecx, dword [r13 + 0x28]
mov ebp, eax
test cl, 0x40
jne 0x18006ee50
mov r8d, dword [r12]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x68]
call fcn.180033e88
mov ecx, dword [r13 + 0x28]
bt ecx, 9
jae 0x18006ee6e
mov r8d, dword [rdi - 0xc]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x68]
call fcn.180033e88
mov al, byte [rdi + 0x11]
cmp al, 0x12
jne 0x18006ee7b
mov r8d, dword [rdi + 0x14]
jmp 0x18006ee7e
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.180033e88
mov edx, dword [rbx + 0x3c]
cmp edx, ebp
jbe 0x18006eeb5
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 0x18006ec9c
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.180034028
mov r12d, r15d
cmp byte [r14 + 0x39], r15b
jbe 0x18006f0f6
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 0x18006ef8e
cmp byte [r13 + 0x51], 0
jne 0x18006ef8e
mov edx, dword [rdi - 0x20]
mov rcx, rbx
mov r9d, dword [rbx + 0x3c]
call fcn.180034548
cmp dword [rdi - 0x20], r9d
jge 0x18006f0e1
sub r9d, dword [rdi - 0x20]
lea rcx, [rax + 4]
mov edx, r9d
mov eax, dword [rdi - 0x3c]
cmp dword [rcx], eax
jne 0x18006ef7f
mov al, byte [rcx - 4]
cmp al, 0x2f
jne 0x18006ef70
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 0x18006ef7b
cmp al, 0x67
jne 0x18006ef7f
and dword [rcx], 0
mov byte [rcx - 4], 0x1c
and dword [rcx + 8], 0
add rcx, 0x18
sub rdx, 1
jne 0x18006ef4c
jmp 0x18006f0e1
test byte [r15 + 0x48], 2
jne 0x18006eff8
cmp qword [r15 + 0x18], 0
jne 0x18006eff8
test byte [r14 + 0x32], 0x10
jne 0x18006eff8
cmp byte [r14 + 0x36], 0
mov esi, dword [rbp + 0x28]
jne 0x18006efcc
test sil, 0x40
jne 0x18006efcc
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [r10 + r11 + 0x50]
mov rcx, rbx
lea edx, [r9 + 0x3d]
call fcn.180033e88
and esi, 0x4300
cmp esi, 0x200
jne 0x18006eff8
mov r8d, dword [rdi - 0x38]
cmp r8d, dword [r14 + 0x50]
je 0x18006eff8
and dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 0x3d]
call fcn.180033e88
test dword [rbp + 0x28], 0x240
je 0x18006f007
mov r11, qword [rbp + 0x20]
jmp 0x18006f018
test dword [rbp + 0x28], 0x2000
je 0x18006f0d9
mov r11, qword [rdi - 0x10]
test r11, r11
je 0x18006f0d9
cmp byte [r13 + 0x51], 0
jne 0x18006f0d9
mov edx, dword [rdi - 0x20]
mov rcx, rbx
mov r9d, dword [rbx + 0x3c]
call fcn.180034548
cmp dword [rdi - 0x20], r9d
jge 0x18006f0d9
sub r9d, dword [rdi - 0x20]
lea rdx, [rax + 4]
mov esi, r9d
mov eax, dword [rdi - 0x3c]
cmp dword [rdx], eax
jne 0x18006f0cb
mov al, byte [rdx - 4]
cmp al, 0x2f
jne 0x18006f0be
test byte [r15 + 0x48], 0x20
movsxd r10, dword [rdx + 4]
je 0x18006f08b
mov r8, qword [r15 + 0x10]
jmp 0x18006f07d
mov eax, dword [r8 + 0x5c]
and al, 3
cmp al, 2
je 0x18006f082
mov r8, qword [r8 + 0x28]
test r8, r8
jne 0x18006f06f
mov rax, qword [r8 + 8]
movsx r10d, word [rax + r10*2]
movzx r8d, word [r11 + 0x58]
xor ecx, ecx
test r8d, r8d
je 0x18006f0ac
mov r9, qword [r11 + 8]
movsxd rax, ecx
cmp r10w, word [r9 + rax*2]
je 0x18006f0af
inc ecx
cmp ecx, r8d
jl 0x18006f09b
or ecx, 0xffffffff
movsx eax, cx
test eax, eax
js 0x18006f0cb
mov dword [rdx + 4], eax
mov eax, dword [rdi - 0x38]
jmp 0x18006f0c9
cmp al, 0x67
jne 0x18006f0cb
mov eax, dword [rdi - 0x38]
mov byte [rdx - 4], 0x70
mov dword [rdx], eax
add rdx, 0x18
sub rsi, 1
jne 0x18006f050
mov r11, qword [rsp + 0x88]
movzx eax, byte [r14 + 0x39]
inc r12d
add rdi, 0x50
cmp r12d, eax
jl 0x18006ef09
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.18006b834