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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x30
mov rax, qword [rcx]
xor r12d, r12d
mov r14, r8
mov rbx, rdx
mov rdi, rcx
mov esi, r12d
cmp dword [rax + 0x58], r12d
je 0x14027fc4a
xor r9d, r9d
mov qword [rsp + 0x60], r12
lea r8, [rsp + 0x60]
lea edx, [r12 + 6]
call fcn.14027f2a0
mov esi, eax
test eax, eax
jne 0x14027fc4a
mov qword [rsp + 0x70], r13
mov r8, rbx
mov rbx, qword [rsp + 0x60]
mov r13d, 1
mov edx, r13d
mov qword [rsp + 0x68], rbp
mov rcx, rbx
call fcn.140227ce0
mov rax, qword [rdi]
cmp dword [rax + 0x44], r12d
je 0x14027f7ec
mov rdi, qword [rdi + 8]
mov ebp, r12d
cmp qword [rdi + 0x90], r12
jne 0x14027f7a9
mov rcx, rdi
call fcn.14026f130
mov qword [rdi + 0x88], rax
cmp dword [rdi + 0x3c], r12d
jne 0x14027f7cd
mov rcx, rdi
call fcn.1402815f0
mov qword [rdi + 0x90], rax
cmp dword [rdi + 0x3c], r12d
jne 0x14027f7cd
mov rax, qword [rdi + 0x90]
inc dword [rax]
mov rcx, qword [rdi + 0x90]
test rcx, rcx
je 0x14027f7cd
mov rbp, qword [rcx + 0x10]
call fcn.1402817f0
mov esi, dword [rdi + 0x3c]
mov r8, rbp
mov edx, 3
mov dword [rdi + 0x3c], r12d
mov rcx, rbx
call fcn.140227ce0
test esi, esi
jne 0x14027fc40
mov r9d, dword [r14 + 8]
mov edx, 2
mov r8, qword [r14]
mov rcx, rbx
mov qword [rsp + 0x20], r12
call fcn.140227a60
lea rbp, [0x14035ce34]
mov esi, r12d
test rbx, rbx
jne 0x14027f825
lea rdx, str.API_called_with_NULL_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.140208410
jmp 0x14027f847
cmp qword [rbx], rsi
jne 0x14027f840
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.140208410
mov eax, r13d
jmp 0x14027f843
mov eax, r12d
test eax, eax
je 0x14027f86f
mov r9d, 0x160c0
mov qword [rsp + 0x20], rbp
lea r8, str.misuse
mov ecx, 0x15
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140208410
jmp 0x14027fa43
mov qword [rsp + 0x78], r15
mov r15, qword [rbx]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14027f886
call qword [0x14046b0b0]
mov rcx, rbx
call fcn.1402f8d60
cmp eax, 0x11
jne 0x14027fa2f
nop word [rax + rax]
mov eax, esi
inc esi
cmp eax, 0x32
jge 0x14027fa28
mov ebp, dword [rbx + 0x30]
mov rcx, rbx
call fcn.1402f0cd0
mov r14d, eax
test eax, eax
jne 0x14027f960
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14027f8d5
call qword [0x14046b0b0]
cmp qword [rbx + 0xb8], r12
jle 0x14027f8e9
mov rdx, rbx
mov rcx, rdi
call fcn.14028ae40
mov rcx, rbx
call fcn.14030c440
mov byte [rbx + 0xc7], r13b
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r12d
mov word [rbx + 0xc4], 0xff02
mov qword [rbx + 0x38], r12
mov dword [rbx + 0x2c], r13d
mov dword [rbx + 0x40], r12d
mov qword [rbx + 0x50], r12
cmp byte [rdi + 0x67], r12b
jne 0x14027f926
test eax, eax
je 0x14027f930
mov edx, eax
mov rcx, rdi
call fcn.14022e8e0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14027f93f
call qword [0x14046b0c0]
test ebp, ebp
js 0x14027f94a
mov byte [rbx + 0xc5], 0xfe
mov rcx, rbx
call fcn.1402f8d60
cmp eax, 0x11
je 0x14027f8a0
jmp 0x14027fa28
mov rcx, qword [r15 + 0x190]
test rcx, rcx
jne 0x14027f971
mov rsi, r12
jmp 0x14027f9aa
movzx edx, word [rcx + 0x14]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x14027f994
cmp byte [rcx + 0x16], r13b
jne 0x14027f994
mov rsi, qword [rcx + 8]
jmp 0x14027f9aa
test r13b, dl
je 0x14027f99e
mov rsi, r12
jmp 0x14027f9aa
movzx edx, r13b
call fcn.14031f760
mov rsi, rax
mov rdx, qword [rbx + 0xa8]
test rdx, rdx
je 0x14027f9be
mov rcx, r15
call fcn.1402bd350
cmp byte [r15 + 0x67], r12b
jne 0x14027fa1a
test rsi, rsi
jne 0x14027f9ce
mov rbp, r12
jmp 0x14027fa03
mov rdi, 0xffffffffffffffff
cmp byte [rsi + rdi + 1], r12b
lea rdi, [rdi + 1]
jne 0x14027f9d5
lea rdx, [rdi + 1]
mov rcx, r15
call fcn.1402bd4e0
mov rbp, rax
test rax, rax
je 0x14027fa03
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, r14d
mov qword [rbx + 0xa8], rbp
mov rcx, r15
call fcn.14022e8e0
mov dword [rbx + 0x34], eax
jmp 0x14027fa28
mov qword [rbx + 0xa8], r12
mov dword [rbx + 0x34], 7
lea rbp, [0x14035ce34]
mov rcx, qword [r15 + 0x18]
mov r15, qword [rsp + 0x78]
test rcx, rcx
je 0x14027fa43
call qword [0x14046b0c0]
test rbx, rbx
jne 0x14027fa50
mov esi, r12d
jmp 0x14027fad3
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14027fa62
call qword [0x14046b0b0]
cmp qword [rbx + 0xb8], r12
jle 0x14027fa76
mov rdx, rbx
mov rcx, rdi
call fcn.14028ae40
mov rcx, rbx
call fcn.14030c440
mov byte [rbx + 0xc7], r13b
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r12d
mov word [rbx + 0xc4], 0xff02
mov qword [rbx + 0x38], r12
mov dword [rbx + 0x2c], r13d
mov dword [rbx + 0x40], r12d
mov qword [rbx + 0x50], r12
cmp byte [rdi + 0x67], r12b
jne 0x14027fab8
test eax, eax
jne 0x14027fab8
mov esi, r12d
jmp 0x14027fac4
mov edx, eax
mov rcx, rdi
call fcn.14022e8e0
mov esi, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14027fad3
call qword [0x14046b0c0]
test rbx, rbx
jne 0x14027faf2
lea rdx, str.API_called_with_NULL_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.140208410
mov r9d, 0x16396
jmp 0x14027fba5
cmp qword [rbx], r12
jne 0x14027fb0d
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.140208410
mov eax, r13d
jmp 0x14027fb10
mov eax, r12d
test eax, eax
je 0x14027fb1f
mov r9d, 0x16396
jmp 0x14027fba5
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14027fb31
call qword [0x14046b0b0]
cmp byte [rbx + 0xc7], r13b
je 0x14027fbc4
mov r9d, 0x1639a
mov qword [rsp + 0x20], rbp
lea r8, str.misuse
mov ecx, 0x15
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140208410
mov rcx, qword [rbx]
mov edx, 0x15
mov dword [rcx + 0x50], 0x15
call fcn.1402c0010
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14027fb87
call qword [0x14046b0c0]
mov r8, qword [rbx + 0xf8]
lea rdx, str.bind_on_a_busy_prepared_statement:___s_
mov ecx, 0x15
call fcn.140208410
mov r9d, 0x1639e
lea r8, str.misuse
mov qword [rsp + 0x20], rbp
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.140208410
jmp 0x14027fc40
cmp r13w, word [rbx + 0x20]
jb 0x14027fbe1
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.1402c0010
jmp 0x14027fc2e
mov rdi, qword [rbx + 0x80]
mov eax, 0x9000
test word [rdi + 0x4c], ax
jne 0x14027fbf9
cmp dword [rdi + 0x58], r12d
je 0x14027fc02
lea rcx, [rdi + 0x38]
call fcn.140320c80
mov word [rdi + 0x4c], r13w
mov rax, qword [rbx]
mov dword [rax + 0x50], r12d
mov eax, dword [rbx + 0x11c]
test eax, eax
je 0x14027fc2e
test al, 2
je 0x14027fc2e
mov eax, dword [rbx + 0xc8]
and eax, 0xfffffffd
or eax, r13d
mov dword [rbx + 0xc8], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14027fc40
call qword [0x14046b0c0]
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov eax, esi
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret