Function at 0x140220a3c
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 0x140221b31
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.1401f152c
lea esi, [r15 + 7]
mov rbx, rax
cmp dword [r14 + 0x34], r15d
jne 0x140220af2
test rax, rax
je 0x140220aee
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.14026b738
mov rdi, qword [rbp - 0x31]
mov qword [rbp - 0x29], rdi
mov dword [r14 + 0x34], eax
jmp 0x140220af2
mov dword [r14 + 0x34], esi
mov rcx, rbx
call fcn.1401f1d34
cmp dword [r14 + 0x34], r15d
jne 0x140221aaa
mov r12d, r15d
test rdi, rdi
jne 0x140220b1d
lea rdx, str.API_called_with_NULL_prepared_statement
lea ecx, [rdi + 0x15]
call fcn.1401e0be4
jmp 0x140220b41
cmp qword [rdi], r15
jne 0x140220b3a
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.1401e0be4
mov eax, 1
jmp 0x140220b3d
mov eax, r15d
test eax, eax
je 0x140220b52
mov ecx, 0x152cc
call fcn.14026c038
mov ebx, eax
jmp 0x140220ee6
mov r15, qword [rdi]
xor r13d, r13d
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x140220b67
call qword [0x1403c8f80]
mov al, byte [rdi + 0xc5]
mov rbx, qword [rdi]
cmp al, 2
je 0x140220ca6
jmp 0x140220c07
cmp al, 3
jne 0x140220ca6
mov rsi, qword [rdi]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140220b97
call qword [0x1403c8f80]
cmp qword [rdi + 0xb8], r13
jle 0x140220bab
mov rdx, rdi
mov rcx, rsi
call fcn.140230578
mov rcx, rdi
call fcn.140286440
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 0x140220be8
test eax, eax
je 0x140220bf2
mov edx, eax
mov rcx, rsi
call fcn.1401f6e68
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140220c01
call qword [0x1403c8f90]
mov al, byte [rdi + 0xc5]
cmp al, 1
jne 0x140220b7d
test byte [rdi + 0xc8], 3
je 0x140220c40
mov esi, 1
mov dword [rdi + 0x34], 0x11
cmp byte [rdi + 0xc4], r13b
jge 0x140220d4f
mov rcx, rdi
call fcn.1402870e4
mov esi, eax
jmp 0x140220d4f
cmp dword [rbx + 0xd8], r13d
jne 0x140220c50
mov dword [rbx + 0x198], r13d
test byte [rbx + 0x6e], 0x82
je 0x140220c77
cmp byte [rbx + 0xc5], r13b
jne 0x140220c77
cmp qword [rdi + 0xf8], r13
je 0x140220c77
mov rcx, qword [rbx]
lea rdx, [rdi + 0xb8]
call fcn.14026c6d4
inc dword [rbx + 0xd8]
test byte [rdi + 0xc8], 0x40
jne 0x140220c8c
inc dword [rbx + 0xe0]
test byte [rdi + 0xc8], 0x80
je 0x140220c9b
inc dword [rbx + 0xdc]
mov dword [rdi + 0x30], r13d
mov byte [rdi + 0xc5], 2
test byte [rdi + 0xc8], 0xc
mov rcx, rdi
je 0x140220cb9
call fcn.1402842e8
jmp 0x140220cca
inc dword [rbx + 0xe4]
call fcn.14027c90c
dec dword [rbx + 0xe4]
mov esi, eax
mov eax, 0x64
cmp esi, eax
je 0x140220ece
cmp qword [rdi + 0xb8], r13
jle 0x140220ced
mov rdx, rdi
mov rcx, rbx
call fcn.140230578
cmp esi, 0x65
jne 0x140220d0e
cmp byte [rbx + 0x65], r13b
je 0x140220d21
mov rcx, rbx
call fcn.140200e78
mov dword [rdi + 0x34], eax
test eax, eax
je 0x140220d21
mov esi, 1
jmp 0x140220d21
cmp byte [rdi + 0xc4], r13b
jge 0x140220d21
mov rcx, rdi
call fcn.1402870e4
mov esi, eax
mov dword [rbx + 0x50], esi
mov rcx, qword [rdi]
mov edx, dword [rdi + 0x34]
cmp byte [rcx + 0x67], r13b
jne 0x140220d34
test edx, edx
je 0x140220d4f
call fcn.1401f6e68
mov ecx, 7
cmp eax, ecx
jne 0x140220d4f
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 0x140220ed3
mov eax, r12d
inc r12d
cmp eax, 0x32
jge 0x140220ed3
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.14026b738
mov ebx, eax
test eax, eax
jne 0x140220e62
mov rbx, qword [rbp - 0x21]
mov rdx, rdi
mov rcx, rbx
call fcn.140286f08
mov rdx, rdi
mov rcx, rbx
call fcn.14027897c
mov rcx, rbx
mov dword [rbx + 0x34], r13d
call fcn.140283a64
mov rbx, qword [rdi]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140220de3
call qword [0x1403c8f80]
cmp qword [rdi + 0xb8], r13
jle 0x140220df7
mov rdx, rdi
mov rcx, rbx
call fcn.140230578
mov rcx, rdi
call fcn.140286440
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 0x140220e34
test eax, eax
je 0x140220e3e
mov edx, eax
mov rcx, rbx
call fcn.1401f6e68
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140220e4d
call qword [0x1403c8f90]
test r14d, r14d
js 0x140220b67
mov byte [rdi + 0xc3], 0xfe
jmp 0x140220b67
cmp ebx, 7
jne 0x140220e6f
mov rcx, rsi
call fcn.14026c324
mov rcx, qword [r15 + 0x190]
mov dl, 1
call fcn.14027bc68
mov rdx, qword [rdi + 0xa8]
mov rsi, rax
test rdx, rdx
je 0x140220e94
mov rcx, r15
call fcn.1402514c0
cmp byte [r15 + 0x67], r13b
jne 0x140220ebb
mov rdx, rsi
mov rcx, r15
call fcn.140251770
mov edx, ebx
mov qword [rdi + 0xa8], rax
mov rcx, r15
call fcn.1401f6e68
mov dword [rdi + 0x34], eax
jmp 0x140220ed1
mov esi, 7
mov qword [rdi + 0xa8], r13
mov ebx, esi
mov dword [rdi + 0x34], esi
jmp 0x140220ed3
mov dword [rbx + 0x50], eax
mov ebx, eax
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x140220ee2
call qword [0x1403c8f90]
mov r14, qword [rbp + 0x67]
cmp ebx, 0x64
jne 0x140221aa7
lea edx, [rbx - 0x63]
mov rcx, rdi
call fcn.1401d982c
lea edx, [rbx - 0x63]
mov rcx, rdi
mov r13, rax
call fcn.1401d99b8
lea edx, [rbx - 0x62]
mov rcx, rdi
mov r12d, eax
call fcn.1401d9894
movsxd r15, eax
lea edx, [rbx - 0x61]
mov rcx, rdi
mov dword [rbp - 0x51], r15d
call fcn.1401d9894
mov dword [rbp - 0x49], eax
mov rax, qword [rbp + 0x6f]
cmp r15d, dword [rax + 4]
jl 0x140221a9a
movsxd rdx, dword [rax]
mov rcx, r14
shl rdx, 0x25
add rdx, r15
call fcn.1402229dc
mov rbx, rax
test rax, rax
je 0x140221aa7
movsxd rsi, dword [rax + 0xc]
cmp dword [rax + 8], esi
jg 0x140220f6d
mov dword [r14 + 0x34], 0x10b
jmp 0x140220ff8
mov r14, qword [rax]
lea rdx, [rbp - 0x39]
lea rcx, [r14 + rsi]
call fcn.1402607dc
movzx eax, byte [r14]
movzx ecx, byte [r14 + 1]
movsxd r15, dword [rbp - 0x39]
shl eax, 8
add ecx, eax
cmp ecx, r15d
jge 0x140220fd7
cmp r15d, esi
jge 0x140220fd7
lea rcx, [r14 + r15]
lea rdx, [rbp - 0x35]
call fcn.1402607dc
mov esi, dword [rbp - 0x35]
add eax, r15d
cmp esi, r12d
mov ecx, r12d
cmovl ecx, esi
test ecx, ecx
jle 0x140220fce
movsxd r8, ecx
mov rdx, r13
movsxd rcx, eax
add rcx, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140220fd5
mov eax, esi
sub eax, r12d
test eax, eax
jns 0x140220fe5
mov r14, qword [rbp + 0x67]
mov dword [r14 + 0x34], 0x10b
jmp 0x140220fe9
mov r14, qword [rbp + 0x67]
mov rdx, rbx
mov rcx, r14
call fcn.1402225c0
mov r15d, dword [rbp - 0x51]
mov rcx, rbx
call fcn.1401f1d34
mov ecx, dword [r14 + 0x34]
test ecx, ecx
jne 0x140221aa7
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 0x1402213ba
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 0x140221393
lea r12, [r14 + 0x38]
mov ebx, r15d
mov rsi, qword [r12]
test rsi, rsi
je 0x14022114b
mov qword [r12], r15
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14022106d
call qword [0x1403c8f80]
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x14022107b
lea ebx, [rax + 4]
jmp 0x1402210cb
lea r8, [rbp - 0x19]
mov dword [rax + 0x34], r15d
mov rdx, r13
mov rcx, rsi
call fcn.1401f9498
mov ebx, eax
test eax, eax
je 0x1402210cb
mov r15, qword [rbp - 0x19]
lea rax, [0x1403b1d80]
mov rcx, r15
mov r9, r15
neg rcx
mov edx, ebx
mov rcx, r14
sbb r8, r8
and r8, rax
call fcn.1402537d4
test r15, r15
je 0x1402210c8
mov rdx, r15
mov rcx, r14
call fcn.1402514c0
xor r15d, r15d
cmp byte [r14 + 0x67], r15b
jne 0x1402210da
test ebx, ebx
jne 0x1402210da
mov ebx, r15d
jmp 0x1402210e6
mov edx, ebx
mov rcx, r14
call fcn.1401f6e68
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1402210f5
call qword [0x1403c8f90]
mov qword [r12], rsi
test ebx, ebx
je 0x140221147
mov qword [r12], r15
mov r14, qword [rsi + 0x20]
mov r15, qword [rsi + 0x18]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140221118
call qword [0x1403c8f80]
mov rdx, rsi
mov rcx, r14
call fcn.1402514c0
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140221132
call qword [0x1403c8f90]
mov rcx, r15
call fcn.1401d9a5c
cmp ebx, 4
mov r15d, 0
cmove ebx, r15d
mov r14, qword [rbp + 0x67]
cmp qword [r12], r15
jne 0x140221180
test ebx, ebx
jne 0x140221180
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.1401dca8c
mov ebx, eax
cmp ebx, 1
jne 0x1402211ef
mov ebx, 0x10b
mov r13, qword [rbp - 0x59]
inc dword [r14 + 0x68]
mov dword [r14 + 0x34], ebx
test r13, r13
je 0x140221396
mov eax, dword [r13 + 8]
cmp dword [r13 + 0xc], eax
jge 0x1402211b1
mov dword [r14 + 0x34], 0x10b
mov eax, dword [rbp + 0x77]
inc eax
cmp dword [rbp + 0x7f], eax
jl 0x140221396
mov rdx, qword [r13]
mov ecx, 0x100
movzx r8d, byte [rdx]
movzx eax, byte [rdx + 1]
imul r8d, ecx
add r8w, ax
cmp r15w, r8w
je 0x140221396
mov dword [r14 + 0x34], 0x10b
jmp 0x140221396
test ebx, ebx
jne 0x14022118a
mov rax, qword [r12]
test rax, rax
je 0x140221206
cmp qword [rax + 0x18], r15
je 0x140221206
mov ebx, dword [rax]
jmp 0x140221209
mov ebx, r15d
movsxd r14, ebx
mov qword [rbp - 0x59], r14
lea rcx, [r14 + 0x24]
call fcn.1401f1c2c
mov r13, rax
test rax, rax
je 0x140221381
mov dword [rax + 8], ebx
add rax, 0x10
mov qword [r13], rax
mov rsi, qword [r12]
test rsi, rsi
jne 0x14022124a
mov ecx, 0x17c95
call fcn.14026c038
mov ebx, eax
jmp 0x14022134e
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14022125d
call qword [0x1403c8f80]
mov r15, qword [rsi + 0x18]
xor r12d, r12d
test ebx, ebx
js 0x1402212f6
cmp ebx, dword [rsi]
jg 0x1402212f6
test r15, r15
jne 0x14022127f
lea ebx, [r15 + 4]
jmp 0x1402212fb
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x14022129b
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r12b
jne 0x14022129b
call fcn.1401fa148
mov rcx, qword [rsi + 0x10]
lea r9, [r13 + 0x10]
mov edx, dword [rsi + 4]
mov r8d, ebx
cmp byte [rcx], r12b
jne 0x1402212ba
mov dword [rsp + 0x20], r12d
call fcn.1401f4958
jmp 0x1402212bf
call fcn.1401f4c70
mov ebx, eax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x1402212da
sub dword [rcx + 0x14], 1
jne 0x1402212da
call fcn.140291a9c
cmp ebx, 4
jne 0x1402212f0
mov rcx, r15
call fcn.140283a64
xor r15d, r15d
mov qword [rsi + 0x18], r15
jmp 0x1402212fe
mov dword [r15 + 0x34], ebx
jmp 0x1402212fb
mov ebx, 1
xor r15d, r15d
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x140221316
cmp qword [r14 + 0x190], r15
jne 0x140221316
or dword [r14 + 0x54], 0xffffffff
jmp 0x140221320
mov edx, ebx
mov rcx, r14
call fcn.1402536ec
cmp byte [r14 + 0x67], r15b
jne 0x14022132f
test ebx, ebx
jne 0x14022132f
mov ebx, r15d
jmp 0x14022133b
mov edx, ebx
mov rcx, r14
call fcn.1401f6e68
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14022134a
call qword [0x1403c8f90]
mov r14, qword [rbp - 0x59]
test ebx, ebx
jne 0x140221386
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 0x14022118e
mov ebx, 7
mov rcx, r13
call fcn.1401f1d34
mov r13, r15
jmp 0x140221378
mov r13, r15
mov rcx, r13
call fcn.1401f1d34
mov eax, dword [rbp + 0x7f]
mov ecx, dword [r14 + 0x34]
inc eax
mov dword [rbp + 0x7f], eax
test ecx, ecx
jne 0x140221aa7
mov edx, dword [rbp - 0x41]
jmp 0x14022101e
cmp dword [rbp - 0x49], r15d
je 0x140221a88
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.14021cf24
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 0x140221a7a
cmp dword [r13 + 0x14], r15d
jne 0x140221a7a
lea edx, [rsi + 1]
mov esi, dword [r13 + 0x1c]
mov dword [rbp + 0x77], edx
mov dword [rbp + 0x7f], esi
cmp edx, esi
jge 0x140221702
mov rdi, rcx
shl rdi, 0x25
movsxd r12, edx
xor esi, esi
add r12, rdi
mov qword [rbp + 0x7f], r15
test ebx, ebx
jne 0x1402216af
add r14, 0x38
mov ebx, esi
xor r13d, r13d
mov rsi, qword [r14]
test rsi, rsi
je 0x1402214b3
mov rdx, r12
mov qword [r14], r13
mov rcx, rsi
call fcn.1401dd074
mov qword [r14], rsi
mov ebx, eax
test eax, eax
je 0x1402214b3
mov qword [r14], r13
mov r15, qword [rsi + 0x20]
mov r13, qword [rsi + 0x18]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x140221483
call qword [0x1403c8f80]
mov rdx, rsi
mov rcx, r15
call fcn.1402514c0
mov rcx, qword [r15 + 0x18]
xor esi, esi
test rcx, rcx
je 0x14022149f
call qword [0x1403c8f90]
mov rcx, r13
call fcn.1401d9a5c
mov r15, qword [rbp + 0x7f]
cmp ebx, 4
cmove ebx, esi
jmp 0x1402214b5
xor esi, esi
cmp qword [r14], rsi
jne 0x1402214ec
test ebx, ebx
jne 0x1402214ec
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.1401dca8c
mov ebx, eax
cmp ebx, 1
jne 0x1402214fb
mov ebx, 0x10b
jmp 0x14022169c
test ebx, ebx
jne 0x14022169c
mov rax, qword [r14]
test rax, rax
je 0x140221515
cmp qword [rax + 0x18], rsi
je 0x140221515
mov ebx, dword [rax]
jmp 0x140221517
mov ebx, esi
movsxd r13, ebx
lea rcx, [r13 + 0x24]
call fcn.1401f1c2c
mov qword [rbp + 0x7f], rax
mov r15, rax
test rax, rax
je 0x14022168c
lea r12, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], r12
xor r8d, r8d
mov rsi, qword [r14]
test rsi, rsi
jne 0x140221559
mov ecx, 0x17c95
call fcn.14026c038
mov ebx, eax
jmp 0x140221663
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14022156f
call qword [0x1403c8f80]
xor r8d, r8d
mov r15, qword [rsi + 0x18]
test ebx, ebx
js 0x14022160d
cmp ebx, dword [rsi]
jg 0x14022160d
test r15, r15
jne 0x140221591
lea ebx, [r15 + 4]
jmp 0x140221612
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r8b
je 0x1402215b0
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r8b
jne 0x1402215b0
call fcn.1401fa148
xor r8d, r8d
mov rcx, qword [rsi + 0x10]
mov r9, r12
mov edx, dword [rsi + 4]
cmp byte [rcx], r8b
jne 0x1402215ce
mov dword [rsp + 0x20], r8d
mov r8d, ebx
call fcn.1401f4958
jmp 0x1402215d6
mov r8d, ebx
call fcn.1401f4c70
mov ebx, eax
xor r12d, r12d
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x1402215f4
sub dword [rcx + 0x14], 1
jne 0x1402215f4
call fcn.140291a9c
cmp ebx, 4
jne 0x140221607
mov rcx, r15
call fcn.140283a64
mov qword [rsi + 0x18], r12
jmp 0x140221612
mov dword [r15 + 0x34], ebx
jmp 0x140221612
mov ebx, 1
xor esi, esi
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x14022162c
cmp qword [r14 + 0x190], rsi
jne 0x14022162c
or dword [r14 + 0x54], 0xffffffff
jmp 0x140221636
mov edx, ebx
mov rcx, r14
call fcn.1402536ec
cmp byte [r14 + 0x67], sil
jne 0x140221644
test ebx, ebx
jne 0x140221644
mov ebx, esi
jmp 0x140221650
mov edx, ebx
mov rcx, r14
call fcn.1401f6e68
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14022165f
call qword [0x1403c8f90]
mov r15, qword [rbp + 0x7f]
test ebx, ebx
jne 0x140221691
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 0x14022169c
mov ebx, 7
mov rcx, r15
call fcn.1401f1d34
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 0x1402216e4
mov r8, qword [r15]
mov ecx, 0x100
movzx edx, byte [r8]
movzx eax, byte [r8 + 1]
imul edx, ecx
add dx, ax
je 0x1402216d5
mov dword [r14 + 0x34], 0x10b
mov rcx, r15
call fcn.1401f1d34
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 0x14022142d
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 0x140221a0f
lea r12, [rdi + 0x38]
mov ebx, r15d
mov rsi, qword [r12]
test rsi, rsi
je 0x140221824
mov qword [r12], r15
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140221746
call qword [0x1403c8f80]
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x140221754
lea ebx, [rax + 4]
jmp 0x1402217a4
lea r8, [rbp - 0x11]
mov dword [rax + 0x34], r15d
mov rdx, r13
mov rcx, rsi
call fcn.1401f9498
mov ebx, eax
test eax, eax
je 0x1402217a4
mov r15, qword [rbp - 0x11]
lea rax, [0x1403b1d80]
mov rcx, r15
mov r9, r15
neg rcx
mov edx, ebx
mov rcx, r14
sbb r8, r8
and r8, rax
call fcn.1402537d4
test r15, r15
je 0x1402217a1
mov rdx, r15
mov rcx, r14
call fcn.1402514c0
xor r15d, r15d
cmp byte [r14 + 0x67], r15b
jne 0x1402217b3
test ebx, ebx
jne 0x1402217b3
mov ebx, r15d
jmp 0x1402217bf
mov edx, ebx
mov rcx, r14
call fcn.1401f6e68
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1402217ce
call qword [0x1403c8f90]
mov qword [r12], rsi
test ebx, ebx
je 0x140221820
mov qword [r12], r15
mov r14, qword [rsi + 0x20]
mov r15, qword [rsi + 0x18]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1402217f1
call qword [0x1403c8f80]
mov rdx, rsi
mov rcx, r14
call fcn.1402514c0
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x14022180b
call qword [0x1403c8f90]
mov rcx, r15
call fcn.1401d9a5c
cmp ebx, 4
mov r15d, 0
cmove ebx, r15d
mov r14, qword [rbp - 0x49]
cmp qword [r12], r15
jne 0x140221859
test ebx, ebx
jne 0x140221859
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.1401dca8c
mov ebx, eax
cmp ebx, 1
jne 0x140221868
mov ebx, 0x10b
jmp 0x140221a06
test ebx, ebx
jne 0x140221a06
mov rax, qword [r12]
test rax, rax
je 0x140221883
cmp qword [rax + 0x18], r15
je 0x140221883
mov ebx, dword [rax]
jmp 0x140221886
mov ebx, r15d
movsxd r15, ebx
mov qword [rbp - 9], r15
lea rcx, [r15 + 0x24]
call fcn.1401f1c2c
mov qword [rbp - 0x49], rax
mov r14, rax
test rax, rax
je 0x1402219f3
lea r13, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], r13
mov rsi, qword [r12]
xor r12d, r12d
test rsi, rsi
jne 0x1402218cd
mov ecx, 0x17c95
call fcn.14026c038
mov ebx, eax
jmp 0x1402219c7
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1402218e0
call qword [0x1403c8f80]
mov r15, qword [rsi + 0x18]
test ebx, ebx
js 0x14022196e
cmp ebx, dword [rsi]
jg 0x14022196e
test r15, r15
jne 0x1402218fb
lea ebx, [r15 + 4]
jmp 0x140221973
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x140221917
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r12b
jne 0x140221917
call fcn.1401fa148
mov rcx, qword [rsi + 0x10]
mov r9, r13
mov edx, dword [rsi + 4]
mov r8d, ebx
cmp byte [rcx], r12b
jne 0x140221935
mov dword [rsp + 0x20], r12d
call fcn.1401f4958
jmp 0x14022193a
call fcn.1401f4c70
mov ebx, eax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x140221955
sub dword [rcx + 0x14], 1
jne 0x140221955
call fcn.140291a9c
cmp ebx, 4
jne 0x140221968
mov rcx, r15
call fcn.140283a64
mov qword [rsi + 0x18], r12
jmp 0x140221973
mov dword [r15 + 0x34], ebx
jmp 0x140221973
mov ebx, 1
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x14022198b
cmp qword [r14 + 0x190], r12
jne 0x14022198b
or dword [r14 + 0x54], 0xffffffff
jmp 0x140221995
mov edx, ebx
mov rcx, r14
call fcn.1402536ec
cmp byte [r14 + 0x67], r12b
jne 0x1402219a4
test ebx, ebx
jne 0x1402219a4
mov ebx, r12d
jmp 0x1402219b0
mov edx, ebx
mov rcx, r14
call fcn.1401f6e68
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1402219bf
call qword [0x1403c8f90]
mov r14, qword [rbp - 0x49]
mov r15, qword [rbp - 9]
test ebx, ebx
jne 0x1402219f8
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 0x140221a06
mov ebx, 7
mov rcx, r14
call fcn.1401f1d34
xor r15d, r15d
mov r14d, r15d
inc dword [rdi + 0x68]
mov esi, dword [rbp + 0x7f]
mov dword [rdi + 0x34], ebx
test r14, r14
je 0x140221a57
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 0x140221a48
mov ecx, r8d
add rcx, rdx
lea rdx, [rbp - 1]
call fcn.140260620
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx + 0x20]
cmp qword [rbp - 1], rax
je 0x140221a4f
mov dword [rdi + 0x34], 0x10b
mov rcx, r14
call fcn.1401f1d34
mov r13, qword [rbp - 0x59]
xor r8d, r8d
mov r14, qword [rbp + 0x67]
mov rdx, r13
mov rcx, r14
call fcn.14021d704
mov rax, qword [rbp - 0x41]
mov rcx, qword [rbp + 7]
jmp 0x1402213fb
mov rcx, r13
call fcn.14021ced8
mov rdi, qword [rbp - 0x29]
jmp 0x140221a92
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 0x140221a9d
xor r15d, r15d
cmp dword [r14 + 0x34], r15d
je 0x140220b04
xor r15d, r15d
test rdi, rdi
jne 0x140221ab4
mov edi, r15d
jmp 0x140221b27
mov rbx, qword [rdi]
test rbx, rbx
jne 0x140221ad9
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.1401e0be4
mov ecx, 0x15022
call fcn.14026c038
mov edi, eax
jmp 0x140221b27
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140221ae8
call qword [0x1403c8f80]
cmp qword [rdi + 0xb8], r15
jle 0x140221afc
mov rdx, rdi
mov rcx, rbx
call fcn.140230578
mov rcx, rdi
call fcn.140283a64
cmp byte [rbx + 0x67], r15b
jne 0x140221b13
test eax, eax
jne 0x140221b13
mov edi, r15d
jmp 0x140221b1f
mov edx, eax
mov rcx, rbx
call fcn.1401f6e68
mov edi, eax
mov rcx, rbx
call fcn.14026ade4
cmp dword [r14 + 0x34], r15d
jne 0x140221b31
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