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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor r15d, r15d
cmp byte [rdx], 0x2d
mov qword [rsp + 0xb0], rcx
mov rdi, rdx
mov r14, r8
mov rbx, rdx
jne 0x766a53
lea rbx, [rdx + 1]
mov r15d, 1
lea r13, [rsp + 0x58]
lea rsi, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x20], r13
lea r12, [rsp + 0x48]
mov r9, rsi
lea rdx, str.40f_21a_21d
mov r8, r12
call fcn.00749380
cmp eax, 3
jne 0x766b20
movzx edx, byte [rbx + 0xa]
lea rcx, [0x009981e0]
lea rbp, [rbx + 0xa]
mov rax, rdx
test byte [rcx + rdx], 1
je 0x766ab1
nop dword [rax]
movzx edx, byte [rbp + 1]
add rbp, 1
mov rax, rdx
test byte [rcx + rdx], 1
jne 0x766aa0
cmp al, 0x54
je 0x766aa0
mov rdx, r14
mov rcx, rbp
call fcn.00766ed0
test eax, eax
jne 0x766b10
mov eax, dword [rsp + 0x48]
mov byte [r14 + 0x28], 0
mov byte [r14 + 0x2a], 1
mov edx, eax
neg edx
test r15d, r15d
cmovne eax, edx
mov dword [r14 + 8], eax
mov eax, dword [rsp + 0x50]
mov dword [r14 + 0xc], eax
mov eax, dword [rsp + 0x58]
mov dword [r14 + 0x10], eax
xor eax, eax
cmp byte [r14 + 0x2c], 0
jne 0x766dc0
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rbp], 0
je 0x766d70
nop word [rax + rax]
mov rdx, r14
mov rcx, rdi
call fcn.00766ed0
test eax, eax
je 0x766ce0
mov r8, rdi
lea rcx, [0x0095a3d8]
lea r9, [0x00998440]
jmp 0x766b67
movzx ebx, byte [r9 + rdx]
cmp byte [r9 + rax], bl
jne 0x766c68
add r8, 1
add rcx, 1
movzx eax, byte [r8]
movzx edx, byte [rcx]
cmp eax, edx
jne 0x766b50
test eax, eax
jne 0x766b5f
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
test rax, rax
je 0x766e59
mov rbx, qword [rsp + 0xb0]
movsxd rdx, dword [rbx + 0x20]
lea rcx, [rdx + rdx*2]
mov rdx, qword [rax + 0x88]
lea rdx, [rdx + rcx*8]
cmp byte [rdx], 0x41
je 0x766bea
mov rsi, rbx
mov rdx, qword [rsi]
lea rsi, [rax + 0x48]
mov qword [rsp + 0x50], 0
mov rax, qword [rax + 0x48]
test rax, rax
je 0x766e6d
mov qword [r14], rax
test rax, rax
jg 0x766cdb
nop word [rax + rax]
mov eax, 1
jmp 0x766afd
movzx eax, word [rdx + 2]
lea r8, str.a_CHECK_constraint
test al, 4
jne 0x766c0d
test al, 8
lea r8, str.a_generated_column
lea rax, str.an_index
cmove r8, rax
mov rax, qword [rsp + 0xb0]
lea rcx, str.non_deterministic_use_of__s___in__s
mov rax, qword [rax + 8]
mov rdx, qword [rax + 0x38]
call fcn.0082f750
mov r9d, 1
mov r8, 0xffffffffffffffff
mov r15, rax
mov rax, qword [rsp + 0xb0]
mov rdx, r15
mov dword [rax + 0x24], 1
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rcx, qword [rax]
call fcn.00813130
mov rcx, r15
call fcn.0082d7e0
nop dword [rax]
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov qword [rsp + 0x48], 0
mov r8d, eax
and r8d, 0x3fffffff
je 0x766cf0
mov r9d, 1
mov rdx, r12
mov rcx, rdi
call fcn.007a0c90
test eax, eax
jle 0x766cf0
movsd xmm0, qword [rsp + 0x48]
comisd xmm0, xmmword [0x00962a40]
mov byte [r14 + 0x29], 1
movsd qword [r14 + 0x20], xmm0
jb 0x766ce0
movsd xmm1, qword [0x00962f08]
comisd xmm1, xmm0
jbe 0x766ce0
mulsd xmm0, qword [0x009629a8]
addsd xmm0, qword [0x00962ba8]
cvttsd2si rax, xmm0
mov qword [r14], rax
mov byte [r14 + 0x28], 1
xor eax, eax
jmp 0x766afd
mov r8, rdi
lea rcx, str.subsec
lea r9, [0x00998440]
jmp 0x766d1b
movzx ebx, byte [r9 + rdx]
cmp byte [r9 + rax], bl
jne 0x766d80
add r8, 1
add rcx, 1
movzx eax, byte [r8]
movzx edx, byte [rcx]
cmp eax, edx
jne 0x766d08
test eax, eax
jne 0x766d13
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
test rax, rax
je 0x766e54
mov rsi, qword [rsp + 0xb0]
movsxd rdx, dword [rsi + 0x20]
lea rcx, [rdx + rdx*2]
mov rdx, qword [rax + 0x88]
lea rdx, [rdx + rcx*8]
cmp byte [rdx], 0x41
je 0x766dd5
mov byte [r14 + 0x2f], 1
jmp 0x766bae
mov byte [r14 + 0x2b], 0
jmp 0x766ac4
lea rcx, str.subsecond
jmp 0x766da7
movzx ebx, byte [r9 + rdx]
cmp byte [r9 + rax], bl
jne 0x766be0
add rdi, 1
add rcx, 1
movzx eax, byte [rdi]
movzx edx, byte [rcx]
cmp eax, edx
jne 0x766d90
test eax, eax
jne 0x766d9f
jmp 0x766d2a
mov rcx, r14
mov dword [rsp + 0x3c], eax
call fcn.006ea200
mov eax, dword [rsp + 0x3c]
jmp 0x766afd
movzx eax, word [rdx + 2]
lea r8, str.a_CHECK_constraint
test al, 4
jne 0x766df8
test al, 8
lea r8, str.a_generated_column
lea rax, str.an_index
cmove r8, rax
mov rax, qword [rsp + 0xb0]
lea rcx, str.non_deterministic_use_of__s___in__s
mov rax, qword [rax + 8]
mov rdx, qword [rax + 0x38]
call fcn.0082f750
mov r9d, 1
mov r8, 0xffffffffffffffff
mov r12, rax
mov rax, qword [rsp + 0xb0]
mov rdx, r12
mov dword [rax + 0x24], 1
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rcx, qword [rax]
call fcn.00813130
mov rcx, r12
call fcn.0082d7e0
jmp 0x766be0
mov byte [r14 + 0x2f], 1
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rax]
mov qword [rsp + 0x50], 0
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax]
cmp dword [rcx], 1
jle 0x766ea6
mov rax, qword [rcx + 0x88]
test rax, rax
je 0x766ea6
mov rdx, rsi
call rax
test eax, eax
je 0x766ec4
mov qword [rsi], 0
mov eax, 1
mov qword [r14], 0
jmp 0x766afd
mov rdx, r13
call qword [rcx + 0x78]
movsd xmm0, qword [0x009629a8]
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si rdx, xmm0
mov qword [rsi], rdx
jmp 0x766e8a
mov rax, qword [rsi]
jmp 0x766bcb