Function at 0x1402501b0
Capabilities:
Encode data using xor

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 - 0xe8]
sub rsp, 0x1e8
xor r12d, r12d
lea r8, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x58], r12
mov edx, 0x1b
mov qword [rsp + 0x70], r12
mov r15d, r12d
mov qword [rsp + 0x48], r12
mov r14, rcx
call fcn.14025b510
mov dword [rbp + 0x140], eax
mov ebx, eax
mov dword [rbp + 0x148], eax
test eax, eax
jne 0x140250877
mov rbx, qword [rsp + 0x48]
mov edx, 1
movsxd r8, dword [r14 + 0x208]
mov rcx, rbx
call fcn.140220c20
movsxd r8, dword [r14 + 0x1e8]
mov edx, 2
mov rcx, rbx
call fcn.140220c20
mov esi, r12d
test rbx, rbx
je 0x140250795
cmp qword [rbx], rsi
jne 0x14025026b
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.140200de0
mov eax, 1
jmp 0x14025026e
mov eax, r12d
test eax, eax
jne 0x1402507a6
mov r13, qword [rbx]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140250288
call qword [0x140439d90]
mov rcx, rbx
call fcn.1402ea7a0
mov edi, eax
cmp eax, 0x11
jne 0x140250682
nop dword [rax + rax]
mov eax, esi
inc esi
cmp eax, 0x32
jge 0x140250676
mov rdi, qword [rbx]
lea rax, [rsp + 0x78]
movzx r9d, byte [rbx + 0xc4]
mov rcx, rdi
mov rdx, qword [rbx + 0xf8]
mov r8d, 0xffffffff
mov r15d, dword [rbx + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call fcn.1402d6e50
mov r14d, eax
test eax, eax
jne 0x140250596
mov rdi, qword [rsp + 0x78]
lea rcx, [rbp - 0x50]
mov rax, rdi
mov edx, 2
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140250301
movups xmm0, xmmword [rax]
mov edx, 2
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, rdi
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov rcx, rbx
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140250375
movups xmm0, xmmword [rcx]
mov edx, 2
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rbp - 0x50]
movups xmmword [rax + 0x20], xmm0
mov rax, rbx
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1402503f0
movups xmm0, xmmword [rcx]
mov rdx, rbx
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm0
mov rcx, qword [rdi + 0x10]
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
mov rax, qword [rbx + 8]
mov qword [rbx + 0x10], rcx
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbx + 0xf8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 0xf8]
mov qword [rdi + 0xf8], rax
mov qword [rbx + 0xf8], rcx
mov rcx, rdi
mov eax, dword [rdi + 0x11c]
mov dword [rbx + 0x11c], eax
movzx eax, byte [rdi + 0xc4]
mov byte [rbx + 0xc4], al
movups xmm0, xmmword [rdi + 0xd4]
movups xmmword [rbx + 0xd4], xmm0
movups xmm1, xmmword [rdi + 0xe4]
movups xmmword [rbx + 0xe4], xmm1
mov eax, dword [rdi + 0xf4]
mov dword [rbx + 0xf4], eax
inc dword [rbx + 0xe8]
call fcn.1402eb5d0
mov rcx, rdi
mov dword [rdi + 0x34], r12d
call fcn.1402fa5c0
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140250505
call qword [0x140439d90]
cmp qword [rbx + 0xb8], r12
jle 0x140250519
mov rdx, rbx
mov rcx, rdi
call fcn.1402807f0
mov rcx, rbx
call fcn.1402fddd0
mov byte [rbx + 0xc5], 1
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r12d
mov word [rbx + 0xc2], 0xff02
mov qword [rbx + 0x38], r12
mov dword [rbx + 0x2c], 1
mov dword [rbx + 0x40], r12d
mov qword [rbx + 0x50], r12
cmp byte [rdi + 0x67], r12b
jne 0x140250559
test eax, eax
je 0x140250563
mov edx, eax
mov rcx, rdi
call fcn.1402269e0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140250572
call qword [0x140439da0]
test r15d, r15d
js 0x14025057e
mov byte [rbx + 0xc3], 0xfe
mov rcx, rbx
call fcn.1402ea7a0
mov edi, eax
cmp eax, 0x11
je 0x1402502a0
jmp 0x140250676
cmp r14d, 7
jne 0x1402505a4
mov rcx, rdi
call fcn.1402d7fe0
mov rcx, qword [r13 + 0x190]
test rcx, rcx
jne 0x1402505b5
mov rsi, r12
jmp 0x1402505ec
movzx edx, word [rcx + 0x14]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x1402505d8
cmp byte [rcx + 0x16], 1
jne 0x1402505d8
mov rsi, qword [rcx + 8]
jmp 0x1402505ec
test dl, 1
je 0x1402505e2
mov rsi, r12
jmp 0x1402505ec
mov dl, 1
call fcn.1403113b0
mov rsi, rax
mov rdx, qword [rbx + 0xa8]
test rdx, rdx
je 0x140250600
mov rcx, r13
call fcn.1402afb40
cmp byte [r13 + 0x67], r12b
jne 0x140250667
test rsi, rsi
jne 0x140250610
mov r15, r12
jmp 0x14025064e
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rsi + rdi + 1], r12b
lea rdi, [rdi + 1]
jne 0x140250620
lea rdx, [rdi + 1]
mov rcx, r13
call fcn.1402afcd0
mov r15, rax
test rax, rax
je 0x14025064e
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, r14d
mov qword [rbx + 0xa8], r15
mov rcx, r13
call fcn.1402269e0
mov edi, eax
mov dword [rbx + 0x34], eax
jmp 0x140250676
mov edi, 7
mov qword [rbx + 0xa8], r12
mov dword [rbx + 0x34], edi
mov r15, qword [rsp + 0x58]
mov r14, qword [rbp + 0x130]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140250691
call qword [0x140439da0]
cmp edi, 0x64
jne 0x1402507d0
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1402506ac
call qword [0x140439d90]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1402506c2
cmp r12w, word [rbx + 0xc0]
jb 0x1402506dd
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.1402b27c0
lea rcx, [0x140413cd8]
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x1402506ea
mov rsi, qword [rcx]
jmp 0x140250713
test al, 8
je 0x1402506fc
movsd xmm0, qword [rcx]
call fcn.140234930
mov rsi, rax
jmp 0x140250713
test al, 0x12
je 0x140250710
cmp qword [rcx + 8], r12
je 0x140250710
call fcn.140287660
mov rsi, rax
jmp 0x140250713
mov rsi, r12
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x34]
cmp byte [rcx + 0x67], r12b
jne 0x140250728
test edx, edx
jne 0x140250728
mov eax, r12d
jmp 0x14025072d
call fcn.1402269e0
mov dword [rbx + 0x34], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140250742
call qword [0x140439da0]
mov edi, r12d
cmp dword [r14 + 0x1e8], r12d
jle 0x140250785
nop
lea r9, [rbp + 0x148]
mov r8d, edi
mov edx, esi
mov rcx, r14
call fcn.140240c50
xor r15, rax
inc edi
cmp edi, dword [r14 + 0x1e8]
jl 0x140250750
mov esi, dword [rbp + 0x148]
mov dword [rbp + 0x140], esi
mov qword [rsp + 0x58], r15
jmp 0x14025078b
mov esi, dword [rbp + 0x140]
test esi, esi
je 0x140250242
jmp 0x1402507d6
lea rdx, str.API_called_with_NULL_prepared_statement
mov ecx, 0x15
call fcn.140200de0
lea rax, [0x14041fce4]
mov r9d, 0x159e4
lea r8, str.misuse
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.140200de0
mov esi, dword [rbp + 0x140]
test rbx, rbx
jne 0x1402507e3
mov ebx, r12d
jmp 0x140250869
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1402507f5
call qword [0x140439d90]
cmp qword [rbx + 0xb8], r12
jle 0x140250809
mov rdx, rbx
mov rcx, rdi
call fcn.1402807f0
mov rcx, rbx
call fcn.1402fddd0
mov byte [rbx + 0xc5], 1
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r12d
mov word [rbx + 0xc2], 0xff02
mov qword [rbx + 0x38], r12
mov dword [rbx + 0x2c], 1
mov dword [rbx + 0x40], r12d
mov qword [rbx + 0x50], r12
cmp byte [rdi + 0x67], r12b
jne 0x14025084e
test eax, eax
jne 0x14025084e
mov ebx, r12d
jmp 0x14025085a
mov edx, eax
mov rcx, rdi
call fcn.1402269e0
mov ebx, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140250869
call qword [0x140439da0]
test esi, esi
jne 0x140251340
mov dword [rbp + 0x140], ebx
test ebx, ebx
jne 0x14025133a
mov rax, qword [r14 + 0x48]
lea rcx, str.SELECT__s
mov rdx, qword [r14 + 0x1b8]
mov r13, r12
mov qword [rsp + 0x48], r12
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
call fcn.14021e5b0
mov rbx, rax
test rax, rax
jne 0x140250908
mov esi, 7
lea rdi, [0x14041fce4]
test r13, r13
je 0x140251340
mov rbx, qword [r13]
test rbx, rbx
jne 0x1402512e7
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.140200de0
mov r9d, 0x15732
mov qword [rsp + 0x20], rdi
lea r8, str.misuse
mov ecx, 0x15
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140200de0
jmp 0x140251340
mov rcx, qword [r14 + 0x18]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], r12
mov r9d, 0x80
mov qword [rsp + 0x28], rax
mov r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], r12
call fcn.1402d6e50
cmp dword [0x140439d10], r12d
mov esi, eax
mov dword [rbp + 0x140], eax
je 0x14025098e
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x140250957
call qword [0x140439d90]
mov rcx, rbx
call qword [0x140439d48]
dec qword [0x14043f378]
movsxd rcx, eax
sub qword [0x14043f330], rcx
mov rcx, rbx
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x140250997
call qword [0x140439da0]
jmp 0x140250997
mov rcx, rbx
call qword [0x140439d38]
mov r13, qword [rsp + 0x48]
test esi, esi
jne 0x1402508b2
mov edi, r12d
test r13, r13
je 0x1402512a7
cmp qword [r13], rdi
jne 0x1402509ce
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.140200de0
mov eax, 1
jmp 0x1402509d1
mov eax, r12d
test eax, eax
jne 0x1402512b8
mov r15, qword [r13]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x1402509ec
call qword [0x140439d90]
mov rcx, r13
call fcn.1402ea7a0
mov ebx, eax
cmp eax, 0x11
jne 0x140250de0
nop
mov ecx, edi
inc edi
cmp ecx, 0x32
jge 0x140250dda
mov rbx, qword [r13]
lea rax, [rbp - 0x68]
movzx r9d, byte [r13 + 0xc4]
mov rcx, rbx
mov rdx, qword [r13 + 0xf8]
mov r8d, 0xffffffff
mov esi, dword [r13 + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call fcn.1402d6e50
mov r14d, eax
test eax, eax
jne 0x140250d01
mov rbx, qword [rbp - 0x68]
lea rcx, [rbp - 0x50]
mov rax, rbx
mov edx, 2
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140250a60
movups xmm0, xmmword [rax]
mov edx, 2
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, rbx
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov rcx, r13
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140250ad4
movups xmm0, xmmword [rcx]
mov edx, 2
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rbp - 0x50]
movups xmmword [rax + 0x20], xmm0
mov rax, r13
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140250b50
movups xmm0, xmmword [rcx]
mov rdx, r13
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm0
mov rcx, qword [rbx + 0x10]
mov rax, qword [r13 + 0x10]
mov qword [rbx + 0x10], rax
mov rax, qword [r13 + 8]
mov qword [r13 + 0x10], rcx
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], rax
mov rax, qword [r13 + 0xf8]
mov qword [r13 + 8], rcx
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0xf8], rax
mov qword [r13 + 0xf8], rcx
mov rcx, rbx
mov eax, dword [rbx + 0x11c]
mov dword [r13 + 0x11c], eax
movzx eax, byte [rbx + 0xc4]
mov byte [r13 + 0xc4], al
movups xmm0, xmmword [rbx + 0xd4]
movups xmmword [r13 + 0xd4], xmm0
movups xmm1, xmmword [rbx + 0xe4]
movups xmmword [r13 + 0xe4], xmm1
mov eax, dword [rbx + 0xf4]
mov dword [r13 + 0xf4], eax
inc dword [r13 + 0xe8]
call fcn.1402eb5d0
mov rcx, rbx
mov dword [rbx + 0x34], r12d
call fcn.1402fa5c0
mov rbx, qword [r13]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140250c6c
call qword [0x140439d90]
cmp qword [r13 + 0xb8], r12
jle 0x140250c80
mov rdx, r13
mov rcx, rbx
call fcn.1402807f0
mov rcx, r13
call fcn.1402fddd0
mov byte [r13 + 0xc5], 1
mov dword [r13 + 0x30], 0xffffffff
mov dword [r13 + 0x34], r12d
mov word [r13 + 0xc2], 0xff02
mov qword [r13 + 0x38], r12
mov dword [r13 + 0x2c], 1
mov dword [r13 + 0x40], r12d
mov qword [r13 + 0x50], r12
cmp byte [rbx + 0x67], r12b
jne 0x140250cc4
test eax, eax
je 0x140250cce
mov edx, eax
mov rcx, rbx
call fcn.1402269e0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140250cdd
call qword [0x140439da0]
test esi, esi
js 0x140250ce9
mov byte [r13 + 0xc3], 0xfe
mov rcx, r13
call fcn.1402ea7a0
mov ebx, eax
cmp eax, 0x11
je 0x140250a00
jmp 0x140250dda
cmp r14d, 7
jne 0x140250d0f
mov rcx, rbx
call fcn.1402d7fe0
mov rcx, qword [r15 + 0x190]
test rcx, rcx
jne 0x140250d20
mov rdi, r12
jmp 0x140250d57
movzx edx, word [rcx + 0x14]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x140250d43
cmp byte [rcx + 0x16], 1
jne 0x140250d43
mov rdi, qword [rcx + 8]
jmp 0x140250d57
test dl, 1
je 0x140250d4d
mov rdi, r12
jmp 0x140250d57
mov dl, 1
call fcn.1403113b0
mov rdi, rax
mov rdx, qword [r13 + 0xa8]
test rdx, rdx
je 0x140250d6b
mov rcx, r15
call fcn.1402afb40
cmp byte [r15 + 0x67], r12b
jne 0x140250dca
test rdi, rdi
jne 0x140250d7b
mov rsi, r12
jmp 0x140250db0
mov rbx, 0xffffffffffffffff
cmp byte [rdi + rbx + 1], r12b
lea rbx, [rbx + 1]
jne 0x140250d82
lea rdx, [rbx + 1]
mov rcx, r15
call fcn.1402afcd0
mov rsi, rax
test rax, rax
je 0x140250db0
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, r14d
mov qword [r13 + 0xa8], rsi
mov rcx, r15
call fcn.1402269e0
mov ebx, eax
mov dword [r13 + 0x34], eax
jmp 0x140250dda
mov ebx, 7
mov qword [r13 + 0xa8], r12
mov dword [r13 + 0x34], ebx
mov esi, dword [rbp + 0x140]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x140250def
call qword [0x140439da0]
cmp ebx, 0x64
jne 0x1402508b2
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140250e0b
call qword [0x140439d90]
mov rcx, qword [r13 + 0xa0]
test rcx, rcx
je 0x140250e21
cmp r12w, word [r13 + 0xc0]
jb 0x140250e3d
mov rcx, qword [r13]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.1402b27c0
lea rcx, [0x140413cd8]
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x140250e4a
mov r15, qword [rcx]
jmp 0x140250e73
test al, 8
je 0x140250e5c
movsd xmm0, qword [rcx]
call fcn.140234930
mov r15, rax
jmp 0x140250e73
test al, 0x12
je 0x140250e70
cmp qword [rcx + 8], r12
je 0x140250e70
call fcn.140287660
mov r15, rax
jmp 0x140250e73
mov r15, r12
mov rcx, qword [r13]
mov edx, dword [r13 + 0x34]
mov qword [rsp + 0x68], r15
cmp byte [rcx + 0x67], r12b
jne 0x140250e8f
test edx, edx
jne 0x140250e8f
mov eax, r12d
jmp 0x140250e94
call fcn.1402269e0
mov dword [r13 + 0x34], eax
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140250eab
call qword [0x140439da0]
mov rbx, qword [rbp + 0x130]
mov eax, r12d
mov qword [rsp + 0x40], rax
cmp qword [rbx + 0x58], rax
je 0x140250f9b
mov rax, qword [r13]
mov ebx, dword [rbx + 0x30]
inc ebx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140250edc
call qword [0x140439d90]
mov rdx, qword [r13 + 0xa0]
test rdx, rdx
je 0x140250f04
movzx eax, word [r13 + 0xc0]
cmp ebx, eax
jge 0x140250f04
test ebx, ebx
js 0x140250f04
movsxd rax, ebx
imul rcx, rax, 0x38
add rcx, rdx
jmp 0x140250f20
mov rcx, qword [r13]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.1402b27c0
lea rcx, [0x140413cd8]
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x140250f32
mov rax, qword [rcx]
mov qword [rsp + 0x40], rax
jmp 0x140250f61
test al, 8
je 0x140250f46
movsd xmm0, qword [rcx]
call fcn.140234930
mov qword [rsp + 0x40], rax
jmp 0x140250f61
test al, 0x12
je 0x140250f5c
cmp qword [rcx + 8], r12
je 0x140250f5c
call fcn.140287660
mov qword [rsp + 0x40], rax
jmp 0x140250f61
mov qword [rsp + 0x40], r12
mov rcx, qword [r13]
mov edx, dword [r13 + 0x34]
cmp byte [rcx + 0x67], r12b
jne 0x140250f78
test edx, edx
jne 0x140250f78
mov eax, r12d
jmp 0x140250f7d
call fcn.1402269e0
mov dword [r13 + 0x34], eax
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140250f94
call qword [0x140439da0]
mov rbx, qword [rbp + 0x130]
mov rcx, r12
mov dword [rbp + 0x148], r12d
mov qword [rsp + 0x78], rcx
mov r14d, r12d
nop dword [rax]
cmp r14d, dword [rbx + 0x30]
jge 0x1402509a4
mov rax, qword [rbx + 0x40]
cmp byte [rcx + rax], r12b
jne 0x140251283
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140250fdb
call qword [0x140439d90]
mov rdx, qword [r13 + 0xa0]
test rdx, rdx
je 0x14025100c
movzx eax, word [r13 + 0xc0]
lea ecx, [r14 + 1]
cmp ecx, eax
jge 0x14025100c
test ecx, ecx
js 0x14025100c
movsxd rax, ecx
imul rcx, rax, 0x38
add rcx, rdx
jne 0x140251028
mov rdi, r12
jmp 0x14025105f
mov rcx, qword [r13]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.1402b27c0
lea rcx, [0x140413cd8]
movzx edx, word [rcx + 0x14]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x14025104b
cmp byte [rcx + 0x16], 1
jne 0x14025104b
mov rdi, qword [rcx + 8]
jmp 0x14025105f
test dl, 1
je 0x140251055
mov rdi, r12
jmp 0x14025105f
mov dl, 1
call fcn.1403113b0
mov rdi, rax
mov rcx, qword [r13]
mov edx, dword [r13 + 0x34]
cmp byte [rcx + 0x67], r12b
jne 0x140251076
test edx, edx
jne 0x140251076
mov eax, r12d
jmp 0x14025107b
call fcn.1402269e0
mov dword [r13 + 0x34], eax
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140251092
call qword [0x140439da0]
mov rsi, qword [rbx + 0x48]
lea r9, [rsp + 0x50]
mov r8d, 0xffffffff
mov qword [rsp + 0x50], r12
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsi]
call qword [rbx + 0x18]
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x1402510ed
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rsi
cmp dword [rbx], 1
jl 0x1402510ed
mov rcx, qword [rsp + 0x50]
mov edx, edi
call qword [rbx + 0x30]
mov esi, eax
test eax, eax
je 0x1402510ed
mov rcx, qword [rsp + 0x50]
call qword [rbx + 0x20]
mov rcx, r12
mov qword [rsp + 0x50], r12
jmp 0x14025125e
mov rcx, qword [rsp + 0x50]
mov esi, eax
mov qword [rbp - 0x78], rcx
test eax, eax
jne 0x14025125e
lea rax, [rsp + 0x60]
mov dword [rsp + 0x64], r12d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x7c]
lea rax, [rbp - 0x80]
mov dword [rbp - 0x7c], r12d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x64]
mov rax, qword [rbp - 0x70]
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x80], r12d
mov dword [rsp + 0x60], r12d
call qword [rax + 0x28]
mov dword [rbp + 0x140], eax
mov esi, eax
test eax, eax
jne 0x140251243
movsxd r9, dword [rsp + 0x60]
lea rcx, [r15 + r15*8]
mov r10, qword [rbp - 0x60]
movsxd rax, edi
add rcx, rax
movsxd rax, r14d
mov r14d, dword [rsp + 0x64]
imul rdx, rcx, 0x51
add rdx, rax
lea rcx, [rdx + rdx*8]
add rcx, r9
test r14d, r14d
jle 0x140251195
mov rdx, r10
mov r8d, r14d
nop dword [rax]
movsx rax, byte [rdx]
lea rcx, [rcx + rcx*8]
add rcx, rax
lea rdx, [rdx + 1]
sub r8, 1
jne 0x140251180
mov r8, qword [rbp + 0x130]
xor qword [rsp + 0x70], rcx
mov edx, dword [r8 + 0x1e8]
cmp edx, 1
jle 0x14025123c
mov r11, qword [r8 + 0x1f0]
lea rsi, [r15 + r15*8]
movsxd r15, dword [rbp + 0x148]
mov r13, r9
movsxd rax, edi
mov ebx, 1
add rsi, rax
lea edi, [rdx - 1]
add r11, 0x28
movsxd rcx, dword [r11]
cmp ecx, r14d
jg 0x140251229
lea rdx, [rbx + rsi*8]
mov r8, r12
add rdx, rsi
mov r9, rcx
lea rax, [r15 + rdx*8]
add rdx, rax
lea rax, [rdx*8]
add rax, r13
add rdx, rax
test ecx, ecx
jle 0x140251224
nop word [rax + rax]
movsx rcx, byte [r8 + r10]
lea rdx, [rdx + rdx*8]
add rdx, rcx
inc r8
cmp r8, r9
jl 0x140251210
xor qword [rsp + 0x70], rdx
inc rbx
add r11, 0x28
sub rdi, 1
jne 0x1402511d8
mov esi, dword [rbp + 0x140]
mov r14d, dword [rbp + 0x148]
mov rcx, qword [rbp - 0x78]
mov r15, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x40]
test esi, esi
je 0x140251100
mov r13, qword [rsp + 0x48]
test rcx, rcx
je 0x14025126a
mov rax, qword [rbp - 0x70]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x78]
cmp esi, 0x65
mov rbx, qword [rbp + 0x130]
cmove esi, r12d
mov dword [rbp + 0x140], esi
inc r14d
inc rcx
mov dword [rbp + 0x148], r14d
mov qword [rsp + 0x78], rcx
test esi, esi
jne 0x1402508b2
mov r15, qword [rsp + 0x68]
jmp 0x140250fb0
lea rdx, str.API_called_with_NULL_prepared_statement
mov ecx, 0x15
call fcn.140200de0
lea rdi, [0x14041fce4]
mov r9d, 0x159e4
lea r8, str.misuse
mov qword [rsp + 0x20], rdi
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.140200de0
jmp 0x1402508b9
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1402512f6
call qword [0x140439d90]
cmp qword [r13 + 0xb8], r12
jle 0x14025130a
mov rdx, r13
mov rcx, rbx
call fcn.1402807f0
mov rcx, r13
call fcn.1402fddd0
mov rcx, r13
mov edi, eax
call fcn.1402f0cf0
cmp byte [rbx + 0x67], r12b
jne 0x140251326
test edi, edi
je 0x140251330
mov edx, edi
mov rcx, rbx
call fcn.1402269e0
mov rcx, rbx
call fcn.1402d6140
jmp 0x140251340
mov esi, dword [rbp + 0x140]
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x70]
mov rax, qword [rbp + 0x138]
sete r12b
mov dword [rax], r12d
mov eax, esi
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret