Function at 0x140326c74
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
xor r15d, r15d
mov r8, rdx
mov rdx, qword [rcx]
mov r14, rcx
mov edi, r15d
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x31], r15
mov eax, dword [r8 + 4]
mov ecx, dword [r8 + 8]
mov dword [rbp + 0x77], ecx
lea esi, [rax - 1]
mov dword [rbp + 0x7f], esi
test eax, eax
je 0x140327d69
mov r9d, dword [r8]
lea rcx, str.SELECT_segid__term___pgno__1____pgno1__FROM__Q._q_idx_WHERE_segid_d_ORDER_BY_1__2
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.1402f240c
lea esi, [r15 + 7]
mov rbx, rax
cmp dword [r14 + 0x34], r15d
jne 0x140326d2a
test rax, rax
je 0x140326d26
mov rcx, qword [r14]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x30], r15
lea r9d, [rsi + 0x7e]
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call fcn.140371b74
mov rdi, qword [rbp - 0x31]
mov qword [rbp - 0x29], rdi
mov dword [r14 + 0x34], eax
jmp 0x140326d2a
mov dword [r14 + 0x34], esi
mov rcx, rbx
call fcn.1402f27a0
cmp dword [r14 + 0x34], r15d
jne 0x140327ce2
mov r12d, r15d
test rdi, rdi
jne 0x140326d55
lea rdx, str.API_called_with_NULL_prepared_statement
lea ecx, [rdi + 0x15]
call fcn.1402e3db0
jmp 0x140326d79
cmp qword [rdi], r15
jne 0x140326d72
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.1402e3db0
mov eax, 1
jmp 0x140326d75
mov eax, r15d
test eax, eax
je 0x140326d8a
mov ecx, 0x152cc
call fcn.140372488
mov ebx, eax
jmp 0x14032711e
mov r15, qword [rdi]
xor r13d, r13d
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x140326d9f
call qword [0x140519fa0]
mov al, byte [rdi + 0xc5]
mov rbx, qword [rdi]
cmp al, 2
je 0x140326ede
jmp 0x140326e3f
cmp al, 3
jne 0x140326ede
mov rsi, qword [rdi]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140326dcf
call qword [0x140519fa0]
cmp qword [rdi + 0xb8], r13
jle 0x140326de3
mov rdx, rdi
mov rcx, rsi
call fcn.1403367b0
mov rcx, rdi
call fcn.14038c890
or dword [rdi + 0x30], 0xffffffff
mov byte [rdi + 0xc5], 1
mov dword [rdi + 0x34], r13d
mov word [rdi + 0xc2], 0xff02
mov qword [rdi + 0x38], r13
mov dword [rdi + 0x2c], 1
mov dword [rdi + 0x40], r13d
mov qword [rdi + 0x50], r13
cmp byte [rsi + 0x67], r13b
jne 0x140326e20
test eax, eax
je 0x140326e2a
mov edx, eax
mov rcx, rsi
call fcn.1402fd0a4
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140326e39
call qword [0x140519fb0]
mov al, byte [rdi + 0xc5]
cmp al, 1
jne 0x140326db5
test byte [rdi + 0xc8], 3
je 0x140326e78
mov esi, 1
mov dword [rdi + 0x34], 0x11
cmp byte [rdi + 0xc4], r13b
jge 0x140326f87
mov rcx, rdi
call fcn.14038d534
mov esi, eax
jmp 0x140326f87
cmp dword [rbx + 0xd8], r13d
jne 0x140326e88
mov dword [rbx + 0x198], r13d
test byte [rbx + 0x6e], 0x82
je 0x140326eaf
cmp byte [rbx + 0xc5], r13b
jne 0x140326eaf
cmp qword [rdi + 0xf8], r13
je 0x140326eaf
mov rcx, qword [rbx]
lea rdx, [rdi + 0xb8]
call fcn.140372b24
inc dword [rbx + 0xd8]
test byte [rdi + 0xc8], 0x40
jne 0x140326ec4
inc dword [rbx + 0xe0]
test byte [rdi + 0xc8], 0x80
je 0x140326ed3
inc dword [rbx + 0xdc]
mov dword [rdi + 0x30], r13d
mov byte [rdi + 0xc5], 2
test byte [rdi + 0xc8], 0xc
mov rcx, rdi
je 0x140326ef1
call fcn.14038a738
jmp 0x140326f02
inc dword [rbx + 0xe4]
call fcn.140382d5c
dec dword [rbx + 0xe4]
mov esi, eax
mov eax, 0x64
cmp esi, eax
je 0x140327106
cmp qword [rdi + 0xb8], r13
jle 0x140326f25
mov rdx, rdi
mov rcx, rbx
call fcn.1403367b0
cmp esi, 0x65
jne 0x140326f46
cmp byte [rbx + 0x65], r13b
je 0x140326f59
mov rcx, rbx
call fcn.1403070a8
mov dword [rdi + 0x34], eax
test eax, eax
je 0x140326f59
mov esi, 1
jmp 0x140326f59
cmp byte [rdi + 0xc4], r13b
jge 0x140326f59
mov rcx, rdi
call fcn.14038d534
mov esi, eax
mov dword [rbx + 0x50], esi
mov rcx, qword [rdi]
mov edx, dword [rdi + 0x34]
cmp byte [rcx + 0x67], r13b
jne 0x140326f6c
test edx, edx
je 0x140326f87
call fcn.1402fd0a4
mov ecx, 7
cmp eax, ecx
jne 0x140326f87
cmp byte [rdi + 0xc4], r13b
mov dword [rdi + 0x34], ecx
cmovl esi, ecx
mov ebx, dword [rbx + 0x58]
and ebx, esi
cmp ebx, 0x11
jne 0x14032710b
mov eax, r12d
inc r12d
cmp eax, 0x32
jge 0x14032710b
mov rsi, qword [rdi]
lea rax, [rbp - 0x21]
movzx r9d, byte [rdi + 0xc4]
mov rcx, rsi
mov rdx, qword [rdi + 0xf8]
or r8d, 0xffffffff
mov r14d, dword [rdi + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.140371b74
mov ebx, eax
test eax, eax
jne 0x14032709a
mov rbx, qword [rbp - 0x21]
mov rdx, rdi
mov rcx, rbx
call fcn.14038d358
mov rdx, rdi
mov rcx, rbx
call fcn.14037edcc
mov rcx, rbx
mov dword [rbx + 0x34], r13d
call fcn.140389eb4
mov rbx, qword [rdi]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14032701b
call qword [0x140519fa0]
cmp qword [rdi + 0xb8], r13
jle 0x14032702f
mov rdx, rdi
mov rcx, rbx
call fcn.1403367b0
mov rcx, rdi
call fcn.14038c890
or dword [rdi + 0x30], 0xffffffff
mov byte [rdi + 0xc5], 1
mov dword [rdi + 0x34], r13d
mov word [rdi + 0xc2], 0xff02
mov qword [rdi + 0x38], r13
mov dword [rdi + 0x2c], 1
mov dword [rdi + 0x40], r13d
mov qword [rdi + 0x50], r13
cmp byte [rbx + 0x67], r13b
jne 0x14032706c
test eax, eax
je 0x140327076
mov edx, eax
mov rcx, rbx
call fcn.1402fd0a4
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140327085
call qword [0x140519fb0]
test r14d, r14d
js 0x140326d9f
mov byte [rdi + 0xc3], 0xfe
jmp 0x140326d9f
cmp ebx, 7
jne 0x1403270a7
mov rcx, rsi
call fcn.140372774
mov rcx, qword [r15 + 0x190]
mov dl, 1
call fcn.1403820b8
mov rdx, qword [rdi + 0xa8]
mov rsi, rax
test rdx, rdx
je 0x1403270cc
mov rcx, r15
call fcn.140357710
cmp byte [r15 + 0x67], r13b
jne 0x1403270f3
mov rdx, rsi
mov rcx, r15
call fcn.1403579c0
mov edx, ebx
mov qword [rdi + 0xa8], rax
mov rcx, r15
call fcn.1402fd0a4
mov dword [rdi + 0x34], eax
jmp 0x140327109
mov esi, 7
mov qword [rdi + 0xa8], r13
mov ebx, esi
mov dword [rdi + 0x34], esi
jmp 0x14032710b
mov dword [rbx + 0x50], eax
mov ebx, eax
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14032711a
call qword [0x140519fb0]
mov r14, qword [rbp + 0x67]
cmp ebx, 0x64
jne 0x140327cdf
lea edx, [rbx - 0x63]
mov rcx, rdi
call fcn.1402f4d50
lea edx, [rbx - 0x63]
mov rcx, rdi
mov r13, rax
call fcn.1402f5458
lea edx, [rbx - 0x62]
mov rcx, rdi
mov r12d, eax
call fcn.1402f4db8
movsxd r15, eax
lea edx, [rbx - 0x61]
mov rcx, rdi
mov dword [rbp - 0x51], r15d
call fcn.1402f4db8
mov dword [rbp - 0x49], eax
mov rax, qword [rbp + 0x6f]
cmp r15d, dword [rax + 4]
jl 0x140327cd2
movsxd rdx, dword [rax]
mov rcx, r14
shl rdx, 0x25
add rdx, r15
call fcn.140328c14
mov rbx, rax
test rax, rax
je 0x140327cdf
movsxd rsi, dword [rax + 0xc]
cmp dword [rax + 8], esi
jg 0x1403271a5
mov dword [r14 + 0x34], 0x10b
jmp 0x140327230
mov r14, qword [rax]
lea rdx, [rbp - 0x39]
lea rcx, [r14 + rsi]
call fcn.140366a2c
movzx eax, byte [r14]
movzx ecx, byte [r14 + 1]
movsxd r15, dword [rbp - 0x39]
shl eax, 8
add ecx, eax
cmp ecx, r15d
jge 0x14032720f
cmp r15d, esi
jge 0x14032720f
lea rcx, [r14 + r15]
lea rdx, [rbp - 0x35]
call fcn.140366a2c
mov esi, dword [rbp - 0x35]
add eax, r15d
cmp esi, r12d
mov ecx, r12d
cmovl ecx, esi
test ecx, ecx
jle 0x140327206
movsxd r8, ecx
mov rdx, r13
movsxd rcx, eax
add rcx, r14
call fcn.1403acae0
test eax, eax
jne 0x14032720d
mov eax, esi
sub eax, r12d
test eax, eax
jns 0x14032721d
mov r14, qword [rbp + 0x67]
mov dword [r14 + 0x34], 0x10b
jmp 0x140327221
mov r14, qword [rbp + 0x67]
mov rdx, rbx
mov rcx, r14
call fcn.1403287f8
mov r15d, dword [rbp - 0x51]
mov rcx, rbx
call fcn.1402f27a0
mov ecx, dword [r14 + 0x34]
test ecx, ecx
jne 0x140327cdf
mov eax, dword [rbp + 0x7f]
lea edx, [r15 - 1]
inc eax
mov dword [rbp - 0x41], edx
mov dword [rbp + 0x7f], eax
xor r15d, r15d
cmp eax, edx
jg 0x1403275f2
mov rdx, qword [rbp + 0x6f]
cdqe
mov qword [rbp - 0x59], r15
movsxd r13, dword [rdx]
shl r13, 0x25
add r13, rax
test ecx, ecx
jne 0x1403275cb
lea r12, [r14 + 0x38]
mov ebx, r15d
mov rsi, qword [r12]
test rsi, rsi
je 0x140327383
mov qword [r12], r15
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1403272a5
call qword [0x140519fa0]
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x1403272b3
lea ebx, [rax + 4]
jmp 0x140327303
lea r8, [rbp - 0x19]
mov dword [rax + 0x34], r15d
mov rdx, r13
mov rcx, rsi
call fcn.1402ff6c8
mov ebx, eax
test eax, eax
je 0x140327303
mov r15, qword [rbp - 0x19]
lea rax, [0x140500a50]
mov rcx, r15
mov r9, r15
neg rcx
mov edx, ebx
mov rcx, r14
sbb r8, r8
and r8, rax
call fcn.140359a24
test r15, r15
je 0x140327300
mov rdx, r15
mov rcx, r14
call fcn.140357710
xor r15d, r15d
cmp byte [r14 + 0x67], r15b
jne 0x140327312
test ebx, ebx
jne 0x140327312
mov ebx, r15d
jmp 0x14032731e
mov edx, ebx
mov rcx, r14
call fcn.1402fd0a4
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14032732d
call qword [0x140519fb0]
mov qword [r12], rsi
test ebx, ebx
je 0x14032737f
mov qword [r12], r15
mov r14, qword [rsi + 0x20]
mov r15, qword [rsi + 0x18]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327350
call qword [0x140519fa0]
mov rdx, rsi
mov rcx, r14
call fcn.140357710
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14032736a
call qword [0x140519fb0]
mov rcx, r15
call fcn.1402f57c0
cmp ebx, 4
mov r15d, 0
cmove ebx, r15d
mov r14, qword [rbp + 0x67]
cmp qword [r12], r15
jne 0x1403273b8
test ebx, ebx
jne 0x1403273b8
mov rcx, qword [r14]
lea r9, str.block
mov r8, qword [r14 + 8]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r13
call fcn.1402dfc4c
mov ebx, eax
cmp ebx, 1
jne 0x140327427
mov ebx, 0x10b
mov r13, qword [rbp - 0x59]
inc dword [r14 + 0x68]
mov dword [r14 + 0x34], ebx
test r13, r13
je 0x1403275ce
mov eax, dword [r13 + 8]
cmp dword [r13 + 0xc], eax
jge 0x1403273e9
mov dword [r14 + 0x34], 0x10b
mov eax, dword [rbp + 0x77]
inc eax
cmp dword [rbp + 0x7f], eax
jl 0x1403275ce
mov rdx, qword [r13]
mov ecx, pe_nt_image_headers64
movzx r8d, byte [rdx]
movzx eax, byte [rdx + 1]
imul r8d, ecx
add r8w, ax
cmp r15w, r8w
je 0x1403275ce
mov dword [r14 + 0x34], 0x10b
jmp 0x1403275ce
test ebx, ebx
jne 0x1403273c2
mov rax, qword [r12]
test rax, rax
je 0x14032743e
cmp qword [rax + 0x18], r15
je 0x14032743e
mov ebx, dword [rax]
jmp 0x140327441
mov ebx, r15d
movsxd r14, ebx
mov qword [rbp - 0x59], r14
lea rcx, [r14 + 0x24]
call fcn.1402f2708
mov r13, rax
test rax, rax
je 0x1403275b9
mov dword [rax + 8], ebx
add rax, 0x10
mov qword [r13], rax
mov rsi, qword [r12]
test rsi, rsi
jne 0x140327482
mov ecx, 0x17c95
call fcn.140372488
mov ebx, eax
jmp 0x140327586
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327495
call qword [0x140519fa0]
mov r15, qword [rsi + 0x18]
xor r12d, r12d
test ebx, ebx
js 0x14032752e
cmp ebx, dword [rsi]
jg 0x14032752e
test r15, r15
jne 0x1403274b7
lea ebx, [r15 + 4]
jmp 0x140327533
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x1403274d3
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r12b
jne 0x1403274d3
call fcn.140300378
mov rcx, qword [rsi + 0x10]
lea r9, [r13 + 0x10]
mov edx, dword [rsi + 4]
mov r8d, ebx
cmp byte [rcx], r12b
jne 0x1403274f2
mov dword [rsp + 0x20], r12d
call fcn.1402fab98
jmp 0x1403274f7
call fcn.1402faeac
mov ebx, eax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x140327512
sub dword [rcx + 0x14], 1
jne 0x140327512
call fcn.140397eec
cmp ebx, 4
jne 0x140327528
mov rcx, r15
call fcn.140389eb4
xor r15d, r15d
mov qword [rsi + 0x18], r15
jmp 0x140327536
mov dword [r15 + 0x34], ebx
jmp 0x140327533
mov ebx, 1
xor r15d, r15d
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x14032754e
cmp qword [r14 + 0x190], r15
jne 0x14032754e
or dword [r14 + 0x54], 0xffffffff
jmp 0x140327558
mov edx, ebx
mov rcx, r14
call fcn.14035993c
cmp byte [r14 + 0x67], r15b
jne 0x140327567
test ebx, ebx
jne 0x140327567
mov ebx, r15d
jmp 0x140327573
mov edx, ebx
mov rcx, r14
call fcn.1402fd0a4
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327582
call qword [0x140519fb0]
mov r14, qword [rbp - 0x59]
test ebx, ebx
jne 0x1403275be
mov rax, qword [r13]
mov byte [r14 + rax], r15b
mov rax, qword [r13]
mov byte [r14 + rax + 1], r15b
mov rax, qword [r13]
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
add ecx, eax
mov dword [r13 + 0xc], ecx
mov r14, qword [rbp + 0x67]
jmp 0x1403273c6
mov ebx, 7
mov rcx, r13
call fcn.1402f27a0
mov r13, r15
jmp 0x1403275b0
mov r13, r15
mov rcx, r13
call fcn.1402f27a0
mov eax, dword [rbp + 0x7f]
mov ecx, dword [r14 + 0x34]
inc eax
mov dword [rbp + 0x7f], eax
test ecx, ecx
jne 0x140327cdf
mov edx, dword [rbp - 0x41]
jmp 0x140327256
cmp dword [rbp - 0x49], r15d
je 0x140327cc0
mov rcx, qword [rbp + 0x6f]
xor edx, edx
mov esi, dword [rbp - 0x51]
mov r9d, esi
mov dword [rbp + 0x77], r15d
movsxd rbx, dword [rcx]
mov rcx, r14
mov r8d, ebx
call fcn.14032315c
mov r13, rax
mov qword [rbp - 0x59], rax
mov rax, rbx
mov qword [rbp + 7], rbx
shl rax, 0x25
mov rcx, rbx
mov qword [rbp - 0x41], rax
mov ebx, dword [r14 + 0x34]
test ebx, ebx
jne 0x140327cb2
cmp dword [r13 + 0x14], r15d
jne 0x140327cb2
lea edx, [rsi + 1]
mov esi, dword [r13 + 0x1c]
mov dword [rbp + 0x77], edx
mov dword [rbp + 0x7f], esi
cmp edx, esi
jge 0x14032793a
mov rdi, rcx
shl rdi, 0x25
movsxd r12, edx
xor esi, esi
add r12, rdi
mov qword [rbp + 0x7f], r15
test ebx, ebx
jne 0x1403278e7
add r14, 0x38
mov ebx, esi
xor r13d, r13d
mov rsi, qword [r14]
test rsi, rsi
je 0x1403276eb
mov rdx, r12
mov qword [r14], r13
mov rcx, rsi
call fcn.1402e0234
mov qword [r14], rsi
mov ebx, eax
test eax, eax
je 0x1403276eb
mov qword [r14], r13
mov r15, qword [rsi + 0x20]
mov r13, qword [rsi + 0x18]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x1403276bb
call qword [0x140519fa0]
mov rdx, rsi
mov rcx, r15
call fcn.140357710
mov rcx, qword [r15 + 0x18]
xor esi, esi
test rcx, rcx
je 0x1403276d7
call qword [0x140519fb0]
mov rcx, r13
call fcn.1402f57c0
mov r15, qword [rbp + 0x7f]
cmp ebx, 4
cmove ebx, esi
jmp 0x1403276ed
xor esi, esi
cmp qword [r14], rsi
jne 0x140327724
test ebx, ebx
jne 0x140327724
mov r8, qword [rbp + 0x67]
lea r9, str.block
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r12
mov rcx, qword [r8]
mov r8, qword [r8 + 8]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.1402dfc4c
mov ebx, eax
cmp ebx, 1
jne 0x140327733
mov ebx, 0x10b
jmp 0x1403278d4
test ebx, ebx
jne 0x1403278d4
mov rax, qword [r14]
test rax, rax
je 0x14032774d
cmp qword [rax + 0x18], rsi
je 0x14032774d
mov ebx, dword [rax]
jmp 0x14032774f
mov ebx, esi
movsxd r13, ebx
lea rcx, [r13 + 0x24]
call fcn.1402f2708
mov qword [rbp + 0x7f], rax
mov r15, rax
test rax, rax
je 0x1403278c4
lea r12, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], r12
xor r8d, r8d
mov rsi, qword [r14]
test rsi, rsi
jne 0x140327791
mov ecx, 0x17c95
call fcn.140372488
mov ebx, eax
jmp 0x14032789b
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1403277a7
call qword [0x140519fa0]
xor r8d, r8d
mov r15, qword [rsi + 0x18]
test ebx, ebx
js 0x140327845
cmp ebx, dword [rsi]
jg 0x140327845
test r15, r15
jne 0x1403277c9
lea ebx, [r15 + 4]
jmp 0x14032784a
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r8b
je 0x1403277e8
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r8b
jne 0x1403277e8
call fcn.140300378
xor r8d, r8d
mov rcx, qword [rsi + 0x10]
mov r9, r12
mov edx, dword [rsi + 4]
cmp byte [rcx], r8b
jne 0x140327806
mov dword [rsp + 0x20], r8d
mov r8d, ebx
call fcn.1402fab98
jmp 0x14032780e
mov r8d, ebx
call fcn.1402faeac
mov ebx, eax
xor r12d, r12d
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x14032782c
sub dword [rcx + 0x14], 1
jne 0x14032782c
call fcn.140397eec
cmp ebx, 4
jne 0x14032783f
mov rcx, r15
call fcn.140389eb4
mov qword [rsi + 0x18], r12
jmp 0x14032784a
mov dword [r15 + 0x34], ebx
jmp 0x14032784a
mov ebx, 1
xor esi, esi
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x140327864
cmp qword [r14 + 0x190], rsi
jne 0x140327864
or dword [r14 + 0x54], 0xffffffff
jmp 0x14032786e
mov edx, ebx
mov rcx, r14
call fcn.14035993c
cmp byte [r14 + 0x67], sil
jne 0x14032787c
test ebx, ebx
jne 0x14032787c
mov ebx, esi
jmp 0x140327888
mov edx, ebx
mov rcx, r14
call fcn.1402fd0a4
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327897
call qword [0x140519fb0]
mov r15, qword [rbp + 0x7f]
test ebx, ebx
jne 0x1403278c9
mov rax, qword [r15]
mov byte [rax + r13], sil
mov rax, qword [r15]
mov byte [rax + r13 + 1], sil
mov rax, qword [r15]
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
add ecx, eax
mov dword [r15 + 0xc], ecx
jmp 0x1403278d4
mov ebx, 7
mov rcx, r15
call fcn.1402f27a0
mov r15, rsi
mov r14, qword [rbp + 0x67]
mov r13, qword [rbp - 0x59]
mov edx, dword [rbp + 0x77]
inc dword [r14 + 0x68]
mov dword [r14 + 0x34], ebx
test r15, r15
je 0x14032791c
mov r8, qword [r15]
mov ecx, pe_nt_image_headers64
movzx edx, byte [r8]
movzx eax, byte [r8 + 1]
imul edx, ecx
add dx, ax
je 0x14032790d
mov dword [r14 + 0x34], 0x10b
mov rcx, r15
call fcn.1402f27a0
mov edx, dword [rbp + 0x77]
mov ebx, dword [r14 + 0x34]
mov esi, dword [r13 + 0x1c]
inc edx
mov dword [rbp + 0x77], edx
mov r15d, 0
mov dword [rbp + 0x7f], esi
cmp edx, esi
jl 0x140327665
mov rax, qword [rbp - 0x41]
mov rdi, qword [rbp + 0x67]
mov r14, r15
movsxd r13, esi
add r13, rax
mov qword [rbp - 0x49], r15
test ebx, ebx
jne 0x140327c47
lea r12, [rdi + 0x38]
mov ebx, r15d
mov rsi, qword [r12]
test rsi, rsi
je 0x140327a5c
mov qword [r12], r15
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14032797e
call qword [0x140519fa0]
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x14032798c
lea ebx, [rax + 4]
jmp 0x1403279dc
lea r8, [rbp - 0x11]
mov dword [rax + 0x34], r15d
mov rdx, r13
mov rcx, rsi
call fcn.1402ff6c8
mov ebx, eax
test eax, eax
je 0x1403279dc
mov r15, qword [rbp - 0x11]
lea rax, [0x140500a50]
mov rcx, r15
mov r9, r15
neg rcx
mov edx, ebx
mov rcx, r14
sbb r8, r8
and r8, rax
call fcn.140359a24
test r15, r15
je 0x1403279d9
mov rdx, r15
mov rcx, r14
call fcn.140357710
xor r15d, r15d
cmp byte [r14 + 0x67], r15b
jne 0x1403279eb
test ebx, ebx
jne 0x1403279eb
mov ebx, r15d
jmp 0x1403279f7
mov edx, ebx
mov rcx, r14
call fcn.1402fd0a4
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327a06
call qword [0x140519fb0]
mov qword [r12], rsi
test ebx, ebx
je 0x140327a58
mov qword [r12], r15
mov r14, qword [rsi + 0x20]
mov r15, qword [rsi + 0x18]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327a29
call qword [0x140519fa0]
mov rdx, rsi
mov rcx, r14
call fcn.140357710
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327a43
call qword [0x140519fb0]
mov rcx, r15
call fcn.1402f57c0
cmp ebx, 4
mov r15d, 0
cmove ebx, r15d
mov r14, qword [rbp - 0x49]
cmp qword [r12], r15
jne 0x140327a91
test ebx, ebx
jne 0x140327a91
mov rcx, qword [rdi]
lea r9, str.block
mov r8, qword [rdi + 8]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r13
call fcn.1402dfc4c
mov ebx, eax
cmp ebx, 1
jne 0x140327aa0
mov ebx, 0x10b
jmp 0x140327c3e
test ebx, ebx
jne 0x140327c3e
mov rax, qword [r12]
test rax, rax
je 0x140327abb
cmp qword [rax + 0x18], r15
je 0x140327abb
mov ebx, dword [rax]
jmp 0x140327abe
mov ebx, r15d
movsxd r15, ebx
mov qword [rbp - 9], r15
lea rcx, [r15 + 0x24]
call fcn.1402f2708
mov qword [rbp - 0x49], rax
mov r14, rax
test rax, rax
je 0x140327c2b
lea r13, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], r13
mov rsi, qword [r12]
xor r12d, r12d
test rsi, rsi
jne 0x140327b05
mov ecx, 0x17c95
call fcn.140372488
mov ebx, eax
jmp 0x140327bff
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327b18
call qword [0x140519fa0]
mov r15, qword [rsi + 0x18]
test ebx, ebx
js 0x140327ba6
cmp ebx, dword [rsi]
jg 0x140327ba6
test r15, r15
jne 0x140327b33
lea ebx, [r15 + 4]
jmp 0x140327bab
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x140327b4f
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r12b
jne 0x140327b4f
call fcn.140300378
mov rcx, qword [rsi + 0x10]
mov r9, r13
mov edx, dword [rsi + 4]
mov r8d, ebx
cmp byte [rcx], r12b
jne 0x140327b6d
mov dword [rsp + 0x20], r12d
call fcn.1402fab98
jmp 0x140327b72
call fcn.1402faeac
mov ebx, eax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x140327b8d
sub dword [rcx + 0x14], 1
jne 0x140327b8d
call fcn.140397eec
cmp ebx, 4
jne 0x140327ba0
mov rcx, r15
call fcn.140389eb4
mov qword [rsi + 0x18], r12
jmp 0x140327bab
mov dword [r15 + 0x34], ebx
jmp 0x140327bab
mov ebx, 1
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x140327bc3
cmp qword [r14 + 0x190], r12
jne 0x140327bc3
or dword [r14 + 0x54], 0xffffffff
jmp 0x140327bcd
mov edx, ebx
mov rcx, r14
call fcn.14035993c
cmp byte [r14 + 0x67], r12b
jne 0x140327bdc
test ebx, ebx
jne 0x140327bdc
mov ebx, r12d
jmp 0x140327be8
mov edx, ebx
mov rcx, r14
call fcn.1402fd0a4
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140327bf7
call qword [0x140519fb0]
mov r14, qword [rbp - 0x49]
mov r15, qword [rbp - 9]
test ebx, ebx
jne 0x140327c30
mov rax, qword [r14]
mov byte [r15 + rax], r12b
mov rax, qword [r14]
mov byte [r15 + rax + 1], r12b
mov rax, qword [r14]
movzx ecx, byte [rax + 3]
movzx eax, byte [rax + 2]
shl eax, 8
add ecx, eax
mov dword [r14 + 0xc], ecx
xor r15d, r15d
jmp 0x140327c3e
mov ebx, 7
mov rcx, r14
call fcn.1402f27a0
xor r15d, r15d
mov r14d, r15d
inc dword [rdi + 0x68]
mov esi, dword [rbp + 0x7f]
mov dword [rdi + 0x34], ebx
test r14, r14
je 0x140327c8f
mov rdx, qword [r14]
movzx eax, byte [rdx]
movzx r8d, byte [rdx + 1]
shl eax, 8
add r8d, eax
cmp r8d, dword [r14 + 0xc]
jge 0x140327c80
mov ecx, r8d
add rcx, rdx
lea rdx, [rbp - 1]
call fcn.140366870
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx + 0x20]
cmp qword [rbp - 1], rax
je 0x140327c87
mov dword [rdi + 0x34], 0x10b
mov rcx, r14
call fcn.1402f27a0
mov r13, qword [rbp - 0x59]
xor r8d, r8d
mov r14, qword [rbp + 0x67]
mov rdx, r13
mov rcx, r14
call fcn.14032393c
mov rax, qword [rbp - 0x41]
mov rcx, qword [rbp + 7]
jmp 0x140327633
mov rcx, r13
call fcn.140323110
mov rdi, qword [rbp - 0x29]
jmp 0x140327cca
mov rax, qword [rbp + 0x6f]
mov eax, dword [rax + 8]
mov dword [rbp + 0x77], eax
mov eax, dword [rbp - 0x51]
mov dword [rbp + 0x7f], eax
jmp 0x140327cd5
xor r15d, r15d
cmp dword [r14 + 0x34], r15d
je 0x140326d3c
xor r15d, r15d
test rdi, rdi
jne 0x140327cec
mov edi, r15d
jmp 0x140327d5f
mov rbx, qword [rdi]
test rbx, rbx
jne 0x140327d11
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.1402e3db0
mov ecx, 0x15022
call fcn.140372488
mov edi, eax
jmp 0x140327d5f
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140327d20
call qword [0x140519fa0]
cmp qword [rdi + 0xb8], r15
jle 0x140327d34
mov rdx, rdi
mov rcx, rbx
call fcn.1403367b0
mov rcx, rdi
call fcn.140389eb4
cmp byte [rbx + 0x67], r15b
jne 0x140327d4b
test eax, eax
jne 0x140327d4b
mov edi, r15d
jmp 0x140327d57
mov edx, eax
mov rcx, rbx
call fcn.1402fd0a4
mov edi, eax
mov rcx, rbx
call fcn.140371220
cmp dword [r14 + 0x34], r15d
jne 0x140327d69
mov dword [r14 + 0x34], edi
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret