Function at 0x14018121c
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov r14, rdx
xor r15d, r15d
mov rdx, qword [rcx]
mov rsi, rcx
mov r12d, r15d
mov qword [rbp - 0x19], r15
mov eax, dword [r14 + 4]
mov edi, dword [r14 + 8]
mov dword [rbp + 0x67], edi
lea r13d, [rax - 1]
test eax, eax
je 0x140181f0d
mov r8, qword [rdx + 0x10]
lea rcx, str.SELECT_segid__term___pgno__1____pgno1__FROM__Q._q_idx_WHERE_segid_d_ORDER_BY_1__2
mov rdx, qword [rdx + 8]
mov r9d, dword [r14]
call fcn.140157820
mov rbx, rax
cmp dword [rsi + 0x34], r15d
jne 0x1401812c3
test rax, rax
je 0x1401812bc
mov rcx, qword [rsi]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], r15
mov r9d, 0x85
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call fcn.1401c8c98
mov r12, qword [rbp - 0x19]
mov dword [rsi + 0x34], eax
jmp 0x1401812c3
mov dword [rsi + 0x34], 7
mov rcx, rbx
call fcn.140157a98
jmp 0x140181e68
mov rcx, r12
call fcn.140159540
cmp eax, 0x64
jne 0x140181e7b
lea edx, [rax - 0x63]
mov rcx, r12
call fcn.14015970c
mov edx, 1
mov qword [rbp + 0x77], rax
mov rcx, r12
call fcn.140159898
mov rcx, qword [rbp - 0x19]
mov edx, 2
mov r12d, eax
call fcn.140159774
mov rcx, qword [rbp - 0x19]
mov edx, 3
movsxd r15, eax
mov dword [rbp + 0x7f], r15d
call fcn.140159774
mov dword [rbp - 0x29], eax
cmp r15d, dword [r14 + 4]
jl 0x140181e61
movsxd rdx, dword [r14]
mov rcx, rsi
shl rdx, 0x25
add rdx, r15
call fcn.140182dc0
mov rbx, rax
test rax, rax
je 0x140181e74
movsxd rdi, dword [rax + 0xc]
cmp dword [rax + 8], edi
jg 0x140181363
mov dword [rsi + 0x34], 0x10b
jmp 0x1401813e8
mov r14, qword [rax]
lea rdx, [rbp - 9]
lea rcx, [r14 + rdi]
call fcn.1401bf010
movzx ecx, byte [r14]
movzx eax, byte [r14 + 1]
movsxd r15, dword [rbp - 9]
shl ecx, 8
add ecx, eax
cmp ecx, r15d
jge 0x1401813ce
cmp r15d, edi
jge 0x1401813ce
lea rcx, [r14 + r15]
lea rdx, [rbp - 5]
call fcn.1401bf010
mov edi, dword [rbp - 5]
add eax, r15d
cmp edi, r12d
mov ecx, r12d
cmovl ecx, edi
test ecx, ecx
jle 0x1401813c5
mov rdx, qword [rbp + 0x77]
movsxd r8, ecx
movsxd rcx, eax
add rcx, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401813cc
mov eax, edi
sub eax, r12d
test eax, eax
jns 0x1401813d5
mov dword [rsi + 0x34], 0x10b
mov rdx, rbx
mov rcx, rsi
call fcn.1401829ac
mov r14, qword [rbp + 0x6f]
mov r15d, dword [rbp + 0x7f]
mov rcx, rbx
call fcn.140157a98
mov ecx, dword [rsi + 0x34]
test ecx, ecx
jne 0x140181e74
lea eax, [r13 + 1]
xor r13d, r13d
lea edx, [r15 - 1]
mov dword [rbp + 0x77], eax
mov dword [rbp - 0x11], edx
cmp eax, edx
jg 0x1401817a9
movsxd rdx, dword [r14]
mov r12, r13
shl rdx, 0x25
cdqe
add rdx, rax
mov qword [rbp - 0x21], rdx
test ecx, ecx
jne 0x140181786
mov ebx, r13d
xor r15d, r15d
lea r13, [rsi + 0x38]
mov rdi, qword [r13]
test rdi, rdi
je 0x14018153c
mov qword [r13], r15
mov r14, qword [rdi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181461
call qword [0x1403332f0]
mov rdx, qword [rbp - 0x21]
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14018146f
lea ebx, [rax + 4]
jmp 0x1401814bc
lea r8, [rbp - 1]
mov dword [rax + 0x34], r15d
mov rcx, rdi
call fcn.14015f718
mov ebx, eax
test eax, eax
je 0x1401814bc
mov r15, qword [rbp - 1]
lea rax, [0x1402dc500]
mov rcx, r15
mov r9, r15
neg rcx
mov edx, ebx
mov rcx, r14
sbb r8, r8
and r8, rax
call fcn.1401b3158
test r15, r15
je 0x1401814b9
mov rdx, r15
mov rcx, r14
call fcn.1401b0e5c
xor r15d, r15d
cmp byte [r14 + 0x67], r15b
jne 0x1401814cb
test ebx, ebx
jne 0x1401814cb
mov ebx, r15d
jmp 0x1401814d7
mov edx, ebx
mov rcx, r14
call fcn.14015d04c
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1401814e6
call qword [0x140333300]
mov qword [r13], rdi
test ebx, ebx
je 0x140181538
mov qword [r13], r15
mov r14, qword [rdi + 0x20]
mov r15, qword [rdi + 0x18]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181509
call qword [0x1403332f0]
mov rdx, rdi
mov rcx, r14
call fcn.1401b0e5c
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181523
call qword [0x140333300]
mov rcx, r15
call fcn.140159964
cmp ebx, 4
mov r15d, 0
cmove ebx, r15d
mov rdx, qword [rbp - 0x21]
cmp qword [r13], r15
jne 0x140181571
test ebx, ebx
jne 0x140181571
mov rcx, qword [rsi]
lea r9, str.block
mov r8, qword [rsi + 8]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdx
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.140143680
mov ebx, eax
cmp ebx, 1
jne 0x1401815e0
mov ebx, 0x10b
xor r13d, r13d
inc dword [rsi + 0x68]
mov dword [rsi + 0x34], ebx
test r12, r12
je 0x140181782
mov eax, dword [r12 + 8]
cmp dword [r12 + 0xc], eax
jge 0x1401815a0
mov dword [rsi + 0x34], 0x10b
mov eax, dword [rbp + 0x67]
inc eax
cmp dword [rbp + 0x77], eax
jl 0x140181782
mov r8, qword [r12]
mov ecx, 0x100
mov r14, qword [rbp + 0x6f]
movzx edx, byte [r8]
movzx eax, byte [r8 + 1]
imul edx, ecx
add dx, ax
cmp r13w, dx
je 0x140181786
mov dword [rsi + 0x34], 0x10b
jmp 0x140181786
test ebx, ebx
jne 0x14018157b
mov rax, qword [r13]
test rax, rax
je 0x1401815f7
cmp qword [rax + 0x18], r15
je 0x1401815f7
mov ebx, dword [rax]
jmp 0x1401815fa
mov ebx, r15d
movsxd r14, ebx
mov qword [rbp - 0x21], r14
lea rcx, [r14 + 0x24]
call fcn.140157a00
mov r12, rax
test rax, rax
je 0x14018176a
mov dword [rax + 8], ebx
add rax, 0x10
mov qword [r12], rax
mov rdi, qword [r13]
xor r13d, r13d
test rdi, rdi
jne 0x14018163e
mov ecx, 0x184bf
call fcn.1401c95a8
mov ebx, eax
jmp 0x14018173a
mov r14, qword [rdi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181651
call qword [0x1403332f0]
mov r15, qword [rdi + 0x18]
test ebx, ebx
js 0x1401816e5
cmp ebx, dword [rdi]
jg 0x1401816e5
test r15, r15
jne 0x140181670
lea ebx, [r15 + 4]
jmp 0x1401816ea
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r13b
je 0x14018168c
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r13b
jne 0x14018168c
call fcn.140160450
mov rcx, qword [rdi + 0x10]
lea r9, [r12 + 0x10]
mov edx, dword [rdi + 4]
mov r8d, ebx
cmp byte [rcx], r13b
jne 0x1401816ac
mov dword [rsp + 0x20], r13d
call fcn.14015aa8c
jmp 0x1401816b1
call fcn.14015adac
mov ebx, eax
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r13b
je 0x1401816cc
sub dword [rcx + 0x14], 1
jne 0x1401816cc
call fcn.1401efd6c
cmp ebx, 4
jne 0x1401816df
mov rcx, r15
call fcn.1401e1e74
mov qword [rdi + 0x18], r13
jmp 0x1401816ea
mov dword [r15 + 0x34], ebx
jmp 0x1401816ea
mov ebx, 1
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x140181702
cmp qword [r14 + 0x190], r13
jne 0x140181702
or dword [r14 + 0x54], 0xffffffff
jmp 0x14018170c
mov edx, ebx
mov rcx, r14
call fcn.1401b3074
cmp byte [r14 + 0x67], r13b
jne 0x14018171b
test ebx, ebx
jne 0x14018171b
mov ebx, r13d
jmp 0x140181727
mov edx, ebx
mov rcx, r14
call fcn.14015d04c
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181736
call qword [0x140333300]
mov r14, qword [rbp - 0x21]
test ebx, ebx
jne 0x140181772
mov rax, qword [r12]
mov byte [r14 + rax], r13b
mov rax, qword [r12]
mov byte [r14 + rax + 1], r13b
mov rax, qword [r12]
movzx ecx, byte [rax + 3]
movzx eax, byte [rax + 2]
shl eax, 8
add ecx, eax
mov dword [r12 + 0xc], ecx
jmp 0x14018157e
mov ebx, 7
xor r13d, r13d
mov rcx, r12
call fcn.140157a98
mov r12, r13
jmp 0x14018157e
mov r14, qword [rbp + 0x6f]
mov rcx, r12
call fcn.140157a98
mov eax, dword [rbp + 0x77]
mov ecx, dword [rsi + 0x34]
inc eax
mov dword [rbp + 0x77], eax
test ecx, ecx
jne 0x140181e74
mov edx, dword [rbp - 0x11]
jmp 0x14018140c
cmp dword [rbp - 0x29], r13d
je 0x140181e56
movsxd rbx, dword [r14]
xor edx, edx
mov edi, dword [rbp + 0x7f]
mov r8d, ebx
mov r9d, edi
mov dword [rbp + 0x67], r13d
mov rcx, rsi
call fcn.14017da88
mov qword [rbp - 0x29], rax
shl rbx, 0x25
mov qword [rbp - 0x11], rbx
cmp dword [rsi + 0x34], r13d
jne 0x140181e48
cmp dword [rax + 0x14], r13d
jne 0x140181e48
lea r14d, [rdi + 1]
jmp 0x140181aac
movsxd r15, r14d
add r15, rbx
cmp dword [rsi + 0x34], r13d
jne 0x140181a77
lea rdi, [rsi + 0x38]
mov ebx, r13d
mov r14, qword [rdi]
test r14, r14
je 0x140181877
mov rdx, r15
mov qword [rdi], r13
mov rcx, r14
call fcn.140143c08
mov qword [rdi], r14
mov ebx, eax
test eax, eax
je 0x140181877
mov qword [rdi], r13
mov r13, qword [r14 + 0x20]
mov rax, qword [r14 + 0x18]
mov qword [rbp + 0x77], rax
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x14018184a
call qword [0x1403332f0]
mov rdx, r14
mov rcx, r13
call fcn.1401b0e5c
mov rcx, qword [r13 + 0x18]
xor r13d, r13d
test rcx, rcx
je 0x140181867
call qword [0x140333300]
mov rcx, qword [rbp + 0x77]
call fcn.140159964
cmp ebx, 4
cmove ebx, r13d
cmp qword [rdi], r13
jne 0x1401818ab
test ebx, ebx
jne 0x1401818ab
mov rcx, qword [rsi]
lea r9, str.block
mov r8, qword [rsi + 8]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r13d
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r15
call fcn.140143680
mov ebx, eax
cmp ebx, 1
jne 0x1401818ba
mov ebx, 0x10b
jmp 0x140181a65
test ebx, ebx
jne 0x140181a65
mov rax, qword [rdi]
test rax, rax
je 0x1401818d4
cmp qword [rax + 0x18], r13
je 0x1401818d4
mov ebx, dword [rax]
jmp 0x1401818d7
mov ebx, r13d
movsxd r14, ebx
mov qword [rbp + 0x77], r14
lea rcx, [r14 + 0x24]
call fcn.140157a00
mov r12, rax
test rax, rax
je 0x140181a55
lea r13, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], r13
xor r8d, r8d
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14018191c
mov ecx, 0x184bf
call fcn.1401c95a8
mov ebx, eax
xor r13d, r13d
jmp 0x140181a28
mov r14, qword [rdi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181932
call qword [0x1403332f0]
xor r8d, r8d
mov r15, qword [rdi + 0x18]
test ebx, ebx
js 0x1401819d0
cmp ebx, dword [rdi]
jg 0x1401819d0
test r15, r15
jne 0x140181954
lea ebx, [r15 + 4]
jmp 0x1401819d5
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r8b
je 0x140181973
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r8b
jne 0x140181973
call fcn.140160450
xor r8d, r8d
mov rcx, qword [rdi + 0x10]
mov r9, r13
mov edx, dword [rdi + 4]
cmp byte [rcx], r8b
jne 0x140181991
mov dword [rsp + 0x20], r8d
mov r8d, ebx
call fcn.14015aa8c
jmp 0x140181999
mov r8d, ebx
call fcn.14015adac
mov ebx, eax
xor r13d, r13d
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r13b
je 0x1401819b7
sub dword [rcx + 0x14], 1
jne 0x1401819b7
call fcn.1401efd6c
cmp ebx, 4
jne 0x1401819ca
mov rcx, r15
call fcn.1401e1e74
mov qword [rdi + 0x18], r13
jmp 0x1401819d8
mov dword [r15 + 0x34], ebx
jmp 0x1401819d8
mov ebx, 1
xor r13d, r13d
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x1401819f0
cmp qword [r14 + 0x190], r13
jne 0x1401819f0
or dword [r14 + 0x54], 0xffffffff
jmp 0x1401819fa
mov edx, ebx
mov rcx, r14
call fcn.1401b3074
cmp byte [r14 + 0x67], r13b
jne 0x140181a09
test ebx, ebx
jne 0x140181a09
mov ebx, r13d
jmp 0x140181a15
mov edx, ebx
mov rcx, r14
call fcn.14015d04c
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181a24
call qword [0x140333300]
mov r14, qword [rbp + 0x77]
test ebx, ebx
jne 0x140181a5a
mov rax, qword [r12]
mov byte [r14 + rax], r13b
mov rax, qword [r12]
mov byte [rax + r14 + 1], r13b
mov rax, qword [r12]
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
add ecx, eax
mov dword [r12 + 0xc], ecx
jmp 0x140181a65
mov ebx, 7
mov rcx, r12
call fcn.140157a98
mov r12, r13
inc dword [rsi + 0x68]
mov rax, qword [rbp - 0x29]
mov r14d, dword [rbp + 0x67]
mov dword [rsi + 0x34], ebx
mov rbx, qword [rbp - 0x11]
test r12, r12
je 0x140181aa9
mov r8, qword [r12]
mov ecx, 0x100
movzx edx, byte [r8]
movzx eax, byte [r8 + 1]
imul edx, ecx
add dx, ax
je 0x140181a9d
mov dword [rsi + 0x34], 0x10b
mov rcx, r12
call fcn.140157a98
mov rax, qword [rbp - 0x29]
inc r14d
mov edi, dword [rax + 0x1c]
mov r12, r13
mov dword [rbp + 0x77], edi
mov dword [rbp + 0x67], r14d
cmp r14d, edi
jl 0x1401817f6
movsxd rdx, edi
add rdx, rbx
mov qword [rbp - 0x21], rdx
cmp dword [rsi + 0x34], r13d
jne 0x140181e29
lea rdi, [rsi + 0x38]
mov ebx, r13d
mov r14, qword [rdi]
test r14, r14
je 0x140181bdf
mov qword [rdi], r13
mov rdi, qword [r14 + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140181b03
call qword [0x1403332f0]
mov rdx, qword [rbp - 0x21]
mov rax, qword [r14 + 0x18]
test rax, rax
jne 0x140181b11
lea ebx, [rax + 4]
jmp 0x140181b5b
lea r8, [rbp + 7]
mov dword [rax + 0x34], r13d
mov rcx, r14
call fcn.14015f718
mov ebx, eax
test eax, eax
je 0x140181b5b
mov r15, qword [rbp + 7]
lea rax, [0x1402dc500]
mov rcx, r15
mov r9, r15
neg rcx
mov edx, ebx
mov rcx, rdi
sbb r8, r8
and r8, rax
call fcn.1401b3158
test r15, r15
je 0x140181b5b
mov rdx, r15
mov rcx, rdi
call fcn.1401b0e5c
cmp byte [rdi + 0x67], r13b
jne 0x140181b6a
test ebx, ebx
jne 0x140181b6a
mov ebx, r13d
jmp 0x140181b76
mov edx, ebx
mov rcx, rdi
call fcn.14015d04c
mov ebx, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140181b85
call qword [0x140333300]
lea rdi, [rsi + 0x38]
mov qword [rdi], r14
test ebx, ebx
je 0x140181bd3
mov qword [rdi], r13
mov r15, qword [r14 + 0x20]
mov r13, qword [r14 + 0x18]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x140181bae
call qword [0x1403332f0]
lea rdi, [rsi + 0x38]
mov rdx, r14
mov rcx, r15
call fcn.1401b0e5c
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x140181bc8
call qword [0x140333300]
mov rcx, r13
call fcn.140159964
xor r13d, r13d
mov rdx, qword [rbp - 0x21]
cmp ebx, 4
jne 0x140181bdf
mov ebx, r13d
cmp qword [rdi], r13
jne 0x140181c13
test ebx, ebx
jne 0x140181c13
mov rcx, qword [rsi]
lea r9, str.block
mov r8, qword [rsi + 8]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rdx
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.140143680
mov ebx, eax
cmp ebx, 1
jne 0x140181c22
mov ebx, 0x10b
jmp 0x140181dcb
test ebx, ebx
jne 0x140181dcb
mov rax, qword [rdi]
test rax, rax
je 0x140181c3d
cmp qword [rax + 0x18], r13
je 0x140181c3d
mov r15d, dword [rax]
jmp 0x140181c40
mov r15d, r13d
movsxd rcx, r15d
add rcx, 0x24
call fcn.140157a00
mov r12, rax
test rax, rax
je 0x140181dbb
lea rbx, [rax + 0x10]
mov dword [rax + 8], r15d
mov qword [rax], rbx
mov rdi, qword [rsi + 0x38]
test rdi, rdi
jne 0x140181c7d
mov ecx, 0x184bf
call fcn.1401c95a8
mov ebx, eax
jmp 0x140181d88
mov r14, qword [rdi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181c90
call qword [0x1403332f0]
mov r13, qword [rdi + 0x18]
xor r8d, r8d
test r15d, r15d
js 0x140181d34
cmp r15d, dword [rdi]
jg 0x140181d34
test r13, r13
jne 0x140181cb7
lea ebx, [r13 + 4]
jmp 0x140181d39
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r8b
je 0x140181cd6
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r8b
jne 0x140181cd6
call fcn.140160450
xor r8d, r8d
mov rcx, qword [rdi + 0x10]
mov r9, rbx
mov edx, dword [rdi + 4]
cmp byte [rcx], r8b
jne 0x140181cf4
mov dword [rsp + 0x20], r8d
mov r8d, r15d
call fcn.14015aa8c
jmp 0x140181cfc
mov r8d, r15d
call fcn.14015adac
mov ebx, eax
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
xor eax, eax
cmp byte [rcx + 0x11], al
je 0x140181d18
sub dword [rcx + 0x14], 1
jne 0x140181d18
call fcn.1401efd6c
cmp ebx, 4
jne 0x140181d2e
mov rcx, r13
call fcn.1401e1e74
xor r13d, r13d
mov qword [rdi + 0x18], r13
jmp 0x140181d3c
mov dword [r13 + 0x34], ebx
jmp 0x140181d39
mov ebx, 1
xor r13d, r13d
mov dword [r14 + 0x50], ebx
test ebx, ebx
jne 0x140181d54
cmp qword [r14 + 0x190], r13
jne 0x140181d54
or dword [r14 + 0x54], 0xffffffff
jmp 0x140181d5e
mov edx, ebx
mov rcx, r14
call fcn.1401b3074
cmp byte [r14 + 0x67], r13b
jne 0x140181d6d
test ebx, ebx
jne 0x140181d6d
mov ebx, r13d
jmp 0x140181d79
mov edx, ebx
mov rcx, r14
call fcn.14015d04c
mov ebx, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140181d88
call qword [0x140333300]
test ebx, ebx
jne 0x140181dc0
mov rax, qword [r12]
movsxd rcx, r15d
mov byte [rcx + rax], r13b
mov rax, qword [r12]
movsxd rcx, r15d
mov byte [rcx + rax + 1], r13b
mov rax, qword [r12]
movzx ecx, byte [rax + 3]
movzx eax, byte [rax + 2]
shl eax, 8
add ecx, eax
mov dword [r12 + 0xc], ecx
jmp 0x140181dcb
mov ebx, 7
mov rcx, r12
call fcn.140157a98
mov r12, r13
inc dword [rsi + 0x68]
mov dword [rsi + 0x34], ebx
test r12, r12
je 0x140181e26
mov rdx, qword [r12]
movzx eax, byte [rdx]
movzx r8d, byte [rdx + 1]
shl eax, 8
add r8d, eax
cmp r8d, dword [r12 + 0xc]
jge 0x140181e0e
mov ecx, r8d
add rcx, rdx
lea rdx, [rbp + 0xf]
call fcn.1401bee54
mov rbx, qword [rbp - 0x29]
mov rax, qword [rbx + 0x20]
cmp qword [rbp + 0xf], rax
je 0x140181e19
jmp 0x140181e12
mov rbx, qword [rbp - 0x29]
mov dword [rsi + 0x34], 0x10b
mov rcx, r12
call fcn.140157a98
mov edi, dword [rbp + 0x77]
jmp 0x140181e2d
mov edi, dword [rbp + 0x77]
mov rbx, qword [rbp - 0x29]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.14017e2b4
mov rax, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x11]
jmp 0x1401817d5
mov rcx, rax
call fcn.14017da3c
mov r14, qword [rbp + 0x6f]
jmp 0x140181e5d
mov eax, dword [r14 + 8]
mov dword [rbp + 0x67], eax
mov r13d, dword [rbp + 0x7f]
mov r12, qword [rbp - 0x19]
xor r15d, r15d
cmp dword [rsi + 0x34], r15d
je 0x1401812d0
jmp 0x140181e7b
mov r12, qword [rbp - 0x19]
xor r15d, r15d
test r12, r12
jne 0x140181e85
mov edi, r15d
jmp 0x140181f04
mov rbx, qword [r12]
test rbx, rbx
jne 0x140181eab
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.14014763c
mov ecx, 0x15732
call fcn.1401c95a8
mov edi, eax
jmp 0x140181f04
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140181eba
call qword [0x1403332f0]
cmp qword [r12 + 0xb8], r15
jle 0x140181ecf
mov rdx, r12
mov rcx, rbx
call fcn.14018f694
mov rcx, r12
call fcn.1401e48d8
mov rcx, r12
mov edi, eax
call fcn.1401da4d8
cmp byte [rbx + 0x67], r15b
jne 0x140181ef0
test edi, edi
jne 0x140181ef0
mov edi, r15d
jmp 0x140181efc
mov edx, edi
mov rcx, rbx
call fcn.14015d04c
mov edi, eax
mov rcx, rbx
call fcn.1401c8340
cmp dword [rsi + 0x34], r15d
jne 0x140181f0d
mov dword [rsi + 0x34], edi
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret