Function at 0x1801221a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc8
xor r13d, r13d
movaps xmmword [rax - 0x58], xmm6
xor r9d, r9d
movaps xmmword [rax - 0x68], xmm7
lea r8, [rbp - 0x59]
mov qword [rbp - 0x41], r13
mov rsi, rcx
mov qword [rbp - 0x51], r13
lea edx, [r13 + 0x1b]
mov qword [rbp - 0x59], r13
mov r15d, r13d
call fcn.180095c50
movsd xmm7, qword [0x18024f658]
mov r14d, eax
movsd xmm6, qword [0x18024f528]
mov ebx, eax
mov dword [rbp + 0x77], eax
mov dword [rbp + 0x7f], eax
test eax, eax
jne 0x18012264c
mov rbx, qword [rbp - 0x59]
lea edx, [rax + 1]
movsxd r8, dword [rsi + 0x208]
mov rcx, rbx
call fcn.180004f7f
movsxd r8, dword [rsi + 0x1ec]
lea edx, [r13 + 2]
mov rcx, rbx
call fcn.180004f7f
mov r12, qword [rbp + 0x67]
nop
mov esi, r13d
test rbx, rbx
je 0x180122568
cmp qword [rbx], 0
jne 0x18012226a
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.18000206d
mov eax, 1
jmp 0x18012226d
mov eax, r13d
test eax, eax
jne 0x180122579
mov r13, qword [rbx]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x180122287
call qword [0x18028cbe0]
mov rcx, rbx
call fcn.180159200
mov edi, eax
cmp eax, 0x11
jne 0x18012243e
nop word [rax + rax]
mov eax, esi
inc esi
cmp eax, 0x32
jge 0x180122436
mov r15d, dword [rbx + 0x30]
mov rcx, rbx
call fcn.18014ee30
mov r14d, eax
test eax, eax
jne 0x180122367
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1801222d6
call qword [0x18028cbe0]
cmp qword [rbx + 0xb8], 0
jle 0x1801222eb
mov rdx, rbx
mov rcx, rdi
call fcn.1800cddd0
mov rcx, rbx
call fcn.180171240
xor ecx, ecx
mov byte [rbx + 0xc7], 1
mov dword [rbx + 0x34], ecx
mov qword [rbx + 0x38], rcx
mov dword [rbx + 0x40], ecx
mov qword [rbx + 0x50], rcx
mov dword [rbx + 0x30], 0xffffffff
mov word [rbx + 0xc4], 0xff02
mov dword [rbx + 0x2c], 1
cmp byte [rdi + 0x67], cl
jne 0x18012232a
test eax, eax
je 0x180122334
mov edx, eax
mov rcx, rdi
call fcn.1800596e0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180122343
call qword [0x18028cbf0]
test r15d, r15d
js 0x18012234f
mov byte [rbx + 0xc5], 0xfe
mov rcx, rbx
call fcn.180159200
mov edi, eax
cmp eax, 0x11
je 0x1801222a0
jmp 0x180122436
mov rcx, qword [r13 + 0x180]
test rcx, rcx
jne 0x180122379
xor edi, edi
mov esi, edi
jmp 0x1801223b3
movzx edx, word [rcx + 0x14]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x18012239c
cmp byte [rcx + 0x16], 1
jne 0x18012239c
mov rsi, qword [rcx + 8]
jmp 0x1801223b1
test dl, 1
je 0x1801223a7
xor edi, edi
mov esi, edi
jmp 0x1801223b3
mov dl, 1
call fcn.180188de0
mov rsi, rax
xor edi, edi
mov rdx, qword [rbx + 0xa8]
test rdx, rdx
je 0x1801223c7
mov rcx, r13
call fcn.18010d580
cmp byte [r13 + 0x67], 0
jne 0x180122427
test rsi, rsi
jne 0x1801223d8
mov r15, rdi
jmp 0x18012240e
mov rdi, 0xffffffffffffffff
nop
cmp byte [rsi + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x1801223e0
lea rdx, [rdi + 1]
mov rcx, r13
call fcn.18010d770
mov r15, rax
test rax, rax
je 0x18012240e
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call fcn.180002c16
mov edx, r14d
mov qword [rbx + 0xa8], r15
mov rcx, r13
call fcn.1800596e0
mov edi, eax
mov dword [rbx + 0x34], eax
jmp 0x180122436
mov qword [rbx + 0xa8], rdi
mov edi, 7
mov dword [rbx + 0x34], edi
mov r15, qword [rbp - 0x41]
mov r14d, dword [rbp + 0x77]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x18012244d
call qword [0x18028cbf0]
cmp edi, 0x64
jne 0x1801225a5
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180122468
call qword [0x18028cbe0]
mov rcx, qword [rbx + 0xa0]
xor r13d, r13d
test rcx, rcx
je 0x180122481
cmp r13w, word [rbx + 0xc0]
jb 0x18012249c
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180110dc0
lea rcx, [0x18023ac90]
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x1801224a9
mov rsi, qword [rcx]
jmp 0x1801224f4
test al, 8
je 0x1801224dc
movsd xmm0, qword [rcx]
comisd xmm7, xmm0
jbe 0x1801224c3
movabs rsi, 0x8000000000000000
jmp 0x1801224f4
comisd xmm0, xmm6
jbe 0x1801224d5
movabs rsi, 0x7fffffffffffffff
jmp 0x1801224f4
cvttsd2si rsi, xmm0
jmp 0x1801224f4
test al, 0x12
je 0x1801224f1
cmp qword [rcx + 8], 0
je 0x1801224f1
call fcn.1800db970
mov rsi, rax
jmp 0x1801224f4
mov rsi, r13
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x34]
cmp byte [rcx + 0x67], 0
jne 0x180122509
test edx, edx
jne 0x180122509
mov eax, r13d
jmp 0x18012250e
call fcn.1800596e0
mov dword [rbx + 0x34], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180122523
call qword [0x18028cbf0]
cmp dword [r12 + 0x1ec], 0
mov edi, r13d
jle 0x18012255d
lea r9, [rbp + 0x7f]
mov r8d, edi
mov edx, esi
mov rcx, r12
call fcn.18007a5f0
xor r15, rax
inc edi
cmp edi, dword [r12 + 0x1ec]
jl 0x180122531
mov r14d, dword [rbp + 0x7f]
mov dword [rbp + 0x77], r14d
mov qword [rbp - 0x41], r15
test r14d, r14d
je 0x180122240
jmp 0x1801225a8
lea rdx, str.API_called_with_NULL_prepared_statement
mov ecx, 0x15
call fcn.18000206d
lea rax, [0x18024f174]
mov r9d, 0x16265
lea r8, str.misuse
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.18000206d
jmp 0x1801225a8
xor r13d, r13d
test rbx, rbx
jne 0x1801225b5
mov ebx, r13d
jmp 0x18012263c
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1801225c7
call qword [0x18028cbe0]
cmp qword [rbx + 0xb8], 0
jle 0x1801225dc
mov rdx, rbx
mov rcx, rdi
call fcn.1800cddd0
mov rcx, rbx
call fcn.180171240
mov byte [rbx + 0xc7], 1
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r13d
mov word [rbx + 0xc4], 0xff02
mov qword [rbx + 0x38], r13
mov dword [rbx + 0x2c], 1
mov dword [rbx + 0x40], r13d
mov qword [rbx + 0x50], r13
cmp byte [rdi + 0x67], 0
jne 0x180122621
test eax, eax
jne 0x180122621
mov ebx, r13d
jmp 0x18012262d
mov edx, eax
mov rcx, rdi
call fcn.1800596e0
mov ebx, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18012263c
call qword [0x18028cbf0]
test r14d, r14d
jne 0x180122f33
mov rsi, qword [rbp + 0x67]
mov r14d, ebx
test ebx, ebx
jne 0x180122f33
mov rax, qword [rsi + 0x48]
lea rcx, str.SELECT__s
mov rdx, qword [rsi + 0x1b8]
mov r12, r13
mov qword [rbp - 0x59], r13
mov rax, qword [rax]
mov qword [rbp - 0x21], rax
call fcn.1800042ff
mov rbx, rax
test rax, rax
jne 0x18012268a
lea r14d, [rax + 7]
jmp 0x180122e7a
mov rcx, qword [rsi + 0x18]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], r13
mov r9d, 0x80
mov qword [rsp + 0x28], rax
mov r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], r13
call fcn.180140280
cmp dword [0x18028cb60], 0
mov r14d, eax
mov dword [rbp + 0x77], eax
je 0x18012270d
mov rcx, qword [0x180294f30]
test rcx, rcx
je 0x1801226d6
call qword [0x18028cbe0]
mov rcx, rbx
call qword [0x18028cb98]
dec qword [0x180294eb8]
movsxd rcx, eax
sub qword [0x180294e70], rcx
mov rcx, rbx
call qword [0x18028cb88]
mov rcx, qword [0x180294f30]
test rcx, rcx
je 0x180122716
call qword [0x18028cbf0]
jmp 0x180122716
mov rcx, rbx
call qword [0x18028cb88]
mov r12, qword [rbp - 0x59]
test r14d, r14d
jne 0x180122e7a
xor ebx, ebx
mov edi, ebx
test r12, r12
je 0x180122e37
cmp qword [r12], 0
jne 0x18012274f
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.18000206d
mov eax, 1
jmp 0x180122751
mov eax, ebx
test eax, eax
jne 0x180122e48
mov r15, qword [r12]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x18012276c
call qword [0x18028cbe0]
mov rcx, r12
call fcn.180159200
mov ebx, eax
cmp eax, 0x11
jne 0x180122933
xor r13d, r13d
mov ecx, edi
inc edi
cmp ecx, 0x32
jge 0x18012292b
mov r14d, dword [r12 + 0x30]
mov rcx, r12
call fcn.18014ee30
mov esi, eax
test eax, eax
jne 0x180122859
mov rbx, qword [r12]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1801227b9
call qword [0x18028cbe0]
cmp qword [r12 + 0xb8], r13
jle 0x1801227ce
mov rdx, r12
mov rcx, rbx
call fcn.1800cddd0
mov rcx, r12
call fcn.180171240
mov byte [r12 + 0xc7], 1
mov dword [r12 + 0x30], 0xffffffff
mov dword [r12 + 0x34], r13d
mov word [r12 + 0xc4], 0xff02
mov qword [r12 + 0x38], r13
mov dword [r12 + 0x2c], 1
mov dword [r12 + 0x40], r13d
mov qword [r12 + 0x50], r13
cmp byte [rbx + 0x67], r13b
jne 0x18012281a
test eax, eax
je 0x180122824
mov edx, eax
mov rcx, rbx
call fcn.1800596e0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180122833
call qword [0x18028cbf0]
test r14d, r14d
js 0x180122841
mov byte [r12 + 0xc5], 0xfe
mov rcx, r12
call fcn.180159200
mov ebx, eax
cmp eax, 0x11
je 0x180122782
jmp 0x18012292b
mov rcx, qword [r15 + 0x180]
test rcx, rcx
jne 0x18012286a
mov rdi, r13
jmp 0x1801228a1
movzx edx, word [rcx + 0x14]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x18012288d
cmp byte [rcx + 0x16], 1
jne 0x18012288d
mov rdi, qword [rcx + 8]
jmp 0x1801228a1
test dl, 1
je 0x180122897
mov rdi, r13
jmp 0x1801228a1
mov dl, 1
call fcn.180188de0
mov rdi, rax
mov rdx, qword [r12 + 0xa8]
test rdx, rdx
je 0x1801228b6
mov rcx, r15
call fcn.18010d580
cmp byte [r15 + 0x67], r13b
jne 0x180122919
test rdi, rdi
jne 0x1801228c6
mov r14, r13
jmp 0x1801228fe
mov rbx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rdi + rbx + 1], r13b
lea rbx, [rbx + 1]
jne 0x1801228d0
lea rdx, [rbx + 1]
mov rcx, r15
call fcn.18010d770
mov r14, rax
test rax, rax
je 0x1801228fe
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call fcn.180002c16
mov edx, esi
mov qword [r12 + 0xa8], r14
mov rcx, r15
call fcn.1800596e0
mov ebx, eax
mov dword [r12 + 0x34], eax
jmp 0x18012292b
mov ebx, 7
mov qword [r12 + 0xa8], r13
mov dword [r12 + 0x34], ebx
mov rsi, qword [rbp + 0x67]
mov r14d, dword [rbp + 0x77]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x180122942
call qword [0x18028cbf0]
cmp ebx, 0x64
jne 0x180122e77
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18012295e
call qword [0x18028cbe0]
mov rcx, qword [r12 + 0xa0]
xor ebx, ebx
test rcx, rcx
je 0x180122978
cmp bx, word [r12 + 0xc0]
jb 0x180122994
mov rcx, qword [r12]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180110dc0
lea rcx, [0x18023ac90]
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x1801229a1
mov r13, qword [rcx]
jmp 0x1801229ec
test al, 8
je 0x1801229d4
movsd xmm0, qword [rcx]
comisd xmm7, xmm0
jbe 0x1801229bb
movabs r13, 0x8000000000000000
jmp 0x1801229ec
comisd xmm0, xmm6
jbe 0x1801229cd
movabs r13, 0x7fffffffffffffff
jmp 0x1801229ec
cvttsd2si r13, xmm0
jmp 0x1801229ec
test al, 0x12
je 0x1801229e9
cmp qword [rcx + 8], 0
je 0x1801229e9
call fcn.1800db970
mov r13, rax
jmp 0x1801229ec
mov r13, rbx
mov rcx, qword [r12]
mov edx, dword [r12 + 0x34]
mov qword [rbp - 0x61], r13
cmp byte [rcx + 0x67], 0
jne 0x180122a07
test edx, edx
jne 0x180122a07
mov eax, ebx
jmp 0x180122a0c
call fcn.1800596e0
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180122a24
call qword [0x18028cbf0]
cmp qword [rsi + 0x58], 0
mov eax, ebx
mov qword [rbp - 0x69], rax
je 0x180122b35
mov rax, qword [r12]
mov ebx, dword [rsi + 0x30]
inc ebx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180122a4d
call qword [0x18028cbe0]
mov rdx, qword [r12 + 0xa0]
test rdx, rdx
je 0x180122a77
movzx eax, word [r12 + 0xc0]
cmp ebx, eax
jge 0x180122a77
test ebx, ebx
js 0x180122a77
movsxd rax, ebx
imul rcx, rax, 0x38
add rcx, rdx
jmp 0x180122a93
mov rcx, qword [r12]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180110dc0
lea rcx, [0x18023ac90]
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x180122aa6
mov rax, qword [rcx]
xor ebx, ebx
mov qword [rbp - 0x69], rax
jmp 0x180122b01
test al, 8
je 0x180122ae3
movsd xmm0, qword [rcx]
comisd xmm7, xmm0
jbe 0x180122ac6
movabs rax, 0x8000000000000000
xor ebx, ebx
mov qword [rbp - 0x69], rax
jmp 0x180122b01
comisd xmm0, xmm6
movabs rax, 0x7fffffffffffffff
ja 0x180122adb
cvttsd2si rax, xmm0
mov qword [rbp - 0x69], rax
xor ebx, ebx
jmp 0x180122b01
test al, 0x12
je 0x180122afb
cmp qword [rcx + 8], 0
je 0x180122afb
call fcn.1800db970
mov qword [rbp - 0x69], rax
xor ebx, ebx
jmp 0x180122b01
xor ebx, ebx
mov qword [rbp - 0x69], rbx
mov rcx, qword [r12]
mov edx, dword [r12 + 0x34]
cmp byte [rcx + 0x67], 0
jne 0x180122b18
test edx, edx
jne 0x180122b18
mov eax, ebx
jmp 0x180122b1d
call fcn.1800596e0
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180122b35
call qword [0x18028cbf0]
mov r15d, ebx
mov dword [rbp - 0x35], ebx
mov rcx, rbx
mov qword [rbp - 0x19], rbx
cmp r15d, dword [rsi + 0x30]
jge 0x180122725
mov rax, qword [rsi + 0x40]
cmp byte [rcx + rax], 0
jne 0x180122e1b
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180122b6d
call qword [0x18028cbe0]
mov rdx, qword [r12 + 0xa0]
test rdx, rdx
je 0x180122ba0
movzx eax, word [r12 + 0xc0]
lea ecx, [r15 + 1]
cmp ecx, eax
jge 0x180122ba0
test ecx, ecx
js 0x180122ba0
movsxd rax, ecx
imul rcx, rax, 0x38
add rcx, rdx
jne 0x180122bbc
mov rdi, rbx
jmp 0x180122bf3
mov rcx, qword [r12]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180110dc0
lea rcx, [0x18023ac90]
movzx edx, word [rcx + 0x14]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x180122bdf
cmp byte [rcx + 0x16], 1
jne 0x180122bdf
mov rdi, qword [rcx + 8]
jmp 0x180122bf3
test dl, 1
je 0x180122be9
mov rdi, rbx
jmp 0x180122bf3
mov dl, 1
call fcn.180188de0
mov rdi, rax
mov rcx, qword [r12]
mov edx, dword [r12 + 0x34]
cmp byte [rcx + 0x67], 0
jne 0x180122c0a
test edx, edx
jne 0x180122c0a
mov eax, ebx
jmp 0x180122c0f
call fcn.1800596e0
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180122c27
call qword [0x18028cbf0]
mov rsi, qword [rsi + 0x48]
lea r9, [rbp - 0x49]
mov r8d, 0xffffffff
mov qword [rbp - 0x49], 0
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsi]
call qword [rbx + 0x18]
mov rdi, qword [rbp - 0x69]
test eax, eax
jne 0x180122c81
mov rcx, qword [rbp - 0x49]
mov qword [rcx], rsi
cmp dword [rbx], 1
jl 0x180122c81
mov rcx, qword [rbp - 0x49]
mov edx, edi
call qword [rbx + 0x30]
mov r14d, eax
test eax, eax
je 0x180122c81
mov rcx, qword [rbp - 0x49]
call qword [rbx + 0x20]
xor ebx, ebx
mov qword [rbp - 0x49], rbx
mov ecx, ebx
jmp 0x180122dfb
mov rcx, qword [rbp - 0x49]
xor ebx, ebx
mov qword [rbp - 0x29], rcx
mov r14d, eax
test eax, eax
jne 0x180122dfb
mov r12, qword [rbp - 0x51]
nop word [rax + rax]
lea rax, [rbp + 0x7f]
mov dword [rbp - 0x39], ebx
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x51]
lea rax, [rbp - 0x31]
mov dword [rbp - 0x51], ebx
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x39]
mov rax, qword [rbp - 0x21]
lea rdx, [rbp - 0x11]
mov dword [rbp - 0x31], ebx
mov dword [rbp + 0x7f], ebx
call qword [rax + 0x28]
mov dword [rbp + 0x77], eax
mov r14d, eax
test eax, eax
jne 0x180122dde
movsxd r9, dword [rbp + 0x7f]
lea rcx, [r13*8]
mov esi, dword [rbp - 0x39]
add rcx, r13
mov r11, qword [rbp - 0x11]
movsxd rax, edi
add rcx, rax
movsxd rax, r15d
imul rdx, rcx, 0x51
add rdx, rax
lea rcx, [rdx + rdx*8]
add rcx, r9
test esi, esi
jle 0x180122d35
mov rdx, r11
mov r8d, esi
nop word [rax + rax]
movsx rax, byte [rdx]
lea rcx, [rcx + rcx*8]
add rcx, rax
lea rdx, [rdx + 1]
sub r8, 1
jne 0x180122d20
mov r8, qword [rbp + 0x67]
xor r12, rcx
mov edx, dword [r8 + 0x1ec]
cmp edx, 1
jle 0x180122dde
mov r10, qword [r8 + 0x1f0]
lea r14, [r13*8]
add r14, r13
movsxd rax, edi
add r14, rax
movsxd r15, r15d
add r10, 0x28
lea edi, [rdx - 1]
mov r13, r9
mov ebx, 1
movsxd rcx, dword [r10]
cmp ecx, esi
jg 0x180122dc7
lea r8, [rbx + r14*8]
xor edx, edx
add r8, r14
mov r9, rcx
lea rax, [r15 + r8*8]
add r8, rax
lea rax, [r8*8]
add rax, r13
add r8, rax
test ecx, ecx
jle 0x180122dc4
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [rdx + r11]
lea r8, [r8 + r8*8]
add r8, rcx
inc rdx
cmp rdx, r9
jl 0x180122db0
xor r12, r8
inc rbx
add r10, 0x28
sub rdi, 1
jne 0x180122d76
mov r14d, dword [rbp + 0x77]
xor ebx, ebx
mov r15d, dword [rbp - 0x35]
mov rcx, qword [rbp - 0x29]
mov r13, qword [rbp - 0x61]
mov rdi, qword [rbp - 0x69]
test r14d, r14d
je 0x180122ca0
mov qword [rbp - 0x51], r12
mov r12, qword [rbp - 0x59]
test rcx, rcx
je 0x180122e07
mov rax, qword [rbp - 0x21]
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x19]
cmp r14d, 0x65
mov rsi, qword [rbp + 0x67]
cmove r14d, ebx
mov dword [rbp + 0x77], r14d
inc r15d
inc rcx
mov dword [rbp - 0x35], r15d
mov qword [rbp - 0x19], rcx
test r14d, r14d
jne 0x180122e77
mov r13, qword [rbp - 0x61]
jmp 0x180122b42
lea rdx, str.API_called_with_NULL_prepared_statement
mov ecx, 0x15
call fcn.18000206d
lea rdi, [0x18024f174]
mov r9d, 0x16265
lea r8, str.misuse
mov qword [rsp + 0x20], rdi
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.18000206d
xor r13d, r13d
jmp 0x180122e81
xor r13d, r13d
lea rdi, [0x18024f174]
test r12, r12
je 0x180122f18
mov rbx, qword [r12]
test rbx, rbx
jne 0x180122ec5
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.18000206d
mov r9d, 0x15f4b
mov qword [rsp + 0x20], rdi
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
lea ecx, [rbx + 0x15]
call fcn.18000206d
jmp 0x180122f18
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180122ed4
call qword [0x18028cbe0]
cmp qword [r12 + 0xb8], 0
jle 0x180122eea
mov rdx, r12
mov rcx, rbx
call fcn.1800cddd0
mov rcx, r12
call fcn.180171240
mov rcx, r12
mov edi, eax
call fcn.180161150
cmp byte [rbx + 0x67], 0
jne 0x180122f06
test edi, edi
je 0x180122f10
mov edx, edi
mov rcx, rbx
call fcn.1800596e0
mov rcx, rbx
call fcn.18013ebb0
test r14d, r14d
jne 0x180122f33
mov rax, qword [rbp - 0x41]
cmp rax, qword [rbp - 0x51]
jne 0x180122f33
mov rax, qword [rbp + 0x6f]
mov dword [rax], 1
jmp 0x180122f3a
mov rax, qword [rbp + 0x6f]
mov dword [rax], r13d
movaps xmm6, xmmword [rsp + 0xb0]
mov eax, r14d
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret