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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
add rax, 0x60
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x68
lea rax, [rax + rcx + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf0]
mov dword [rax], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
jmp 0x1800d7fa0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x20]
add rax, 0xc
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jge 0x1800d802f
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 8]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x58]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x20]
mov byte [rax + 5], 0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rax + 0x28]
and rax, rcx
mov rcx, qword [rsp + 0x70]
cmp rax, qword [rcx + 0x28]
jne 0x1800d802a
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x14]
movzx ecx, word [rsp + 0xd8]
and eax, ecx
test eax, eax
jne 0x1800d802a
cmp qword [rsp + 0xf8], 0
jne 0x1800d8021
mov rcx, qword [rsp + 0x70]
call fcn.1800d8840
test eax, eax
jne 0x1800d802a
mov rax, qword [rsp + 0x20]
mov byte [rax + 5], 1
jmp 0x1800d7f88
movsxd rax, dword [rsp + 0x28]
shl rax, 3
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0xe0]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x28], 0
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x3c], 0
mov rax, qword [rsp + 0xe0]
movlpd xmm0, qword [0x18012f150]
movsd qword [rax + 0x40], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rax + 0x48], 0x19
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x50], 0
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x50]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x18], 0
mov r8, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.1800d8710
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x1800d8107
cmp dword [rsp + 0x2c], 0x13
jne 0x1800d80fe
xor eax, eax
jmp 0x1800d8631
mov eax, dword [rsp + 0x2c]
jmp 0x1800d8631
mov dword [rsp + 0x40], 0xffffffff
movsxd rax, dword [rsp + 0x28]
shl rax, 3
mov r8, rax
xor edx, edx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x48]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov r8d, 0x20
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
jmp 0x1800d8177
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x20]
add rax, 0xc
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jge 0x1800d8465
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*8]
dec eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jl 0x1800d8460
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x78], eax
jge 0x1800d81f9
cmp dword [rsp + 0x88], 0
jl 0x1800d81f9
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x88], eax
jge 0x1800d81f9
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x48]
cmp qword [rcx + rax*8], 0
jne 0x1800d81f9
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 5]
test eax, eax
jne 0x1800d8220
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
mov r8, qword [rax]
lea rdx, [0x180154df8]
mov rcx, qword [rsp + 0x60]
call fcn.18000db80
mov eax, 1
jmp 0x1800d8631
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x58]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
or rax, rcx
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x78], eax
jle 0x1800d8288
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax*8 + 4]
test eax, eax
je 0x1800d8326
cmp dword [rsp + 0x30], 0x10
jge 0x1800d8302
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov dword [rsp + 0x8c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x8c]
shl eax, cl
movzx ecx, word [rsp + 0xe8]
and eax, ecx
test eax, eax
jne 0x1800d8302
mov eax, dword [rsp + 0x78]
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx + 0x22]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov word [rcx + 0x22], ax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x17]
cmp eax, 0x4a
jne 0x1800d8326
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
or eax, 2
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x1c], eax
cmp dword [rsp + 0x30], 0x1f
jg 0x1800d8352
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov dword [rsp + 0x94], ecx
movzx ecx, al
mov eax, dword [rsp + 0x94]
shl eax, cl
mov dword [rsp + 0x98], eax
jmp 0x1800d835d
mov dword [rsp + 0x98], 0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x18]
mov ecx, dword [rsp + 0x98]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1800d83a6
mov eax, dword [rsp + 0x78]
mov ecx, 1
mov dword [rsp + 0x9c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x9c]
shl eax, cl
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x30]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x30], eax
jmp 0x1800d83ef
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x14]
and eax, 1
test eax, eax
je 0x1800d83ef
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x3c], 0
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x50]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x50], eax
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov rcx, qword [rsp + 0x80]
call fcn.1800d8840
test eax, eax
je 0x1800d8460
mov rax, qword [rsp + 0xf0]
cmp dword [rax], 0
je 0x1800d8460
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x38], 0
je 0x1800d844b
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x30]
call fcn.180009120
mov rax, qword [rsp + 0xe0]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0xf8]
mov dword [rax], 1
xor eax, eax
jmp 0x1800d8631
jmp 0x1800d815f
mov eax, dword [rsp + 0x40]
inc eax
mov rcx, qword [rsp + 0x48]
mov word [rcx + 0x3c], ax
mov dword [rsp + 0x30], 0
jmp 0x1800d8488
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x30], eax
jg 0x1800d84d0
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x48]
cmp qword [rcx + rax*8], 0
jne 0x1800d84ce
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
mov r8, qword [rax]
lea rdx, str._s.xBestIndex_malfunction
mov rcx, qword [rsp + 0x60]
call fcn.18000db80
mov eax, 1
jmp 0x1800d8631
jmp 0x1800d847e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
mov ecx, dword [rcx + 0x28]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x38]
and eax, 1
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x1c]
and ecx, 0xfffffffe
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x30]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x3c], 0
je 0x1800d854e
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xa0], eax
jmp 0x1800d8559
mov dword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rsp + 0xa0]
mov byte [rax + 0x20], cl
mov rax, qword [rsp + 0x48]
mov word [rax + 0x12], 0
mov rax, qword [rsp + 0xe0]
movlpd xmm0, qword [rax + 0x40]
call fcn.1800d8640
mov rcx, qword [rsp + 0x48]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x48]
call fcn.180046320
mov rcx, qword [rsp + 0x48]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x50]
and eax, 1
test eax, eax
je 0x1800d85d2
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x38]
or eax, 0x1000
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x38], eax
jmp 0x1800d85e7
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x38]
and eax, 0xffffefff
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x38], eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
call fcn.1800d48d0
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 1
test eax, eax
je 0x1800d862d
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x28]
call fcn.180009120
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x1c], eax
mov eax, dword [rsp + 0x2c]
add rsp, 0xb8
ret