Function at 0x1800d5ef0
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 0x1800d5fc1
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 0x1800d5fb7
test word [rdx + 0x14], r11w
jne 0x1800d5fb7
test r13, r13
jne 0x1800d5fb3
movzx eax, byte [rdx + 0x17]
sub al, 0x49
cmp al, 1
jbe 0x1800d5fb7
mov byte [r8], 1
add r8, 0xc
sub r9, 1
jne 0x1800d5f80
lea rsi, [r10*8]
xor edx, edx
mov r8, rsi
mov rcx, rbp
mov r12, r10
call fcn.18013d7a0
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.1800d35b0
test eax, eax
je 0x1800d6035
cmp eax, 0x13
cmove eax, ebp
jmp 0x1800d62e2
mov rcx, qword [rbx + 0x48]
mov r8, rsi
xor edx, edx
mov ebp, 0xffffffff
call fcn.18013d7a0
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 0x1800d6182
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 0x1800d616f
cmp r8d, r12d
jge 0x1800d61f4
movsxd rax, dword [rsi + 3]
test eax, eax
js 0x1800d61f4
cmp eax, dword [r14 + 0x14]
jge 0x1800d61f4
mov r9, rcx
mov rcx, qword [rbx + 0x48]
cmp qword [rcx + r9*8 - 8], 0
jne 0x1800d61f4
cmp byte [rsi], 0
je 0x1800d61f4
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 0x1800d611a
cmp r10d, 0x10
jge 0x1800d6110
movzx eax, word [rsp + 0xa8]
bt eax, r10d
jb 0x1800d6110
movzx eax, word [rbx + 0x22]
bts eax, r8d
mov word [rbx + 0x22], ax
cmp byte [rdx + 0x17], 0x4a
jne 0x1800d611a
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 0x1800d6143
mov eax, dword [rbx + 0x30]
bts eax, r8d
mov dword [rbx + 0x30], eax
jmp 0x1800d6158
test byte [rdx + 0x14], 1
je 0x1800d6158
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 0x1800d6167
cmp dword [r15], r9d
jne 0x1800d61cd
mov rax, qword [rsp + 0x88]
inc r10d
inc r11
add rsi, 0xc
cmp r11, r12
jl 0x1800d6075
lea eax, [rbp + 1]
mov ecx, r9d
mov word [rbx + 0x3c], ax
test ebp, ebp
js 0x1800d61a4
mov rax, qword [rbx + 0x48]
cmp qword [rax], 0
je 0x1800d61f4
inc ecx
add rax, 8
cmp ecx, ebp
jle 0x1800d6194
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 0x1800d6221
mov eax, dword [rdi + 0x10]
jmp 0x1800d6224
cmp dword [rdi + 0x38], r9d
je 0x1800d61e5
mov rcx, qword [rdi + 0x30]
call fcn.18002a420
xor eax, eax
mov qword [rdi + 0x30], rax
mov dword [rdi + 0x38], eax
mov dword [r13], 1
xor eax, eax
jmp 0x1800d62e2
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.18002e270
mov eax, 1
jmp 0x1800d62e2
mov eax, r9d
mov byte [rbx + 0x20], al
mov word [rbx + 0x12], r9w
movsd xmm0, qword [rdi + 0x40]
call fcn.180030b40
mov word [rbx + 0x14], ax
mov rcx, qword [rdi + 0x48]
call fcn.180030ab0
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.1800d3e90
test byte [rbx + 0x1c], 1
mov esi, eax
je 0x1800d62e0
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x1800d62dc
cmp dword [0x180191d70], 0
je 0x1800d62d3
mov rcx, qword [0x1801975c8]
test rcx, rcx
je 0x1800d629c
call qword [0x180191df0]
mov rcx, rdi
call qword [0x180191da8]
dec qword [0x1801973d8]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x180197390], rdx
call qword [0x180191d98]
mov rcx, qword [0x1801975c8]
test rcx, rcx
je 0x1800d62dc
call qword [0x180191e00]
jmp 0x1800d62dc
mov rcx, rdi
call qword [0x180191d98]
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