Function at 0x18026ee00
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
call fcn.18026f950
test al, al
jne 0x18026ee4f
mov eax, 1
jmp 0x18026f64b
mov rdx, rdi
mov rcx, rsi
call fcn.18026d800
test al, al
je 0x18026ee45
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x70], xmm1
xor r15d, r15d
mov word [rbp - 0x80], r15w
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180157380
mov rbx, rax
lea rax, [rbp - 0x80]
cmp rax, rbx
je 0x18026eebc
lea rcx, [rbp - 0x80]
call fcn.180004e20
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18026ef01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026eefc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026eefc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r15w
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.18015e940
mov r13d, dword [rbp - 0x14]
shl r13, 0x20
mov eax, dword [rbp - 0x18]
add r13, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x48], xmm1
mov word [rbp - 0x58], r15w
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
lea rdx, str.SELECT_ID__LastTime__ImageSize__ImageWidth__ImageHeight__ImageType__FROM_TImageInfo___________WHERE__ImageName___s
lea rcx, [rbp - 0x58]
call fcn.180154b60
mov rdi, r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], r15d
mov byte [rsp + 0x2c], 1
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x18026f56d
cmp qword [rcx], 0
je 0x18026f56d
call fcn.18015a480
test al, al
je 0x18026f56d
mov rbx, qword [rsi + 0x60]
mov qword [rsp + 0x30], rbx
mov rsi, qword [rsi + 0x58]
mov qword [rbp - 0x60], r15
mov rdi, qword [rsi]
add rdi, 0x40
mov qword [rbp - 0x60], rdi
je 0x18026eff7
mov rcx, qword [rdi]
test rcx, rcx
je 0x18026eff7
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x58]
mov rcx, qword [rsi]
call fcn.180184d40
movzx esi, al
test rdi, rdi
je 0x18026f022
mov rcx, qword [rdi]
test rcx, rcx
je 0x18026f01e
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x60], r15
test sil, sil
je 0x18026f54c
cmp byte [rsp + 0x2c], 0
jne 0x18026f54c
test rbx, rbx
je 0x18026f04d
mov rcx, qword [rbx]
test rcx, rcx
je 0x18026f049
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbx + 8], 0
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r15w
mov r15d, 2
mov r8d, r15d
lea rdx, [0x1803d96d8]
lea rcx, [rsp + 0x60]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.18016ddb0
mov edi, eax
cmp eax, 0xffffffff
je 0x18026f0c4
mov edx, eax
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1802c29a0
lea rbx, [r15 - 3]
cmp eax, 5
je 0x18026f0cb
mov edx, edi
mov rcx, rsi
call fcn.1802c2710
jmp 0x18026f0ce
mov rbx, 0xffffffffffffffff
mov rax, rbx
mov qword [r14], rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18026f116
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026f111
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026f111
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x70], xmm0
xor esi, esi
mov word [rsp + 0x60], si
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], si
lea r8d, [rsi + 8]
lea rdx, str.LastTime
lea rcx, [rsp + 0x40]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18016ddb0
mov edi, eax
cmp eax, 0xffffffff
je 0x18026f19f
mov edx, eax
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1802c29a0
cmp eax, 5
je 0x18026f198
mov edx, edi
mov rcx, rsi
call fcn.1802c2710
mov r14, rax
xor esi, esi
jmp 0x18026f1a2
mov r14, rbx
xor esi, esi
jmp 0x18026f1a2
mov r14, rbx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18026f1e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026f1e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026f1e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], si
mov r8d, 9
lea rdx, str.ImageSize
lea rcx, [rsp + 0x60]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.18016ddb0
mov esi, eax
mov rdi, qword [rsp + 0x20]
cmp eax, 0xffffffff
je 0x18026f267
mov edx, eax
mov rcx, rdi
call fcn.1802c29a0
cmp eax, 5
je 0x18026f267
mov edx, esi
mov rcx, rdi
call fcn.1802c2710
mov rsi, rax
jmp 0x18026f26a
mov rsi, rbx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18026f2af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026f2aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026f2aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x70], xmm0
xor eax, eax
mov word [rsp + 0x60], ax
cmp r14, r13
jne 0x18026f575
cmp rsi, qword [rbp - 0x30]
jne 0x18026f575
xor r13d, r13d
test r12, r12
je 0x18026f547
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], r13w
lea r8d, [rax + 0xa]
lea rdx, str.ImageWidth
lea rcx, [rsp + 0x40]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18016ddb0
mov edi, eax
cmp eax, 0xffffffff
je 0x18026f34f
mov edx, eax
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1802c29a0
cmp eax, 5
je 0x18026f34f
mov edx, edi
mov rcx, rsi
call fcn.1802c2670
mov r15d, eax
jmp 0x18026f352
mov r15d, ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18026f397
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026f392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026f392
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r13w
mov r8d, 0xb
lea rdx, str.ImageHeight
lea rcx, [rsp + 0x60]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.18016ddb0
mov edi, eax
cmp eax, 0xffffffff
je 0x18026f418
mov edx, eax
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1802c29a0
cmp eax, 5
je 0x18026f418
mov edx, edi
mov rcx, rsi
call fcn.1802c2670
mov esi, eax
jmp 0x18026f41a
mov esi, ebx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18026f45f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026f45a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026f45a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], r13w
mov r8d, 9
lea rdx, str.ImageType
lea rcx, [rsp + 0x40]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18016ddb0
mov r14d, eax
mov rdi, qword [rsp + 0x20]
cmp eax, 0xffffffff
je 0x18026f4e0
mov edx, eax
mov rcx, rdi
call fcn.1802c29a0
cmp eax, 5
je 0x18026f4e0
mov edx, r14d
mov rcx, rdi
call fcn.1802c2670
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18026f525
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026f520
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026f520
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
mov dword [r12 + 4], r15d
mov dword [r12 + 8], esi
mov dword [r12], ebx
mov eax, r13d
jmp 0x18026f572
test rbx, rbx
je 0x18026f563
mov rcx, qword [rbx]
test rcx, rcx
je 0x18026f55f
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbx + 8], 0
mov qword [rsp + 0x30], r15
mov rdi, qword [rsp + 0x20]
mov eax, 1
mov r15d, eax
test rdi, rdi
je 0x18026f58b
mov rcx, rdi
call fcn.1802c0c50
xor ebx, ebx
mov qword [rsp + 0x20], rbx
jmp 0x18026f58d
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x2c], 1
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18026f5d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026f5d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026f5d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], bx
lea rcx, [rbp - 8]
call fcn.180004e20
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x18026f637
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026f632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026f632
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
mov eax, r15d
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret