Function at 0x14010c810
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]
xor esi, esi
mov rax, qword [rcx + 8]
movzx r11d, r9w
mov rbx, qword [rcx + 0x18]
mov rdi, r8
mov r14, qword [rsp + 0xa0]
mov rbp, qword [r10]
mov qword [rsp + 0x20], rax
movzx eax, byte [rbx + 0x10]
mov r15, qword [r14 + 0x20]
movsxd r13, dword [r14]
imul rax, rax, 0x70
mov qword [rsp + 0x88], r15
add rax, qword [r10 + 8]
lea r10d, [rsi + 1]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rbp
mov dword [rax], esi
mov qword [rbx], rdx
mov rdx, qword [r14 + 8]
test r13d, r13d
jle 0x14010c8dc
mov r14, qword [rsp + 0x20]
add rdx, 5
mov r9d, r13d
nop dword [rax + rax]
movsxd rax, dword [rdx + 3]
imul r8, rax, 0x38
add r8, qword [r14 + 0x20]
mov byte [rdx], sil
mov rax, qword [r8 + 0x28]
and rax, rdi
cmp rax, qword [r8 + 0x28]
jne 0x14010c8cb
test word [r8 + 0x14], r11w
movzx eax, sil
cmove eax, r10d
mov byte [rdx], al
add rdx, 0xc
sub r9, r10
jne 0x14010c8a0
mov r14, qword [rsp + 0xa0]
lea r8, [r13*8]
xor edx, edx
mov rcx, r15
call fcn.140144890
mov rcx, qword [rsp + 0x28]
movabs rax, 0x546d42aea2879f2e
mov qword [r14 + 0x30], rsi
mov dword [r14 + 0x28], esi
mov dword [r14 + 0x3c], esi
mov qword [r14 + 0x40], rax
mov qword [r14 + 0x48], 0x19
mov dword [r14 + 0x50], esi
mov rax, qword [rcx + 0x60]
mov qword [r14 + 0x58], rax
mov rax, qword [rcx + 0x28]
mov rcx, qword [rax + 0x60]
test rcx, rcx
je 0x14010c940
mov rax, qword [rbp]
cmp qword [rcx], rax
je 0x14010c940
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x14010c932
mov r15, qword [rcx + 0x10]
mov rdx, r14
mov rcx, r15
mov rax, qword [r15]
mov rax, qword [rax + 0x18]
call qword [case.0x1400c8de2.0]
mov edi, eax
lea rdx, [0x140000000]
test eax, eax
je 0x14010ca2d
cmp edi, 0x13
je 0x14010ca2d
cmp edi, 7
jne 0x14010c9c6
mov rax, qword [rbp]
cmp byte [rax + 0x63], sil
jne 0x14010ca2d
cmp byte [rax + 0x64], sil
jne 0x14010ca2d
mov byte [rax + 0x63], 1
cmp dword [rax + 0xdc], esi
jle 0x14010c9a4
mov dword [rax + 0x178], 1
inc dword [rax + 0x180]
mov rcx, qword [rax + 0x140]
mov word [rax + 0x184], si
test rcx, rcx
je 0x14010ca2d
mov dword [rcx + 0x18], 7
jmp 0x14010ca2d
mov r8, qword [r15 + 0x10]
test r8, r8
jne 0x14010ca1e
mov ecx, edi
lea r8, str.unknown_error
sub ecx, 0x64
je 0x14010ca17
sub ecx, 1
je 0x14010ca0e
cmp ecx, 0x19f
je 0x14010ca05
movzx eax, dil
cmp eax, 0x1d
jae 0x14010ca1e
mov rcx, qword [rdx + rax*8 + 0x1894e0]
test rcx, rcx
je 0x14010ca1e
mov r8, rcx
jmp 0x14010ca1e
lea r8, str.abort_due_to_ROLLBACK
jmp 0x14010ca1e
lea r8, str.no_more_rows_available
jmp 0x14010ca1e
lea r8, str.another_row_available
lea rdx, [0x14018a3a8]
mov rcx, rbp
call fcn.1400b5ee0
mov rbp, qword [r15 + 0x10]
test rbp, rbp
je 0x14010caad
cmp dword [0x1401c1dd0], esi
je 0x14010ca9d
mov rcx, qword [0x1401c8fc0]
test rcx, rcx
je 0x14010ca57
mov rax, qword [0x1401c1e50]
call qword [case.0x1400c8de2.0]
mov rax, qword [0x1401c1e08]
mov rcx, rbp
call qword [case.0x1400c8de2.0]
dec qword [0x1401c8f58]
mov rcx, rbp
movsxd rdx, eax
mov rax, qword [0x1401c1df8]
sub qword [0x1401c8f10], rdx
call qword [case.0x1400c8de2.0]
mov rcx, qword [0x1401c8fc0]
test rcx, rcx
je 0x14010caad
mov rax, qword [0x1401c1e60]
jmp 0x14010caa7
mov rax, qword [0x1401c1df8]
mov rcx, rbp
call qword [case.0x1400c8de2.0]
mov qword [r15 + 0x10], rsi
test edi, edi
je 0x14010cac2
cmp edi, 0x13
cmove edi, esi
mov eax, edi
jmp 0x14010ce93
mov ebp, 0xffffffff
mov edi, esi
test r13d, r13d
jle 0x14010cb2b
cmp r13d, 2
jb 0x14010cb2b
mov r9, qword [rbx + 0x38]
lea rdx, [rbx + 0x38]
lea eax, [r13 - 1]
movsxd rcx, eax
lea rax, [r9 + rcx*8]
cmp r9, rdx
ja 0x14010caf1
cmp rax, rdx
jae 0x14010cb2b
mov eax, r13d
and eax, 0x80000001
jge 0x14010cb02
dec eax
or eax, 0xfffffffe
inc eax
mov edx, r13d
sub edx, eax
add edi, 2
cmp edi, edx
jl 0x14010cb07
lea eax, [rdx + 1]
mov rcx, r9
cdq
sub eax, edx
xor edx, edx
sar eax, 1
movsxd r8, eax
shl r8, 4
and r8, 0xfffffffffffffff8
call fcn.140144890
movsxd rcx, edi
cmp rcx, r13
jge 0x14010cb50
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x38]
mov qword [rax + rcx*8], rsi
inc rcx
cmp rcx, r13
jl 0x14010cb40
mov word [rbx + 0x1e], si
mov r9d, esi
mov r10, qword [r14 + 8]
test r13d, r13d
jle 0x14010cc52
movzx r15d, word [rsp + 0xa8]
mov rdx, rsi
mov rax, qword [rsp + 0x88]
add r10, 5
nop dword [rax]
movsxd r8, dword [rax + rdx*8]
lea ecx, [r8 - 1]
test ecx, ecx
js 0x14010cc3f
cmp ecx, r13d
jge 0x14010cc99
movsxd rax, dword [r10 + 3]
test eax, eax
js 0x14010cc99
mov r11, qword [rsp + 0x20]
cmp eax, dword [r11 + 0x14]
jge 0x14010cc99
mov rdi, qword [rbx + 0x38]
mov r11, r8
cmp qword [rdi + r8*8 - 8], rsi
jne 0x14010cc99
cmp byte [r10], sil
je 0x14010cc99
imul r8, rax, 0x38
mov rax, qword [rsp + 0x20]
add r8, qword [rax + 0x20]
mov rax, qword [r8 + 0x28]
or qword [rbx], rax
mov eax, ecx
cmp ecx, ebp
mov qword [rdi + r11*8 - 8], r8
cmovle eax, ebp
mov ebp, eax
mov rax, qword [rsp + 0x88]
cmp byte [rax + rdx*8 + 4], sil
je 0x14010cc21
cmp r9d, 0x10
jge 0x14010cc21
bt r15d, r9d
jb 0x14010cc21
movzx eax, word [rbx + 0x1e]
bts eax, ecx
mov word [rbx + 0x1e], ax
mov rax, qword [rsp + 0x88]
jmp 0x14010cc21
test byte [r8 + 0x14], 1
je 0x14010cc3f
mov rcx, qword [rsp + 0xb0]
and dword [r14 + 0x50], 0xfffffffe
mov dword [r14 + 0x3c], esi
mov dword [rcx], 1
inc r9d
inc rdx
add r10, 0xc
cmp rdx, r13
jl 0x14010cb80
lea eax, [rbp + 1]
mov ecx, esi
mov word [rbx + 0x2c], ax
test ebp, ebp
js 0x14010cc72
mov rax, qword [rbx + 0x38]
cmp qword [rax], rsi
je 0x14010cc99
inc ecx
add rax, 8
cmp ecx, ebp
jle 0x14010cc63
mov eax, dword [r14 + 0x28]
mov dword [rbx + 0x18], eax
movzx eax, byte [r14 + 0x38]
mov byte [rbx + 0x1c], al
mov rax, qword [r14 + 0x30]
mov dword [r14 + 0x38], esi
mov qword [rbx + 0x20], rax
cmp dword [r14 + 0x3c], esi
je 0x14010ccc0
mov eax, dword [r14 + 0x10]
jmp 0x14010ccc2
mov r8, qword [rsp + 0x28]
lea rdx, str._s.xBestIndex_malfunction
mov rcx, qword [rsp + 0x30]
mov r8, qword [r8 + 0x28]
mov r8, qword [r8]
call fcn.1400b5ee0
mov eax, 1
jmp 0x14010ce93
mov eax, esi
movsd xmm0, qword [0x14017fa28]
mov byte [rbx + 0x1d], al
mov word [rbx + 0x12], si
movsd xmm1, qword [r14 + 0x40]
comisd xmm0, xmm1
movsd qword [rsp + 0xa0], xmm1
jb 0x14010cceb
movzx ecx, si
jmp 0x14010cd53
movsd xmm0, qword [0x140190008]
comisd xmm0, xmm1
jb 0x14010cd32
movsd xmm0, qword [0x140190028]
xor eax, eax
comisd xmm1, xmm0
jb 0x14010cd20
subsd xmm1, xmm0
comisd xmm1, xmm0
jae 0x14010cd20
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rcx, xmm1
add rcx, rax
call fcn.1400c9940
movzx ecx, ax
jmp 0x14010cd53
mov rcx, qword [rsp + 0xa0]
mov eax, 0x3fe
shr rcx, 0x34
sub cx, ax
movzx eax, cx
shl ax, 2
add cx, ax
add cx, cx
mov word [rbx + 0x14], cx
mov ecx, 0x28
mov rax, qword [r14 + 0x48]
cmp rax, 8
jae 0x14010cd7f
cmp rax, 2
jb 0x14010cdd2
nop dword [rax]
add cx, 0xfff6
add rax, rax
cmp rax, 8
jb 0x14010cd70
jmp 0x14010cdbd
cmp rax, 0xff
jbe 0x14010cda0
nop word [rax + rax]
add cx, 0x28
shr rax, 4
cmp rax, 0xff
ja 0x14010cd90
cmp rax, 0xf
jbe 0x14010cdbd
nop word [rax + rax]
add cx, 0xa
shr rax, 1
cmp rax, 0xf
ja 0x14010cdb0
and eax, 7
lea rdx, [0x140000000]
add cx, word [rdx + rax*2 + 0x1c2438]
lea esi, [rcx - 0xa]
mov edx, dword [rbx + 0x28]
mov eax, edx
bts edx, 0xc
mov word [rbx + 0x16], si
mov ecx, dword [r14 + 0x50]
btr eax, 0xc
test cl, 1
cmove edx, eax
mov dword [rbx + 0x28], edx
mov rdx, rbx
mov rcx, qword [rsp + 0x80]
call fcn.14010d3c0
cmp byte [rbx + 0x1c], 0
mov esi, eax
je 0x14010ce91
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14010ce8d
cmp dword [0x1401c1dd0], 0
je 0x14010ce7d
mov rcx, qword [0x1401c8fc0]
test rcx, rcx
je 0x14010ce37
mov rax, qword [0x1401c1e50]
call qword [case.0x1400c8de2.0]
mov rax, qword [0x1401c1e08]
mov rcx, rdi
call qword [case.0x1400c8de2.0]
dec qword [0x1401c8f58]
mov rcx, rdi
movsxd rdx, eax
mov rax, qword [0x1401c1df8]
sub qword [0x1401c8f10], rdx
call qword [case.0x1400c8de2.0]
mov rcx, qword [0x1401c8fc0]
test rcx, rcx
je 0x14010ce8d
mov rax, qword [0x1401c1e60]
jmp 0x14010ce87
mov rax, qword [0x1401c1df8]
mov rcx, rdi
call qword [case.0x1400c8de2.0]
mov byte [rbx + 0x1c], 0
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