Function at 0x1802734b0
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 [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
call fcn.180274000
test al, al
jne 0x1802734ff
mov eax, 1
jmp 0x180273cfb
mov rdx, rdi
mov rcx, rsi
call fcn.180271d20
test al, al
je 0x1802734f5
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x70], xmm1
xor r15d, r15d
mov word [rbp - 0x80], r15w
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18015ca70
mov rbx, rax
lea rax, [rbp - 0x80]
cmp rax, rbx
je 0x18027356c
lea rcx, [rbp - 0x80]
call fcn.180005c50
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 0x1802735b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802735ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802735ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
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.180164610
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 [0x1803f7240]
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.18015a250
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 0x180273c1d
cmp qword [rcx], 0
je 0x180273c1d
call fcn.18015fb70
test al, al
je 0x180273c1d
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 0x1802736a7
mov rcx, qword [rdi]
test rcx, rcx
je 0x1802736a7
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x58]
mov rcx, qword [rsi]
call fcn.180189980
movzx esi, al
test rdi, rdi
je 0x1802736d2
mov rcx, qword [rdi]
test rcx, rcx
je 0x1802736ce
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x60], r15
test sil, sil
je 0x180273bfc
cmp byte [rsp + 0x2c], 0
jne 0x180273bfc
test rbx, rbx
je 0x1802736fd
mov rcx, qword [rbx]
test rcx, rcx
je 0x1802736f9
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 [0x1803f7240]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r15w
mov r15d, 2
mov r8d, r15d
lea rdx, [0x1803e8c28]
lea rcx, [rsp + 0x60]
call fcn.180005cd0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1801729a0
mov edi, eax
cmp eax, 0xffffffff
je 0x180273774
mov edx, eax
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1802caab0
lea rbx, [r15 - 3]
cmp eax, 5
je 0x18027377b
mov edx, edi
mov rcx, rsi
call fcn.1802ca820
jmp 0x18027377e
mov rbx, 0xffffffffffffffff
mov rax, rbx
mov qword [r14], rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1802737c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802737c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802737c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x70], xmm0
xor esi, esi
mov word [rsp + 0x60], si
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], si
lea r8d, [rsi + 8]
lea rdx, str.LastTime
lea rcx, [rsp + 0x40]
call fcn.180005cd0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1801729a0
mov edi, eax
cmp eax, 0xffffffff
je 0x18027384f
mov edx, eax
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1802caab0
cmp eax, 5
je 0x180273848
mov edx, edi
mov rcx, rsi
call fcn.1802ca820
mov r14, rax
xor esi, esi
jmp 0x180273852
mov r14, rbx
xor esi, esi
jmp 0x180273852
mov r14, rbx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180273897
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180273892
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180273892
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], si
mov r8d, 9
lea rdx, str.ImageSize
lea rcx, [rsp + 0x60]
call fcn.180005cd0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1801729a0
mov esi, eax
mov rdi, qword [rsp + 0x20]
cmp eax, 0xffffffff
je 0x180273917
mov edx, eax
mov rcx, rdi
call fcn.1802caab0
cmp eax, 5
je 0x180273917
mov edx, esi
mov rcx, rdi
call fcn.1802ca820
mov rsi, rax
jmp 0x18027391a
mov rsi, rbx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18027395f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18027395a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18027395a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x70], xmm0
xor eax, eax
mov word [rsp + 0x60], ax
cmp r14, r13
jne 0x180273c25
cmp rsi, qword [rbp - 0x30]
jne 0x180273c25
xor r13d, r13d
test r12, r12
je 0x180273bf7
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], r13w
lea r8d, [rax + 0xa]
lea rdx, str.ImageWidth
lea rcx, [rsp + 0x40]
call fcn.180005cd0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1801729a0
mov edi, eax
cmp eax, 0xffffffff
je 0x1802739ff
mov edx, eax
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1802caab0
cmp eax, 5
je 0x1802739ff
mov edx, edi
mov rcx, rsi
call fcn.1802ca780
mov r15d, eax
jmp 0x180273a02
mov r15d, ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180273a47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180273a42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180273a42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r13w
mov r8d, 0xb
lea rdx, str.ImageHeight
lea rcx, [rsp + 0x60]
call fcn.180005cd0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1801729a0
mov edi, eax
cmp eax, 0xffffffff
je 0x180273ac8
mov edx, eax
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1802caab0
cmp eax, 5
je 0x180273ac8
mov edx, edi
mov rcx, rsi
call fcn.1802ca780
mov esi, eax
jmp 0x180273aca
mov esi, ebx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180273b0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180273b0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180273b0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], r13w
mov r8d, 9
lea rdx, str.ImageType
lea rcx, [rsp + 0x40]
call fcn.180005cd0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1801729a0
mov r14d, eax
mov rdi, qword [rsp + 0x20]
cmp eax, 0xffffffff
je 0x180273b90
mov edx, eax
mov rcx, rdi
call fcn.1802caab0
cmp eax, 5
je 0x180273b90
mov edx, r14d
mov rcx, rdi
call fcn.1802ca780
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180273bd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180273bd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180273bd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
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 0x180273c22
test rbx, rbx
je 0x180273c13
mov rcx, qword [rbx]
test rcx, rcx
je 0x180273c0f
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 0x180273c3b
mov rcx, rdi
call fcn.1802c8d60
xor ebx, ebx
mov qword [rsp + 0x20], rbx
jmp 0x180273c3d
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x2c], 1
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x180273c89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180273c84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180273c84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], bx
lea rcx, [rbp - 8]
call fcn.180005c50
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180273ce7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180273ce2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180273ce2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
mov eax, r15d
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret