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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r10, qword [rcx]
mov rsi, r8
mov rdi, qword [rsp + 0xa0]
movzx r11d, r9w
mov rbx, qword [rcx + 0x10]
mov r15, qword [rsp + 0xb0]
mov rax, qword [r10]
mov rbp, qword [rdi + 0x20]
mov r14, qword [rcx + 8]
mov r13, qword [rsp + 0xb8]
mov qword [rsp + 0x30], rax
movzx eax, byte [rbx + 0x10]
imul rax, rax, 0x68
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x20], rax
mov rax, qword [r10 + 8]
movsxd r10, dword [rdi]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rbx], rdx
mov r8, qword [rdi + 8]
mov dword [r15], eax
test r10d, r10d
jle 0x1400d47d1
add r8, 5
mov r9d, r10d
nop dword [rax + rax]
movsxd rax, dword [r8 + 3]
imul rdx, rax, 0x38
add rdx, qword [r14 + 0x20]
mov byte [r8], 0
mov rax, qword [rdx + 0x28]
and rax, rsi
cmp rax, qword [rdx + 0x28]
jne 0x1400d47c7
test word [rdx + 0x14], r11w
jne 0x1400d47c7
test r13, r13
jne 0x1400d47c3
movzx eax, byte [rdx + 0x17]
sub al, 0x49
cmp al, 1
jbe 0x1400d47c7
mov byte [r8], 1
add r8, 0xc
sub r9, 1
jne 0x1400d4790
lea rsi, [r10*8]
xor edx, edx
mov r8, rsi
mov rcx, rbp
mov r12, r10
call fcn.14012e2b0
mov rcx, qword [rsp + 0x20]
xor ebp, ebp
mov rdx, qword [rsp + 0x28]
movabs rax, 0x546d42aea2879f2e
mov qword [rdi + 0x30], rbp
mov r8, rdi
mov dword [rdi + 0x28], ebp
mov dword [rdi + 0x3c], ebp
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], 0x19
mov dword [rdi + 0x50], ebp
mov rax, qword [rcx + rdx + 0x58]
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x78], ebp
mov rdx, qword [rcx + rdx + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.1400d2070
test eax, eax
je 0x1400d4845
cmp eax, 0x13
cmove eax, ebp
jmp 0x1400d4af2
mov rcx, qword [rbx + 0x48]
mov r8, rsi
xor edx, edx
mov ebp, 0xffffffff
call fcn.14012e2b0
xorps xmm0, xmm0
xor r9d, r9d
mov r10d, r9d
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
mov rax, qword [rdi + 8]
test r12, r12
jle 0x1400d4992
lea rsi, [rax + 5]
mov r11d, r9d
mov rax, qword [rsp + 0x88]
movsxd rcx, dword [rax + r11*8]
lea r8d, [rcx - 1]
test r8d, r8d
js 0x1400d497f
cmp r8d, r12d
jge 0x1400d4a04
movsxd rax, dword [rsi + 3]
test eax, eax
js 0x1400d4a04
cmp eax, dword [r14 + 0x14]
jge 0x1400d4a04
mov r9, rcx
mov rcx, qword [rbx + 0x48]
cmp qword [rcx + r9*8 - 8], 0
jne 0x1400d4a04
cmp byte [rsi], 0
je 0x1400d4a04
imul rdx, rax, 0x38
add rdx, qword [r14 + 0x20]
mov rax, qword [rdx + 0x28]
or qword [rbx], rax
mov eax, r8d
cmp r8d, ebp
mov qword [rcx + r9*8 - 8], rdx
cmovle eax, ebp
mov ebp, eax
mov rax, qword [rsp + 0x88]
cmp byte [rax + r11*8 + 4], 0
je 0x1400d492a
cmp r10d, 0x10
jge 0x1400d4920
movzx eax, word [rsp + 0xa8]
bt eax, r10d
jb 0x1400d4920
movzx eax, word [rbx + 0x22]
bts eax, r8d
mov word [rbx + 0x22], ax
cmp byte [rdx + 0x17], 0x4a
jne 0x1400d492a
or dword [rbx + 0x1c], 2
mov ecx, r10d
mov eax, 1
shl eax, cl
mov r9d, 0
cmp r10d, 0x1f
cmovg eax, r9d
test dword [rdi + 0x78], eax
je 0x1400d4953
mov eax, dword [rbx + 0x30]
bts eax, r8d
mov dword [rbx + 0x30], eax
jmp 0x1400d4968
test byte [rdx + 0x14], 1
je 0x1400d4968
and dword [rdi + 0x50], 0xfffffffe
mov dword [rdi + 0x3c], r9d
mov dword [r15], 1
movzx eax, byte [rdx + 0x17]
sub al, 0x49
cmp al, 1
ja 0x1400d4977
cmp dword [r15], r9d
jne 0x1400d49dd
mov rax, qword [rsp + 0x88]
inc r10d
inc r11
add rsi, 0xc
cmp r11, r12
jl 0x1400d4885
lea eax, [rbp + 1]
mov ecx, r9d
mov word [rbx + 0x3c], ax
test ebp, ebp
js 0x1400d49b4
mov rax, qword [rbx + 0x48]
cmp qword [rax], 0
je 0x1400d4a04
inc ecx
add rax, 8
cmp ecx, ebp
jle 0x1400d49a4
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x18], eax
mov eax, dword [rbx + 0x1c]
xor eax, dword [rdi + 0x38]
and eax, 1
xor dword [rbx + 0x1c], eax
mov rax, qword [rdi + 0x30]
mov dword [rdi + 0x38], r9d
mov qword [rbx + 0x28], rax
cmp dword [rdi + 0x3c], 0
je 0x1400d4a31
mov eax, dword [rdi + 0x10]
jmp 0x1400d4a34
cmp dword [rdi + 0x38], r9d
je 0x1400d49f5
mov rcx, qword [rdi + 0x30]
call fcn.14002c0f0
xor eax, eax
mov qword [rdi + 0x30], rax
mov dword [rdi + 0x38], eax
mov dword [r13], 1
xor eax, eax
jmp 0x1400d4af2
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov r8, qword [r8 + rdx + 0x28]
lea rdx, str._s.xBestIndex_malfunction
mov r8, qword [r8]
call fcn.140030230
mov eax, 1
jmp 0x1400d4af2
mov eax, r9d
mov byte [rbx + 0x20], al
mov word [rbx + 0x12], r9w
movsd xmm0, qword [rdi + 0x40]
call fcn.140031600
mov word [rbx + 0x14], ax
mov rcx, qword [rdi + 0x48]
call fcn.140031570
mov edx, dword [rbx + 0x38]
mov word [rbx + 0x16], ax
mov eax, edx
mov ecx, dword [rdi + 0x50]
bts edx, 0xc
btr eax, 0xc
and cl, 1
mov rcx, qword [rsp + 0x80]
cmove edx, eax
mov dword [rbx + 0x38], edx
mov rdx, rbx
call fcn.1400d2940
test byte [rbx + 0x1c], 1
mov esi, eax
je 0x1400d4af0
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x1400d4aec
cmp dword [0x140188df0], 0
je 0x1400d4ae3
mov rcx, qword [0x1401967c8]
test rcx, rcx
je 0x1400d4aac
call qword [0x140188e70]
mov rcx, rdi
call qword [0x140188e28]
dec qword [0x1401965d8]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x140196590], rdx
call qword [0x140188e18]
mov rcx, qword [0x1401967c8]
test rcx, rcx
je 0x1400d4aec
call qword [0x140188e80]
jmp 0x1400d4aec
mov rcx, rdi
call qword [0x140188e18]
and dword [rbx + 0x1c], 0xfffffffe
mov eax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret