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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
xor ebx, ebx
mov rax, r9
movzx r12d, bx
mov r14, rcx
mov r9, r8
mov rcx, qword [rdx + 0x20]
mov r13, rdx
mov dword [rsp + 0x80], r12d
lea esi, [rbx + 1]
mov r10d, ebx
cmp dword [rdx + 0x14], ebx
jle 0x14006e954
mov r8d, dword [rax + 0x44]
add rcx, 0x28
mov edx, dword [rdx + 0x14]
cmp dword [rcx - 0xc], r8d
jne 0x14006e94b
test qword [rcx], r9
jne 0x14006e94b
movzx eax, word [rcx - 0x14]
test eax, 0xfffff7ff
je 0x14006e94b
add r10d, esi
add rcx, 0x38
sub rdx, rsi
jne 0x14006e932
mov r15, qword [rsp + 0xa0]
mov edi, ebx
mov ebp, 0x20
test r15, r15
je 0x14006e9b7
mov edx, ebx
cmp dword [r15], ebx
jle 0x14006e9b0
movsxd r11, dword [r15]
lea rcx, [r15 + 0x18]
mov r12, qword [rsp + 0x98]
mov r8, rbx
mov r9, qword [rcx - 0x10]
cmp byte [r9], 0xa4
jne 0x14006e9a8
mov eax, dword [r12 + 0x44]
cmp dword [r9 + 0x2c], eax
jne 0x14006e9a8
test byte [rcx], 2
jne 0x14006e9a8
add edx, esi
add r8, rsi
add rcx, rbp
cmp r8, r11
jl 0x14006e981
mov r12d, dword [rsp + 0x80]
cmp edx, dword [r15]
cmove edi, dword [r15]
mov rcx, qword [r14]
movsxd rsi, r10d
movsxd rbp, edi
mov qword [rsp + 0x20], rbp
lea rdx, [rsi + rsi*4]
shl rdx, 2
add rdx, 0x70
lea rdx, [rdx + rbp*8]
call fcn.14000964c
mov qword [rsp + 0x88], rax
mov r10, rax
test rax, rax
jne 0x14006ea00
lea rdx, [0x1400e10f8]
mov rcx, r14
call fcn.14000bee8
xor eax, eax
jmp 0x14006ebb5
lea r8, [rax + 0x70]
mov dword [r10 + 0x10], edi
lea rax, [rsi + rsi*2]
mov qword [r10 + 8], r8
lea rsi, [r8 + rax*4]
mov qword [r10 + 0x60], r13
mov qword [r10 + 0x18], rsi
lea rax, [rsi + rbp*8]
mov qword [r10 + 0x20], rax
mov r11d, ebx
mov qword [r10 + 0x68], r14
mov edi, ebx
mov r9, qword [r13 + 0x20]
mov qword [rsp + 0x28], rsi
cmp dword [r13 + 0x14], ebx
jle 0x14006eb61
mov r14, qword [rsp + 0x98]
mov esi, 0x20
mov r15, qword [rsp + 0x90]
add r8, 4
lea ebp, [rsi - 0x1e]
lea r10d, [rsi - 0x1f]
mov eax, dword [r14 + 0x44]
cmp dword [r9 + 0x1c], eax
jne 0x14006eb2e
test qword [r9 + 0x28], r15
jne 0x14006eb2e
movzx eax, word [r9 + 0x14]
test eax, 0xfffff7ff
je 0x14006eb2e
test byte [r14 + 0x3c], 8
je 0x14006ea9c
mov rax, qword [r9]
test byte [rax + 4], r10b
je 0x14006eb2e
mov eax, dword [r9 + 0x20]
mov dword [r8 - 4], eax
mov eax, 0x1fff
mov dword [r8 + 4], edi
movzx edx, word [r9 + 0x14]
and dx, ax
cmp dx, r10w
jne 0x14006eaf4
movzx edx, bp
mov byte [r8], dl
test dl, 0x3c
je 0x14006eb27
mov rcx, qword [r9]
mov rcx, qword [rcx + 0x18]
call fcn.1400390d0
cmp eax, r10d
jle 0x14006eb27
mov ecx, 0x10
cmp r11d, ecx
jge 0x14006eae9
movzx r12d, r12w
bts r12d, r11d
cmp dx, cx
jne 0x14006eb19
mov byte [r8], 8
jmp 0x14006eb27
cmp dx, 0x40
jne 0x14006eb00
mov al, byte [r9 + 0x17]
jmp 0x14006eb24
mov eax, 0x180
test ax, dx
je 0x14006eabe
mov eax, 0x100
cmp dx, ax
setne al
add al, 0x47
jmp 0x14006eb24
movzx eax, byte [r8]
cmp dx, 4
cmove eax, esi
mov byte [r8], al
add r11d, r10d
add r8, 0xc
add edi, r10d
add r9, 0x38
cmp edi, dword [r13 + 0x14]
jl 0x14006ea60
mov r10, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r15, qword [rsp + 0xa0]
mov dword [rsp + 0x80], r12d
mov dword [r10], r11d
test rbp, rbp
jle 0x14006eba6
mov r10d, 1
lea rdx, [r15 + 0x18]
lea r12d, [r10 + 0x1f]
mov rax, qword [rdx - 0x10]
movsx ecx, word [rax + 0x30]
mov dword [rsi + rbx*8], ecx
mov al, byte [rdx]
add rdx, r12
and al, r10b
mov byte [rsi + rbx*8 + 4], al
add rbx, r10
cmp rbx, rbp
jl 0x14006eb77
mov r10, qword [rsp + 0x88]
mov r12d, dword [rsp + 0x80]
mov rax, qword [rsp + 0xa8]
mov word [rax], r12w
mov rax, r10
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret