Function at 0x140093498
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, 0x20
mov rbx, qword [rsp + 0x80]
mov rax, rcx
mov rbp, qword [rcx + 8]
movzx r11d, r9w
xor r9d, r9d
mov qword [rsp + 0x68], rbp
mov rsi, r8
mov r10, qword [rax]
mov rdi, qword [rax + 0x10]
movsxd r13, dword [rbx]
mov rcx, qword [rbx + 0x20]
mov r12, qword [r10]
movzx eax, byte [rdi + 0x10]
mov r15, qword [r10 + 8]
imul r14, rax, 0x68
mov rax, qword [rsp + 0x90]
mov qword [rdi], rdx
mov r8, qword [rbx + 8]
mov qword [rsp + 0x80], rcx
mov dword [rax], r9d
test r13d, r13d
jle 0x140093565
mov r10, qword [rsp + 0x98]
add r8, 5
xor edx, edx
mov r9d, r13d
movsxd rax, dword [r8 + 3]
imul rcx, rax, 0x38
add rcx, qword [rbp + 0x20]
mov byte [r8], dl
mov rax, qword [rcx + 0x28]
and rax, rsi
cmp rax, qword [rcx + 0x28]
jne 0x140093553
test word [rcx + 0x14], r11w
jne 0x140093553
test r10, r10
jne 0x14009354f
call fcn.140093488
xor edx, edx
test eax, eax
jne 0x140093553
mov byte [r8], 1
add r8, 0xc
sub r9, 1
jne 0x14009351c
mov rcx, qword [rsp + 0x80]
lea rbp, [r13*8]
xor edx, edx
mov r8, rbp
call fcn.1400cd940
xor esi, esi
mov qword [rbx + 0x48], 0x19
mov qword [rbx + 0x30], rsi
movabs rax, 0x546d42aea2879f2e
mov qword [rbx + 0x40], rax
mov r8, rbx
mov dword [rbx + 0x28], esi
mov rcx, r12
mov dword [rbx + 0x3c], esi
mov dword [rbx + 0x50], esi
mov rax, qword [r14 + r15 + 0x58]
mov qword [rbx + 0x58], rax
mov dword [rbx + 0x78], esi
mov rdx, qword [r14 + r15 + 0x28]
call fcn.140091610
test eax, eax
je 0x1400935c7
cmp eax, 0x13
cmove eax, esi
jmp 0x140093876
mov rcx, qword [rdi + 0x48]
mov r8, rbp
xor edx, edx
or esi, 0xffffffff
call fcn.1400cd940
lea rbp, [rdi + 0x18]
xor edx, edx
mov rcx, rbp
lea r8d, [rsi + 0x21]
call fcn.1400cd940
mov rax, qword [rbx + 8]
xor r10d, r10d
mov r9d, r10d
test r13d, r13d
jle 0x140093729
mov r8, qword [rsp + 0x80]
lea rbp, [rax + 5]
mov rax, r13
mov r11d, r10d
movsxd rcx, dword [r8 + r11*8]
lea edx, [rcx - 1]
test edx, edx
js 0x140093712
cmp edx, r13d
jge 0x1400937d9
movsxd rax, dword [rbp + 3]
test eax, eax
js 0x1400937d9
mov r8, qword [rsp + 0x68]
cmp eax, dword [r8 + 0x14]
jge 0x1400937d9
mov r10, rcx
xor r8d, r8d
mov rcx, qword [rdi + 0x48]
cmp qword [rcx + r10*8 - 8], r8
jne 0x1400937d9
cmp byte [rbp], r8b
je 0x1400937d9
imul r8, rax, 0x38
mov rax, qword [rsp + 0x68]
add r8, qword [rax + 0x20]
mov rax, qword [r8 + 0x28]
or qword [rdi], rax
mov eax, edx
cmp edx, esi
mov qword [rcx + r10*8 - 8], r8
cmovle eax, esi
xor r10d, r10d
mov esi, eax
mov rax, qword [rsp + 0x80]
cmp byte [rax + r11*8 + 4], r10b
je 0x1400936bf
cmp r9d, 0x10
jge 0x1400936b4
movzx eax, word [rsp + 0x88]
bt eax, r9d
jb 0x1400936b4
movzx eax, word [rdi + 0x22]
bts eax, edx
mov word [rdi + 0x22], ax
cmp byte [r8 + 0x17], 0x4a
jne 0x1400936bf
or dword [rdi + 0x1c], 2
mov ecx, r9d
mov eax, 1
shl eax, cl
mov ecx, r10d
cmp r9d, 0x1f
cmovle ecx, eax
test dword [rbx + 0x78], ecx
je 0x140093786
mov eax, dword [rdi + 0x30]
bts eax, edx
mov dword [rdi + 0x30], eax
mov r10, qword [rsp + 0x90]
mov rcx, r8
call fcn.140093488
xor ecx, ecx
test eax, eax
je 0x140093704
cmp dword [r10], ecx
jne 0x1400937ad
mov r8, qword [rsp + 0x80]
xor r10d, r10d
mov rax, r13
inc r9d
inc r11
add rbp, 0xc
cmp r11, rax
jl 0x14009360f
lea rbp, [rdi + 0x18]
mov r13d, 1
mov ecx, r10d
lea eax, [rsi + r13]
mov word [rdi + 0x3c], ax
test esi, esi
js 0x140093756
mov rax, qword [rdi + 0x48]
cmp qword [rax], r10
je 0x1400937f7
add ecx, r13d
add rax, 8
cmp ecx, esi
jle 0x140093742
mov eax, dword [rbx + 0x28]
mov dword [rbp], eax
mov eax, dword [rbx + 0x38]
xor eax, dword [rdi + 0x1c]
and eax, r13d
xor dword [rdi + 0x1c], eax
mov rax, qword [rbx + 0x30]
mov dword [rbx + 0x38], r10d
mov qword [rdi + 0x28], rax
cmp dword [rbx + 0x3c], r10d
je 0x140093813
mov eax, dword [rbx + 0x10]
jmp 0x140093816
test byte [r8 + 0x14], 1
je 0x1400936e5
and dword [rbx + 0x50], 0xfffffffe
mov dword [rbx + 0x3c], r10d
mov r10, qword [rsp + 0x90]
mov dword [r10], 1
jmp 0x1400936ed
cmp dword [rbx + 0x38], ecx
je 0x1400937c4
mov rcx, qword [rbx + 0x30]
call fcn.140024fb4
xor eax, eax
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x98]
mov dword [rax], 1
xor eax, eax
jmp 0x140093876
mov r8, qword [r14 + r15 + 0x28]
lea rdx, str._s.xBestIndex_malfunction
mov rcx, r12
mov r8, qword [r8]
call fcn.140028108
mov eax, 1
jmp 0x140093876
mov r8, qword [r14 + r15 + 0x28]
lea rdx, str._s.xBestIndex_malfunction
mov rcx, r12
mov r8, qword [r8]
call fcn.140028108
mov eax, r13d
jmp 0x140093876
mov eax, r10d
mov byte [rdi + 0x20], al
mov word [rdi + 0x12], r10w
movsd xmm0, qword [rbx + 0x40]
call fcn.140029df8
mov word [rdi + 0x14], ax
mov rcx, qword [rbx + 0x48]
call fcn.140029d98
mov edx, dword [rdi + 0x38]
mov word [rdi + 0x16], ax
mov eax, edx
mov ecx, dword [rbx + 0x50]
bts edx, 0xc
btr eax, 0xc
and cl, r13b
mov rcx, qword [rsp + 0x60]
cmove edx, eax
mov dword [rdi + 0x38], edx
mov rdx, rdi
call fcn.140091c4c
mov ebx, eax
test byte [rdi + 0x1c], r13b
je 0x140093874
mov rcx, qword [rdi + 0x28]
call fcn.140024fb4
and dword [rdi + 0x1c], 0xfffffffe
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret