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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8e0]
sub rsp, 0x9e0
mov rax, qword [0x14030aae8]
xor rax, rsp
mov qword [rbp + 0x8d0], rax
mov rsi, rcx
mov qword [rsp + 0x38], r8
xor ecx, ecx
mov r15, rdx
mov dword [rsp + 0x34], ecx
mov r14, qword [rsi]
lea edi, [rcx - 1]
mov r13d, dword [r14 + 0x84]
cmp dword [r14 + 0xd0], ecx
jne 0x14008905e
mov dword [r14 + 0x178], ecx
mov dword [rsi + 0x18], ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x60], ecx
lea rax, [rbp + 0x8a8]
mov qword [rbp + 0x8c0], rax
mov rcx, r15
mov qword [rsi + 0x138], r15
mov qword [rsp + 0x58], rsi
mov rax, qword [r14 + 0x140]
mov qword [rsi + 0xb0], rax
mov qword [r14 + 0x140], rsi
call fcn.140077310
sub r13d, eax
mov r12d, eax
js 0x14008934e
nop word [rax + rax]
mov ebx, dword [rsp + 0x20]
cmp ebx, 0xa3
jl 0x1400892fc
mov eax, dword [r14 + 0x178]
test eax, eax
jne 0x1400893c2
mov eax, dword [rsp + 0x20]
cmp eax, 0xb6
jne 0x1400890f5
movsxd rax, r12d
add r15, rax
jmp 0x140089335
cmp byte [r15], 0
jne 0x14008911f
cmp edi, 1
jne 0x14008910a
xor ebx, ebx
xor r12d, r12d
jmp 0x1400892f8
test edi, edi
je 0x140089355
mov ebx, 1
xor r12d, r12d
jmp 0x1400892f8
cmp eax, 0xa3
jne 0x1400891fb
lea rbx, [r15 + 6]
nop
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.140077310
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rsp + 0x24]
cmp ecx, 0xb6
je 0x140089130
cmp ecx, 0x3b
je 0x140089184
lea eax, [rcx - 0x74]
cmp eax, 0x30
ja 0x14008916d
movabs rdx, 0x1800000000003
bt rdx, rax
jb 0x140089184
lea rdi, [0x140000000]
cmp word [rdi + rcx*2 + 0x28f740], 0x3b
je 0x14008918b
jmp 0x1400892f3
lea rdi, [0x140000000]
mov dword [rsp + 0x24], 0x3b
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140077310
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rsp + 0x28]
cmp ecx, 0xb6
je 0x140089193
cmp ecx, 0x3b
je 0x1400891ee
lea eax, [rcx - 0x74]
cmp eax, 0x30
ja 0x1400891d0
movabs rdx, 0x1800000000003
bt rdx, rax
jb 0x1400891ee
cmp word [rdi + rcx*2 + 0x28f740], 0x3b
je 0x1400891ee
cmp ecx, 0x18
jne 0x1400892f3
mov ebx, 0xa3
jmp 0x1400892f8
mov dword [rsp + 0x28], 0x3b
jmp 0x1400892f3
cmp eax, 0xa4
jne 0x14008927b
cmp edi, 0x17
jne 0x1400892f3
lea rbx, [r15 + 4]
nop
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call fcn.140077310
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rsp + 0x2c]
cmp ecx, 0xb6
je 0x140089210
cmp ecx, 0x3b
je 0x140089269
lea eax, [rcx - 0x74]
cmp eax, 0x30
ja 0x14008924d
movabs rdx, 0x1800000000003
bt rdx, rax
jb 0x140089269
lea rdx, [0x140000000]
cmp word [rdx + rcx*2 + 0x28f740], 0x3b
je 0x140089269
cmp ecx, 0x16
je 0x140089271
jmp 0x1400892f3
mov dword [rsp + 0x2c], 0x3b
mov ebx, 0xa4
jmp 0x1400892f8
cmp eax, 0xa5
jne 0x1400893ab
cmp edi, 0x17
jne 0x1400892f3
lea rbx, [r15 + 6]
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140077310
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rsp + 0x30]
cmp ecx, 0xb6
je 0x140089290
cmp ecx, 0x3b
je 0x1400892eb
lea eax, [rcx - 0x74]
cmp eax, 0x30
ja 0x1400892cd
movabs rdx, 0x1800000000003
bt rdx, rax
jb 0x1400892eb
lea rdx, [0x140000000]
cmp word [rdx + rcx*2 + 0x28f740], 0x3b
je 0x1400892eb
cmp ecx, 0x16
jne 0x1400892f3
mov ebx, 0xa5
jmp 0x1400892f8
mov dword [rsp + 0x30], 0x3b
mov ebx, 0x3b
mov dword [rsp + 0x20], ebx
mov qword [rsi + 0x100], r15
lea r8, [rsp + 0x40]
mov dword [rsi + 0x108], r12d
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rsi + 0x100]
mov edx, ebx
movaps xmmword [rsp + 0x40], xmm0
call fcn.1400809d0
movsxd rax, r12d
mov edi, ebx
add r15, rax
cmp dword [rsi + 0x18], 0
jne 0x140089355
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140077310
sub r13d, eax
mov r12d, eax
jns 0x1400890c0
mov dword [rsi + 0x18], send
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
cmp rcx, rax
jbe 0x14008939a
nop dword [rax]
nop dword [rax + rax]
lea rax, [rcx - 0x18]
mov qword [rsp + 0x50], rax
lea r8, [rcx + 8]
movzx edx, word [rcx + 2]
lea rcx, [rsp + 0x50]
call fcn.1400c9860
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
cmp rcx, rax
ja 0x140089370
cmp byte [r14 + 0x63], 0
je 0x1400893cb
mov ecx, 7
mov dword [rsi + 0x18], ecx
jmp 0x1400893d7
mov r9, r15
lea rdx, str.unrecognized_token:___.s_
mov r8d, r12d
mov rcx, rsi
call fcn.1400692d0
jmp 0x140089355
mov dword [rsi + 0x18], 9
jmp 0x140089355
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140089446
cmp ecx, 0x65
je 0x140089446
cmp qword [rsi + 8], 0
jne 0x140089446
mov edx, ecx
lea r8, str.unknown_error
sub edx, 0x64
je 0x14008942c
sub edx, 1
je 0x140089423
cmp edx, 0x19f
je 0x14008941a
movzx eax, cl
cmp eax, 0x1d
jae 0x140089433
lea rcx, [0x140000000]
mov rcx, qword [rcx + rax*8 + 0x290250]
test rcx, rcx
je 0x140089433
mov r8, rcx
jmp 0x140089433
lea r8, str.abort_due_to_ROLLBACK
jmp 0x140089433
lea r8, str.no_more_rows_available
jmp 0x140089433
lea r8, str.another_row_available
lea rdx, [0x1402916a8]
mov rcx, r14
call fcn.14007d0b0
mov qword [rsi + 8], rax
mov r8, qword [rsi + 8]
test r8, r8
je 0x140089478
mov rax, qword [rsp + 0x38]
lea rdx, str._s_in___s_
mov qword [rax], r8
mov r9, qword [rsi + 0x138]
mov ecx, dword [rsi + 0x18]
call fcn.140023080
xor edi, edi
mov qword [rsi + 8], rdi
lea ebx, [rdi + 1]
jmp 0x14008947e
mov ebx, dword [rsp + 0x34]
xor edi, edi
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x138], r15
test rcx, rcx
je 0x1400894a7
cmp dword [rsi + 0x30], 0
jle 0x1400894a7
cmp byte [rsi + 0x1e], 0
jne 0x140089523
call fcn.140096810
mov qword [rsi + 0x10], rdi
cmp byte [rsi + 0x1e], 0
jne 0x140089523
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x140089516
cmp qword [r14 + 0x2e0], 0
je 0x1400894d0
mov rdx, rcx
mov rcx, r14
call fcn.140045520
jmp 0x140089516
cmp rcx, qword [r14 + 0x1d0]
jae 0x140089511
cmp rcx, qword [r14 + 0x1c0]
jb 0x1400894f5
mov rax, qword [r14 + 0x1b8]
mov qword [rcx], rax
mov qword [r14 + 0x1b8], rcx
jmp 0x140089516
cmp rcx, qword [r14 + 0x1c8]
jb 0x140089511
mov rax, qword [r14 + 0x1a8]
mov qword [rcx], rax
mov qword [r14 + 0x1a8], rcx
jmp 0x140089516
call fcn.140015cb0
mov qword [rsi + 0x90], rdi
mov dword [rsi + 0x88], edi
mov rcx, qword [rsi + 0x170]
call fcn.140015cb0
cmp byte [rsi + 0x114], 0
jne 0x14008955c
mov rdx, qword [rsi + 0x140]
test rdx, rdx
je 0x14008955c
cmp qword [r14 + 0x2e0], 0
jne 0x140089554
add dword [rdx + 0x3c], 0xffffffff
jne 0x14008955c
mov rcx, r14
call fcn.1400347e0
cmp byte [rsi + 0x114], 2
jae 0x140089574
mov rdx, qword [rsi + 0x150]
mov rcx, r14
call fcn.140067af0
mov rcx, qword [rsi + 0x128]
test rcx, rcx
je 0x1400895dd
cmp qword [r14 + 0x2e0], 0
je 0x140089597
mov rdx, rcx
mov rcx, r14
call fcn.140045520
jmp 0x1400895dd
cmp rcx, qword [r14 + 0x1d0]
jae 0x1400895d8
cmp rcx, qword [r14 + 0x1c0]
jb 0x1400895bc
mov rax, qword [r14 + 0x1b8]
mov qword [rcx], rax
mov qword [r14 + 0x1b8], rcx
jmp 0x1400895dd
cmp rcx, qword [r14 + 0x1c8]
jb 0x1400895d8
mov rax, qword [r14 + 0x1a8]
mov qword [rcx], rax
mov qword [r14 + 0x1a8], rcx
jmp 0x1400895dd
call fcn.140015cb0
mov rcx, qword [rsi + 0xb0]
mov eax, ebx
mov qword [r14 + 0x140], rcx
mov qword [rsi + 0xb0], rdi
mov rcx, qword [rbp + 0x8d0]
xor rcx, rsp
call fcn.1400cfc50
mov rbx, qword [rsp + 0xa38]
add rsp, 0x9e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret