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

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8c8]
sub rsp, 0x9c8
mov r14, rcx
mov r15, rdx
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov rdi, qword [r14]
lea esi, [rcx - 1]
mov r13d, dword [rdi + 0x80]
cmp dword [rdi + 0xc8], ecx
jne 0x1400bb287
mov dword [rdi + 0x160], ecx
mov dword [r14 + 0x18], ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x910]
mov dword [rsp + 0x50], ecx
lea rax, [rbp + 0x898]
mov qword [rbp + 0x8b0], rax
mov rcx, r15
mov qword [r14 + 0x128], r15
mov qword [rsp + 0x48], r14
mov rax, qword [rdi + 0x128]
mov qword [r14 + 0xa0], rax
mov qword [rdi + 0x128], r14
call fcn.1400bab00
sub r13d, eax
mov r12d, eax
js 0x1400bb595
mov ebx, dword [rbp + 0x910]
cmp ebx, 0x9f
jl 0x1400bb53f
mov eax, dword [rdi + 0x160]
test eax, eax
jne 0x1400bb602
mov eax, dword [rbp + 0x910]
cmp eax, 0xb1
jne 0x1400bb31b
movsxd rax, r12d
add r15, rax
jmp 0x1400bb57a
cmp byte [r15], 0
jne 0x1400bb345
cmp esi, 1
jne 0x1400bb330
xor ebx, ebx
xor r12d, r12d
jmp 0x1400bb539
test esi, esi
je 0x1400bb59d
mov ebx, 1
xor r12d, r12d
jmp 0x1400bb539
cmp eax, 0x9f
jne 0x1400bb43e
lea rbx, [r15 + 6]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp + 0x918]
mov rcx, rbx
call fcn.1400bab00
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rbp + 0x918]
cmp ecx, 0xb1
je 0x1400bb360
cmp ecx, 0x3b
je 0x1400bb3b8
lea eax, [rcx - 0x71]
cmp eax, 0x2f
ja 0x1400bb3a1
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1400bb3b8
lea rsi, [0x140000000]
cmp word [rsi + rcx*2 + 0x14c410], 0x3b
je 0x1400bb3bf
jmp 0x1400bb534
lea rsi, [0x140000000]
mov dword [rbp + 0x918], 0x3b
nop dword [rax]
lea rdx, [rbp + 0x928]
mov rcx, rbx
call fcn.1400bab00
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rbp + 0x928]
cmp ecx, 0xb1
je 0x1400bb3d0
cmp ecx, 0x3b
je 0x1400bb42f
lea eax, [rcx - 0x71]
cmp eax, 0x2f
ja 0x1400bb411
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1400bb42f
cmp word [rsi + rcx*2 + 0x14c410], 0x3b
je 0x1400bb42f
cmp ecx, 0x18
jne 0x1400bb534
mov ebx, 0x9f
jmp 0x1400bb539
mov dword [rbp + 0x928], 0x3b
jmp 0x1400bb534
cmp eax, 0xa0
jne 0x1400bb4bd
cmp esi, 0x17
jne 0x1400bb534
lea rbx, [r15 + 4]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400bab00
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rsp + 0x20]
cmp ecx, 0xb1
je 0x1400bb452
cmp ecx, 0x3b
je 0x1400bb4ab
lea eax, [rcx - 0x71]
cmp eax, 0x2f
ja 0x1400bb48f
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1400bb4ab
lea rdx, [0x140000000]
cmp word [rdx + rcx*2 + 0x14c410], 0x3b
je 0x1400bb4ab
cmp ecx, 0x16
je 0x1400bb4b3
jmp 0x1400bb534
mov dword [rsp + 0x20], 0x3b
mov ebx, 0xa0
jmp 0x1400bb539
cmp eax, 0xa1
jne 0x1400bb5eb
cmp esi, 0x17
jne 0x1400bb534
lea rbx, [r15 + 6]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.1400bab00
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rsp + 0x24]
cmp ecx, 0xb1
je 0x1400bb4d1
cmp ecx, 0x3b
je 0x1400bb52c
lea eax, [rcx - 0x71]
cmp eax, 0x2f
ja 0x1400bb50e
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1400bb52c
lea rdx, [0x140000000]
cmp word [rdx + rcx*2 + 0x14c410], 0x3b
je 0x1400bb52c
cmp ecx, 0x16
jne 0x1400bb534
mov ebx, 0xa1
jmp 0x1400bb539
mov dword [rsp + 0x24], 0x3b
mov ebx, 0x3b
mov dword [rbp + 0x910], ebx
mov qword [r14 + 0xf0], r15
lea r8, [rsp + 0x30]
mov dword [r14 + 0xf8], r12d
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [r14 + 0xf0]
mov edx, ebx
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400ba780
movsxd rax, r12d
mov esi, ebx
add r15, rax
cmp dword [r14 + 0x18], 0
jne 0x1400bb59d
lea rdx, [rbp + 0x910]
mov rcx, r15
call fcn.1400bab00
sub r13d, eax
mov r12d, eax
jns 0x1400bb2e3
mov dword [r14 + 0x18], SQLAllocHandle
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
jbe 0x1400bb5da
nop dword [rax]
lea rax, [rcx - 0x18]
mov qword [rsp + 0x40], rax
lea r8, [rcx + 8]
movzx edx, word [rcx + 2]
lea rcx, [rsp + 0x40]
call fcn.1400b7560
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
ja 0x1400bb5b0
cmp byte [rdi + 0x61], 0
je 0x1400bb60c
mov ecx, 7
mov dword [r14 + 0x18], ecx
jmp 0x1400bb619
mov r9, r15
lea rdx, str.unrecognized_token:___.s_
mov r8d, r12d
mov rcx, r14
call fcn.14001a970
jmp 0x1400bb59d
mov dword [r14 + 0x18], 9
jmp 0x1400bb59d
mov ecx, dword [r14 + 0x18]
test ecx, ecx
je 0x1400bb688
cmp ecx, 0x65
je 0x1400bb688
cmp qword [r14 + 8], 0
jne 0x1400bb688
mov edx, ecx
lea r8, str.unknown_error
sub edx, 0x64
je 0x1400bb66e
sub edx, 1
je 0x1400bb665
cmp edx, 0x19f
je 0x1400bb65c
movzx eax, cl
cmp eax, 0x1d
jae 0x1400bb675
lea rcx, [0x140000000]
mov rcx, qword [rcx + rax*8 + 0x147040]
test rcx, rcx
je 0x1400bb675
mov r8, rcx
jmp 0x1400bb675
lea r8, str.abort_due_to_ROLLBACK
jmp 0x1400bb675
lea r8, str.no_more_rows_available
jmp 0x1400bb675
lea r8, str.another_row_available
lea rdx, [0x1401615c0]
mov rcx, rdi
call fcn.140019b60
mov qword [r14 + 8], rax
mov r8, qword [r14 + 8]
test r8, r8
je 0x1400bb6c0
mov rax, qword [rbp + 0x920]
lea rdx, str._s_in___s_
mov r9, qword [r14 + 0x128]
mov ecx, dword [r14 + 0x18]
mov qword [rax], r8
call fcn.140019dd0
xor r12d, r12d
mov qword [r14 + 8], r12
lea esi, [r12 + 1]
jmp 0x1400bb6c7
mov esi, dword [rsp + 0x28]
xor r12d, r12d
mov rcx, qword [r14 + 0x10]
mov qword [r14 + 0x128], r15
test rcx, rcx
je 0x1400bb6ee
cmp dword [r14 + 0x30], 0
jle 0x1400bb6ee
cmp byte [r14 + 0x1e], 0
jne 0x1400bb6ee
call fcn.140040d30
mov qword [r14 + 0x10], r12
mov rbx, qword [r14 + 0x160]
test rbx, rbx
je 0x1400bb726
cmp dword [0x1401abb60], 0
mov rcx, rbx
je 0x1400bb720
call qword [0x1401abb98]
movsxd rdx, eax
mov rcx, rbx
sub qword [0x1401b2b20], rdx
dec qword [0x1401b2b68]
call qword [0x1401abb88]
cmp byte [r14 + 0x104], 0
jne 0x1400bb754
mov rdx, qword [r14 + 0x130]
test rdx, rdx
je 0x1400bb754
cmp qword [rdi + 0x298], 0
jne 0x1400bb74c
add dword [rdx + 0x3c], 0xffffffff
jne 0x1400bb754
mov rcx, rdi
call fcn.140066a20
cmp byte [r14 + 0x104], 2
jae 0x1400bb76d
mov rdx, qword [r14 + 0x140]
mov rcx, rdi
call fcn.140099b00
mov rdx, qword [r14 + 0x180]
test rdx, rdx
je 0x1400bb781
mov rcx, rdi
call fcn.14006f750
mov rbx, qword [r14 + 0x118]
test rbx, rbx
je 0x1400bb7f5
cmp qword [rdi + 0x298], 0
je 0x1400bb7a4
mov rdx, rbx
mov rcx, rdi
call fcn.1400170b0
jmp 0x1400bb7f5
cmp rbx, qword [rdi + 0x190]
jb 0x1400bb7c9
cmp rbx, qword [rdi + 0x198]
jae 0x1400bb7c9
mov rax, qword [rdi + 0x188]
mov qword [rbx], rax
mov qword [rdi + 0x188], rbx
jmp 0x1400bb7f5
cmp dword [0x1401abb60], 0
mov rcx, rbx
je 0x1400bb7ef
call qword [0x1401abb98]
movsxd rcx, eax
sub qword [0x1401b2b20], rcx
mov rcx, rbx
dec qword [0x1401b2b68]
call qword [0x1401abb88]
mov rbx, qword [r14 + 0x88]
test rbx, rbx
je 0x1400bb87f
mov rax, qword [rbx]
mov qword [r14 + 0x88], rax
cmp qword [rdi + 0x298], 0
je 0x1400bb822
mov rdx, rbx
mov rcx, rdi
call fcn.1400170b0
jmp 0x1400bb873
cmp rbx, qword [rdi + 0x190]
jb 0x1400bb847
cmp rbx, qword [rdi + 0x198]
jae 0x1400bb847
mov rax, qword [rdi + 0x188]
mov qword [rbx], rax
mov qword [rdi + 0x188], rbx
jmp 0x1400bb873
cmp dword [0x1401abb60], 0
mov rcx, rbx
je 0x1400bb86d
call qword [0x1401abb98]
movsxd rcx, eax
sub qword [0x1401b2b20], rcx
mov rcx, rbx
dec qword [0x1401b2b68]
call qword [0x1401abb88]
mov rbx, qword [r14 + 0x88]
test rbx, rbx
jne 0x1400bb801
mov rcx, qword [r14 + 0x168]
test rcx, rcx
je 0x1400bb8c2
nop dword [rax + rax]
mov rax, qword [rcx + 0x78]
mov qword [r14 + 0x168], rax
cmp qword [rdi + 0x298], 0
jne 0x1400bb8ab
add dword [rcx + 0x3c], 0xffffffff
jne 0x1400bb8b6
mov rdx, rcx
mov rcx, rdi
call fcn.140066a20
mov rcx, qword [r14 + 0x168]
test rcx, rcx
jne 0x1400bb890
mov rcx, qword [r14 + 0xa0]
mov eax, esi
mov qword [rdi + 0x128], rcx
mov qword [r14 + 0xa0], r12
add rsp, 0x9c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret