Function at 0x1000ceda
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087a15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x10
mov edi, ecx
call fcn.10085b10
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], ebx
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx], vtable.service_impl_t_class_album_art_data_impl_.0
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
call dword [eax + 4]
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], 0
jne 0x1000ce7f
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [edi + 8]
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1000ce9a
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10003f20
mov ecx, dword [edi]
test ecx, ecx
je 0x1000d23c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0
cmp eax, 4
ja case.0x1000cebe.0
jmp dword [eax*4 + 0x1000d260]
mov edx, str.SELECT_back_FROM_art_WHERE_path__
jmp 0x1000cee6
mov edx, str.SELECT_artist_FROM_art_WHERE_path__
jmp 0x1000cee6
mov edx, str.SELECT_disc_FROM_art_WHERE_path__
jmp 0x1000cee6
mov edx, str.SELECT_icon_FROM_art_WHERE_path__
jmp 0x1000cee6
mov edx, str.SELECT_front_FROM_art_WHERE_path__
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x80
push 0xffffffffffffffff
call fcn.1006137f
mov ebx, dword [ebp - 0x10]
add esp, 0x14
test ebx, ebx
jne 0x1000cf0b
mov eax, str.API_called_with_NULL_prepared_statement
jmp 0x1000cf15
cmp dword [ebx], 0
jne 0x1000cf40
mov eax, str.API_called_with_finalized_prepared_statement
push eax
push 0x15
call fcn.10025979
push 0x100995b4
push 0x14368
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10025979
add esp, 0x1c
jmp 0x1000d0a9
cmp dword [ebx + 0x14], 0x2df20da3
jne 0x1000d066
cmp dword [ebx + 0x24], 0
jge 0x1000d066
mov eax, 1
cmp ax, word [ebx + 0x10]
jg 0x1000d051
mov edi, dword [ebx + 0x64]
mov ecx, edi
call fcn.1003a188
mov eax, 1
mov word [edi + 8], ax
mov eax, dword [ebx]
mov dword [eax + 0x40], 0
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x1000cfa2
test al, 1
je 0x1000cfa2
mov eax, dword [ebx + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x98], eax
mov ecx, dword [ebx + 0x64]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x1000cfb7
mov eax, dword [eax + 0x6c]
mov dword [ebp + 0x10], eax
jmp 0x1000cfbe
mov dword [ebp + 0x10], 0x3b9aca00
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1000cfc4
sub edi, edx
mov eax, 0x2400
and edi, 0x7fffffff
test word [ecx + 8], ax
jne 0x1000cfe4
cmp dword [ecx + 0x18], 0
je 0x1000cfec
call fcn.1003a15a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov eax, 0xa02
mov dword [ecx + 0x24], 0
mov dword [ecx + 0xc], edi
mov word [ecx + 8], ax
mov byte [ecx + 0xa], 1
cmp edi, dword [ebp + 0x10]
jle 0x1000d015
mov edi, 0x12
jmp 0x1000d02e
mov eax, dword [ebx]
mov dl, byte [eax + 0x4e]
cmp dl, 1
je 0x1000d0a9
call fcn.10025b34
mov edi, eax
test edi, edi
je 0x1000d0a9
mov ecx, dword [ebx]
mov edx, edi
mov dword [ecx + 0x40], edi
call fcn.1002610d
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
jne 0x1000d04a
cmp edi, 0xc0a
jne 0x1000d0a9
call fcn.1002425e
jmp 0x1000d0a9
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002610d
jmp 0x1000d0a9
mov ecx, dword [ebx]
mov edx, 0x15
mov dword [ecx + 0x40], 0x15
call fcn.1002610d
push dword [ebx + 0xc0]
push str.bind_on_a_busy_prepared_statement:___s_
push 0x15
call fcn.10025979
push 0x100995b4
push 0x14370
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10025979
add esp, 0x20
push ebx
call fcn.1003ec17
add esp, 4
cmp eax, 0x64
jne 0x1000d230
test ebx, ebx
je 0x1000d0e4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x1000d0d1
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x1000d0e9
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002610d
mov ecx, 0x1008d030
movzx eax, word [ecx + 8]
mov edx, eax
test al, 2
je 0x1000d0fe
cmp byte [ecx + 0xa], 1
jne 0x1000d0fe
mov eax, dword [ecx + 0xc]
jmp 0x1000d12e
test dl, 0x10
je 0x1000d119
mov edi, dword [ecx + 0xc]
test edx, 0x4000
je 0x1000d114
mov eax, dword [ecx]
add eax, edi
jmp 0x1000d12e
mov dword [ebp + 0xc], edi
jmp 0x1000d131
test dl, 1
je 0x1000d127
mov dword [ebp + 0xc], 0
jmp 0x1000d131
mov dl, 1
call fcn.1003ae57
mov dword [ebp + 0xc], eax
test ebx, ebx
je 0x1000d180
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x28]
cmp byte [ecx + 0x51], 0
jne 0x1000d14f
cmp edx, 0xc0a
je 0x1000d14f
mov eax, dword [ecx + 0x44]
and eax, edx
jmp 0x1000d154
call fcn.1002425e
mov dword [ebx + 0x28], eax
test ebx, ebx
je 0x1000d180
mov edi, dword [ebx + 0x78]
test edi, edi
je 0x1000d16d
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x1000d185
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002610d
mov edi, 0x1008d030
movzx eax, word [edi + 8]
mov ecx, eax
test al, 0x12
je 0x1000d1b6
test ecx, 0x4000
je 0x1000d1a6
mov ecx, edi
call fcn.10039fa8
test eax, eax
je 0x1000d1a6
xor edi, edi
jmp 0x1000d1e3
or word [edi + 8], 0x10
cmp dword [edi + 0xc], 0
je 0x1000d1d4
mov edi, dword [edi + 0x10]
jmp 0x1000d1e3
mov eax, ecx
and eax, 0x202
cmp eax, 0x202
jne 0x1000d1cf
cmp byte [edi + 0xa], 1
jne 0x1000d1cf
mov edi, dword [edi + 0x10]
jmp 0x1000d1e3
test cl, 1
je 0x1000d1d8
xor edi, edi
jmp 0x1000d1e3
mov dl, 1
mov ecx, edi
call fcn.1003aa17
mov edi, eax
test ebx, ebx
je 0x1000d209
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x28]
cmp byte [ecx + 0x51], 0
jne 0x1000d201
cmp edx, 0xc0a
je 0x1000d201
mov eax, dword [ecx + 0x44]
and eax, edx
jmp 0x1000d206
call fcn.1002425e
mov dword [ebx + 0x28], eax
test edi, edi
je 0x1000d230
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000d230
mov ecx, dword [ebp - 0x14]
push eax
call fcn.100038f0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x14]
push edi
push dword [eax + 4]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebx
call fcn.1003e4c1
mov ebx, dword [ebp - 0x14]
add esp, 4
mov edi, dword [ebp + 8]
push esi
mov dword [edi], ebx
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc