Function at 0x1000b8f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100879cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 0xd], 0
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 0x1000b92f
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10003f20
mov ecx, dword [edi]
test ecx, ecx
je 0x1000bbb1
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, str.SELECT_EXISTS_SELECT_1_FROM_art_WHERE_path___
call fcn.1006137f
mov ebx, dword [ebp - 0x14]
add esp, 0x14
test ebx, ebx
jne 0x1000b98f
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10025979
add esp, 8
push 0x100995b4
push 0x14368
jmp 0x1000bb25
cmp dword [ebx], 0
jne 0x1000b9aa
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10025979
add esp, 8
mov eax, 1
jmp 0x1000b9ac
xor eax, eax
test eax, eax
je 0x1000b9bf
push 0x100995b4
push 0x14368
jmp 0x1000bb25
cmp dword [ebx + 0x14], 0x2df20da3
jne 0x1000baf3
cmp dword [ebx + 0x24], 0
jge 0x1000baf3
mov eax, 1
cmp ax, word [ebx + 0x10]
jg 0x1000bade
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 0x1000ba21
test al, 1
je 0x1000ba21
mov eax, dword [ebx + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x98], eax
mov edx, dword [ebp + 8]
test edx, edx
je 0x1000bb39
mov ecx, dword [ebx + 0x64]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x1000ba41
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x14], eax
jmp 0x1000ba48
mov dword [ebp - 0x14], 0x3b9aca00
mov edi, edx
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
mov al, byte [edi]
inc edi
test al, al
jne 0x1000ba50
sub edi, dword [ebp - 0x18]
mov eax, 0x2400
and edi, 0x7fffffff
test word [ecx + 8], ax
jne 0x1000ba71
cmp dword [ecx + 0x18], 0
je 0x1000ba7c
call fcn.1003a15a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, 0xa02
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x24], 0
mov dword [ecx + 0xc], edi
mov word [ecx + 8], ax
mov byte [ecx + 0xa], 1
cmp edi, dword [ebp - 0x14]
jle 0x1000baa2
mov edi, 0x12
jmp 0x1000babb
mov eax, dword [ebx]
mov dl, byte [eax + 0x4e]
cmp dl, 1
je 0x1000bb39
call fcn.10025b34
mov edi, eax
test edi, edi
je 0x1000bb39
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 0x1000bad7
cmp edi, 0xc0a
jne 0x1000bb39
call fcn.1002425e
jmp 0x1000bb39
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002610d
jmp 0x1000bb39
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
add esp, 0xc
push 0x100995b4
push 0x14370
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10025979
add esp, 0x14
push ebx
call fcn.1003ec17
add esp, 4
cmp eax, 0x64
jne 0x1000bba8
test ebx, ebx
je 0x1000bb70
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x1000bb5d
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x1000bb75
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002610d
mov ecx, 0x1008d030
call fcn.1003a209
mov edi, eax
test ebx, ebx
je 0x1000bba2
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x28]
cmp byte [ecx + 0x51], 0
jne 0x1000bb9a
cmp edx, 0xc0a
je 0x1000bb9a
mov eax, dword [ecx + 0x44]
and eax, edx
jmp 0x1000bb9f
call fcn.1002425e
mov dword [ebx + 0x28], eax
test edi, edi
setne byte [ebp - 0xd]
push ebx
call fcn.1003e4c1
add esp, 4
push esi
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4