Function at 0x100083e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087895
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, ecx
mov byte [ebp - 0xd], 0
push esi
push edi
mov dword [ebp - 0x24], ebx
lea esi, [ebx + 8]
push esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10008422
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.10003f20
mov ecx, dword [ebx]
test ecx, ecx
je 0x10008b25
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], vtable.pfc::string8_t_class_pfc::alloc_standard_.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, str.SELECT_EXISTS_SELECT_1_FROM_tags_WHERE_path___
call fcn.1006137f
mov ebx, dword [ebp + 0xc]
add esp, 0x14
mov ecx, 1
test ebx, ebx
je 0x10008604
cmp ebx, 0xffffffff
je 0x10008604
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100084a0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.1001fec0
push ebx
lea eax, [ebp - 0x48]
push 0x10092410
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x38]
push 0xffffffffffffffff
push eax
call fcn.10020690
cmp dword [ebp - 0x2c], 0
jbe 0x100084e2
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
jmp 0x100084e9
mov dword [ebp - 0x14], 0x10091798
mov ebx, dword [ebp - 0x18]
test ebx, ebx
jne 0x1000850e
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10025979
add esp, 8
push 0x100995b4
push 0x14368
jmp 0x100087ba
cmp dword [ebx], 0
jne 0x10008529
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10025979
add esp, 8
mov eax, 1
jmp 0x1000852b
xor eax, eax
test eax, eax
je 0x1000853e
push 0x100995b4
push 0x14368
jmp 0x100087ba
cmp dword [ebx + 0x14], 0x2df20da3
jne 0x10008788
cmp dword [ebx + 0x24], 0
jge 0x10008788
mov eax, 1
cmp ax, word [ebx + 0x10]
jg 0x10008773
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 0x100085a0
test al, 1
je 0x100085a0
mov eax, dword [ebx + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x98], eax
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x100087ce
mov ecx, dword [ebx + 0x64]
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x100085c0
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x18], eax
jmp 0x100085c7
mov dword [ebp - 0x18], 0x3b9aca00
mov edi, edx
lea eax, [edi + 1]
mov dword [ebp - 0x1c], eax
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x100085d0
sub edi, dword [ebp - 0x1c]
mov eax, 0x2400
and edi, 0x7fffffff
test word [ecx + 8], ax
jne 0x100085f1
cmp dword [ecx + 0x18], 0
je 0x100085fc
call fcn.1003a15a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x10], edx
jmp 0x10008710
mov ebx, dword [ebp - 0x18]
test ebx, ebx
jne 0x10008629
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10025979
add esp, 8
push 0x100995b4
push 0x14368
jmp 0x100087ba
cmp dword [ebx], 0
jne 0x10008646
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10025979
mov eax, 1
add esp, 8
mov ecx, eax
jmp 0x10008648
xor eax, eax
test eax, eax
je 0x1000865b
push 0x100995b4
push 0x14368
jmp 0x100087ba
cmp dword [ebx + 0x14], 0x2df20da3
jne 0x10008788
cmp dword [ebx + 0x24], 0
jge 0x10008788
cmp cx, word [ebx + 0x10]
jg 0x10008773
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 0x100086b8
test al, 1
je 0x100086b8
mov eax, dword [ebx + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x98], eax
mov edi, dword [ebp + 8]
test edi, edi
je 0x100087ce
mov ecx, dword [ebx + 0x64]
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x100086d8
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x18], eax
jmp 0x100086df
mov dword [ebp - 0x18], 0x3b9aca00
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100086e2
sub edi, edx
mov eax, 0x2400
and edi, 0x7fffffff
test word [ecx + 8], ax
jne 0x10008702
cmp dword [ecx + 0x18], 0
je 0x1000870a
call fcn.1003a15a
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov eax, 0xa02
mov byte [ecx + 0xa], 1
mov word [ecx + 8], ax
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], 0
cmp edi, dword [ebp - 0x18]
jle 0x10008733
mov edi, 0x12
jmp 0x10008750
mov eax, dword [ebx]
mov dl, byte [eax + 0x4e]
cmp dl, 1
je 0x100087ce
call fcn.10025b34
mov edi, eax
test edi, edi
je 0x100087ce
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 0x1000876c
cmp edi, 0xc0a
jne 0x100087ce
call fcn.1002425e
jmp 0x100087ce
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002610d
jmp 0x100087ce
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 0x1000883d
test ebx, ebx
je 0x10008805
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100087f2
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x1000880a
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 0x10008837
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x28]
cmp byte [ecx + 0x51], 0
jne 0x1000882f
cmp edx, 0xc0a
je 0x1000882f
mov eax, dword [ecx + 0x44]
and eax, edx
jmp 0x10008834
call fcn.1002425e
mov dword [ebx + 0x28], eax
test edi, edi
setne byte [ebp - 0xd]
push ebx
call fcn.1003e4c1
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x10008b0a
cmp dword [ebp + 0xc], 0xffffffff
jne 0x10008b0a
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 0xc]
push 0
push eax
push 0
mov ecx, dword [ecx]
mov edx, str.SELECT_EXISTS_SELECT_1_FROM_tags_WHERE_path_LIKE____
push 0x80
push 0xffffffffffffffff
mov dword [ebp + 0xc], 0
call fcn.1006137f
mov ebx, dword [ebp + 8]
add esp, 0x14
mov ecx, ebx
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008890
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x38]
call fcn.1001fec0
push 0xffffffffffffffff
push 0x1009244c
lea ecx, [ebp - 0x38]
call fcn.10020690
cmp dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x34]
ja 0x100088c0
mov eax, 0x10091798
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
test ebx, ebx
jne 0x100088e8
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10025979
add esp, 8
push 0x100995b4
push 0x14368
jmp 0x10008a7e
cmp dword [ebx], 0
jne 0x10008903
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10025979
add esp, 8
mov eax, 1
jmp 0x10008905
xor eax, eax
test eax, eax
je 0x10008918
push 0x100995b4
push 0x14368
jmp 0x10008a7e
cmp dword [ebx + 0x14], 0x2df20da3
jne 0x10008a4c
cmp dword [ebx + 0x24], 0
jge 0x10008a4c
mov eax, 1
cmp ax, word [ebx + 0x10]
jg 0x10008a37
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 0x1000897a
test al, 1
je 0x1000897a
mov eax, dword [ebx + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x98], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10008a92
mov ecx, dword [ebx + 0x64]
mov dword [ebp - 0x24], ecx
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x1000899a
mov edx, dword [edx + 0x6c]
mov dword [ebp + 0xc], edx
jmp 0x100089a1
mov dword [ebp + 0xc], 0x3b9aca00
mov edi, eax
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100089a6
sub edi, edx
mov eax, 0x2400
and edi, 0x7fffffff
test word [ecx + 8], ax
jne 0x100089c6
cmp dword [ecx + 0x18], 0
je 0x100089ce
call fcn.1003a15a
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
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 + 0xc]
jle 0x100089f7
mov edi, 0x12
jmp 0x10008a14
mov eax, dword [ebx]
mov dl, byte [eax + 0x4e]
cmp dl, 1
je 0x10008a92
call fcn.10025b34
mov edi, eax
test edi, edi
je 0x10008a92
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 0x10008a30
cmp edi, 0xc0a
jne 0x10008a92
call fcn.1002425e
jmp 0x10008a92
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002610d
jmp 0x10008a92
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 0x10008b01
test ebx, ebx
je 0x10008ac9
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x10008ab6
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x10008ace
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 0x10008afb
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x28]
cmp byte [ecx + 0x51], 0
jne 0x10008af3
cmp edx, 0xc0a
je 0x10008af3
mov eax, dword [ecx + 0x44]
and eax, edx
jmp 0x10008af8
call fcn.1002425e
mov dword [ebx + 0x28], eax
test edi, edi
setne byte [ebp - 0xd]
push ebx
call fcn.1003e4c1
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
jbe 0x10008b25
push 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], 0
call fcn.100205d0
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 8