Function at 0x10048600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push ebx
mov ebx, dword [esp + 0x78]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, eax
mov eax, ebx
mov dword [esp + 0x14], esi
call fcn.10017ea0
mov ebp, eax
test ebp, ebp
je 0x1004acc9
call fcn.10007930
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x90]
push ebx
lea ecx, [esp + 0x58]
mov dword [ebx + 0x48], 2
call fcn.10020840
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jl 0x1004acc9
mov edx, dword [esi + 0x10]
mov ecx, eax
shl ecx, 4
add edx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], edx
cmp eax, 1
jne 0x1004867e
mov eax, ebx
call fcn.1003d170
test eax, eax
jne 0x1004acc9
mov eax, dword [esp + 0x50]
push esi
call fcn.10013550
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x1004acc9
cmp dword [esp + 0x90], 0
je 0x100486b7
push edi
push 0x10062fe4
call fcn.1001d320
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
jmp 0x100486c8
push esi
mov eax, edi
call fcn.10013550
add esp, 4
mov edi, eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x8c]
cmp dword [ecx + 4], 0
jbe 0x100486e1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jmp 0x100486e9
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edi
push edx
push 0x13
mov eax, ebx
call fcn.10020620
add esp, 0x10
test eax, eax
jne 0x1004acaf
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esi + 0x1c4], eax
mov eax, dword [esp + 0x24]
push 0xe
push eax
push esi
call sym.idmindex.dll_sqlite3_file_control
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1004879f
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1004acaf
inc dword [ebx + 0x48]
mov ebx, dword [ebx + 0x48]
push esi
push eax
push esi
push 0x61
push ebp
xor eax, eax
mov ecx, ebx
call fcn.10015ec0
push 1
mov esi, ebp
call fcn.10015fd0
push 0
push str.result
push 0
push 0
mov ecx, ebp
call fcn.10019570
push 0x21
mov eax, 1
mov ecx, ebx
call fcn.10011470
mov ecx, dword [esp + 0x9c]
push ecx
call sym.idmindex.dll_sqlite3_free
add esp, 0x30
jmp 0x1004acaf
cmp esi, 0xc
je 0x100487d1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x100487c6
push eax
push 0x1006026c
mov edi, ebx
call fcn.1001d580
mov edx, dword [esp + 0x78]
push edx
call sym.idmindex.dll_sqlite3_free
add esp, 0xc
inc dword [ebx + 0x40]
mov dword [ebx + 0xc], esi
jmp 0x1004acaf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x24]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea edx, [esi + esi*2]
mov eax, dword [edx*4 + 0x1005d530]
push eax
push ecx
call sym.idmindex.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x1004882b
jge 0x10048817
dec esi
mov dword [esp + 0x30], esi
jmp 0x1004881c
inc esi
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x2c], edx
jle 0x100487e1
jmp 0x1004acaf
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x2c], eax
jg 0x1004acaf
lea edx, [esi + esi*2]
test byte [edx*4 + 0x1005d535], 1
lea edx, [edx*4 + 0x1005d530]
mov dword [esp + 0x28], edx
je 0x10048864
mov esi, ebx
call fcn.1000b050
test eax, eax
jne 0x1004acaf
mov edx, dword [esp + 0x28]
movzx edx, byte [edx + 4]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cmp edx, 0x23
ja case.0x1004887d.3
jmp dword [edx*4 + 0x1004acd4]
mov ecx, dword [esp + 0x10]
mov edx, ebp
call fcn.10007a30
test edi, edi
jne 0x100488ec
push 1
mov esi, ebp
call fcn.10015fd0
push edi
push str.cache_size
push edi
push edi
mov ecx, ebp
call fcn.10019570
add dword [ebx + 0x48], 2
push 0x1005d840
push 9
push ebp
call fcn.100114e0
mov edi, dword [esp + 0x30]
push edi
mov ecx, ebp
mov esi, eax
call fcn.10007950
push edi
lea eax, [esi + 1]
mov ecx, ebp
call fcn.10007950
push 0x7d0
lea eax, [esi + 6]
mov ecx, ebp
call fcn.10007950
add esp, 0x2c
jmp 0x1004acaf
mov ecx, dword [esp + 0x18]
call fcn.1000eb50
call fcn.10003070
mov edi, dword [esp + 0x10]
mov esi, eax
push 0
mov edx, ebx
mov dword [esp + 0x54], esi
call fcn.1003d2a0
mov ecx, esi
push 0x17
mov eax, 1
mov esi, ebp
call fcn.10011470
push 1
push 3
mov ecx, edi
push ecx
push 0x34
call fcn.100113f0
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x68]
mov dword [edx + 0x50], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [edx + 0x50]
mov esi, dword [eax + 4]
push ecx
call fcn.10010ce0
add esp, 0x1c
jmp 0x1004acaf
mov ebp, dword [eax + 4]
test edi, edi
jne 0x1004897e
test ebp, ebp
je 0x1004896f
mov eax, ebp
call fcn.10006e10
cdq
push edx
push eax
push str.page_size
jmp 0x1004aca5
xor eax, eax
cdq
push edx
push eax
push str.page_size
jmp 0x1004aca5
mov ecx, edi
call fcn.1000eb50
push 0
push 0xffffffffffffffff
push eax
push ebp
mov dword [esi + 0x48], eax
call fcn.10010d90
add esp, 0x10
cmp eax, 7
jne 0x1004acaf
mov byte [esi + 0x41], 1
jmp 0x1004acaf
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], 0xffffffff
test edi, edi
je 0x100489cb
xor al, al
mov ecx, edi
call fcn.10014100
movzx eax, al
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x8c]
cmp dword [ecx + 4], 0
jne 0x10048a11
cmp dword [esp + 0x30], 0
jl 0x10048a11
xor edi, edi
cmp dword [esi + 0x14], edi
jle 0x10048a11
xor ebp, ebp
jmp 0x100489f0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x10]
mov eax, dword [esp + 0x30]
mov esi, dword [ecx + ebp + 4]
call fcn.10010e70
mov edx, dword [esp + 0x14]
inc edi
add ebp, 0x10
cmp edi, dword [edx + 0x14]
jl 0x100489f0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
call fcn.10010e70
cdq
push edx
push eax
push str.secure_delete
jmp 0x1004aca5
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.1003d200
inc dword [ebx + 0x48]
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax]
cmp byte [ecx + 0x1005c828], 0x70
mov ebx, dword [ebx + 0x48]
jne 0x10048a63
mov ecx, dword [esp + 0x10]
push 0x9c
mov eax, ebx
mov esi, ebp
call fcn.10011470
add esp, 4
jmp 0x10048a85
mov ecx, edi
call fcn.1000eb50
call fcn.10003070
mov edx, dword [esp + 0x10]
push eax
push ebx
push edx
push 0x9d
mov esi, ebp
call fcn.100113f0
add esp, 0x10
push 0x21
mov eax, 1
mov ecx, ebx
mov esi, ebp
call fcn.10011470
push 1
call fcn.10015fd0
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
push eax
push 0
push 0
mov ecx, ebp
call fcn.10019570
add esp, 0x18
jmp 0x1004acaf
mov ebx, str.normal
mov esi, edi
mov dword [esp + 0x50], ebx
call fcn.1000af60
mov ecx, dword [esp + 0x8c]
mov edx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x10048b23
cmp edx, 0xffffffff
jne 0x10048ae5
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + 0x42]
jmp 0x10048b36
test eax, eax
jne 0x10048b23
mov ebx, dword [esp + 0x14]
mov esi, 2
cmp dword [ebx + 0x14], esi
jle 0x10048b1c
mov edi, 0x20
lea esp, [esp]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi + 4]
call fcn.10007030
mov ecx, eax
call fcn.100105b0
inc esi
add edi, 0x10
cmp esi, dword [ebx + 0x14]
jl 0x10048b00
mov byte [ebx + 0x42], dl
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
call fcn.10007030
mov ecx, eax
call fcn.100105b0
cmp eax, 1
jne 0x10048b40
mov ebx, str.exclusive
push 1
mov esi, ebp
call fcn.10015fd0
push 0
push str.locking_mode
push 0
push 0
mov ecx, ebp
call fcn.10019570
push 0
push ebx
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 1]
call fcn.10015ec0
mov eax, 1
push 0x21
mov ecx, eax
call fcn.10011470
add esp, 0x2c
jmp 0x1004acaf
push 1
mov esi, ebp
call fcn.10015fd0
push 0
push str.journal_mode
push 0
push 0
mov ecx, ebp
call fcn.10019570
add esp, 0x14
test edi, edi
jne 0x10048baf
mov dword [esp + 0x30], 0xffffffff
jmp 0x10048c12
mov eax, edi
call fcn.10002170
mov dword [esp + 0x50], eax
xor eax, eax
xor ebx, ebx
call fcn.1000b040
mov esi, eax
test esi, esi
je 0x10048c03
lea esp, [esp]
mov edx, dword [esp + 0x50]
push edx
push esi
push edi
call sym.idmindex.dll_sqlite3_strnicmp
add esp, 0xc
test eax, eax
je 0x10048bfb
inc ebx
mov eax, ebx
call fcn.1000b040
mov esi, eax
test esi, esi
jne 0x10048bd0
mov dword [esp + 0x30], 0xffffffff
jmp 0x10048c12
mov dword [esp + 0x30], ebx
test esi, esi
jne 0x10048c0d
mov dword [esp + 0x30], 0xffffffff
jmp 0x10048c12
cmp ebx, 0xffffffff
jne 0x10048c2e
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 0
jne 0x10048c2e
mov dword [esp + 0x10], 0
mov dword [eax + 4], 1
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x10048c86
mov ebx, edi
shl ebx, 4
nop
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
cmp dword [edx + ebx + 4], 0
je 0x10048c7e
cmp edi, dword [esp + 0x10]
je 0x10048c61
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 0
jne 0x10048c7e
mov ecx, edi
mov edx, ebp
call fcn.10007a30
mov ecx, dword [esp + 0x30]
push ecx
push 1
push edi
push 0xa
mov esi, ebp
call fcn.100113f0
add esp, 0x10
dec edi
sub ebx, 0x10
test edi, edi
jge 0x10048c40
mov eax, 1
push 0x21
mov ecx, eax
mov esi, ebp
call fcn.10011470
add esp, 4
jmp 0x1004acaf
mov eax, dword [eax + 4]
call fcn.10007030
mov esi, eax
or ecx, 0xffffffff
mov eax, 0xfffffffe
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
test edi, edi
je 0x10048cec
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x64]
push edx
call fcn.1000e8f0
mov ecx, dword [esp + 0x6c]
add esp, 4
cmp ecx, 0xffffffff
jg 0x10048ce8
jl 0x10048ce1
mov eax, dword [esp + 0x64]
cmp eax, 0xffffffff
jae 0x10048cec
or eax, 0xffffffff
or ecx, eax
jmp 0x10048cec
mov eax, dword [esp + 0x64]
push ecx
push eax
call fcn.100105e0
push edx
push eax
push str.journal_size_limit
mov eax, ebx
call fcn.1001b0c0
add esp, 0x14
jmp 0x1004acaf
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
test edi, edi
jne 0x10048d28
mov edi, eax
call fcn.10010f20
cdq
push edx
push eax
push str.auto_vacuum
jmp 0x1004aca5
mov esi, dword [esp + 0x18]
call fcn.10014120
mov edi, dword [esp + 0x50]
mov ebx, eax
mov eax, dword [esp + 0x14]
push ebx
mov byte [eax + 0x43], bl
call fcn.10010ec0
add esp, 4
test eax, eax
jne 0x1004acaf
cmp ebx, 1
je 0x10048d5d
cmp ebx, 2
jne 0x1004acaf
push 0x1005d868
push 6
push ebp
call fcn.100114e0
mov edi, dword [esp + 0x1c]
push edi
mov ecx, ebp
mov esi, eax
call fcn.10007950
push edi
lea eax, [esi + 1]
mov ecx, ebp
call fcn.10007950
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
mov ecx, ebp
call fcn.10007970
dec ebx
push ebx
lea eax, [esi + 4]
mov ecx, ebp
call fcn.10007950
push edi
lea eax, [esi + 5]
mov ecx, ebp
call fcn.10007950
add esp, 0x20
mov ecx, edi
mov edx, ebp
call fcn.10007a30
jmp 0x1004acaf
test edi, edi
je 0x10048dd7
lea ecx, [esp + 0x50]
push ecx
push edi
call fcn.1000e9e0
add esp, 8
test eax, eax
je 0x10048dd7
mov esi, dword [esp + 0x50]
test esi, esi
jg 0x10048ddc
mov esi, 0x7fffffff
mov edi, dword [esp + 0x10]
push 0
mov edx, ebx
call fcn.1003d2a0
mov ecx, esi
push 0x17
mov eax, 1
mov esi, ebp
call fcn.10011470
mov eax, edi
mov ecx, 0x92
call fcn.10011460
mov edi, eax
mov eax, 1
lea ecx, [eax + 0x20]
call fcn.10011460
or eax, 0xffffffff
push 0x25
lea ecx, [eax + 2]
call fcn.10011470
push 0x8a
mov eax, edi
mov ecx, 1
call fcn.10011470
push edi
call fcn.100079d0
add esp, 0x14
jmp 0x1004acaf
test edi, edi
jne 0x10048e6a
mov esi, ebx
call fcn.1000b050
test eax, eax
jne 0x1004acaf
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
push str.cache_size
jmp 0x1004aca5
mov ecx, edi
call fcn.1000eb50
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0xc]
mov dword [edx + 0x50], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x50]
mov esi, dword [ecx + 4]
push edx
call fcn.10010ce0
add esp, 4
mov esi, ebx
call fcn.1000b050
jmp 0x1004acaf
test edi, edi
je 0x10048f3c
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x64]
push eax
call fcn.1000e8f0
mov ecx, dword [esp + 0x6c]
add esp, 4
test ecx, ecx
jg 0x10048ed7
jl 0x10048ec3
cmp dword [esp + 0x64], 0
jae 0x10048ed7
mov ecx, dword [0x100660b0]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x100660b4]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x8c]
cmp dword [edx + 4], 0
mov eax, dword [esp + 0x14]
jne 0x10048ef2
mov edx, dword [esp + 0x64]
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x10048f3c
mov ebp, edi
shl ebp, 4
nop
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov esi, dword [edx + ebp + 4]
test esi, esi
je 0x10048f34
cmp edi, dword [esp + 0x10]
je 0x10048f22
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 0
jne 0x10048f34
push ecx
mov ecx, dword [esp + 0x68]
push ecx
call fcn.10010d10
mov ecx, dword [esp + 0x70]
add esp, 8
dec edi
sub ebp, 0x10
test edi, edi
jge 0x10048f00
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
push 0x12
push eax
push ecx
call sym.idmindex.dll_sqlite3_file_control
add esp, 0x10
test eax, eax
jne 0x10048f78
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
push edx
push eax
push str.mmap_size
jmp 0x1004aca5
cmp eax, 0xc
je 0x1004acaf
inc dword [ebx + 0x40]
mov dword [ebx + 0xc], eax
jmp 0x1004acaf
test edi, edi
jne 0x10048fa1
movzx eax, byte [esi + 0x40]
cdq
push edx
push eax
push str.temp_store
jmp 0x1004aca5
mov eax, dword [esp + 0x18]
mov edi, ebx
call fcn.100485d0
jmp 0x1004acaf
test edi, edi
jne 0x10048fe6
cmp dword [0x10067808], edi
je 0x1004acaf
push 1
mov esi, ebp
call fcn.10015fd0
push edi
push str.temp_store_directory
push edi
push edi
mov ecx, ebp
call fcn.10019570
mov ecx, dword [0x10067808]
push edi
push ecx
jmp 0x10048b5e
cmp byte [edi], 0
je 0x1004901a
mov eax, dword [esi]
push 1
push edi
lea ecx, [esp + 0x58]
call fcn.10001960
add esp, 8
test eax, eax
jne 0x10049006
cmp dword [esp + 0x50], eax
jne 0x1004901a
push str.not_a_writable_directory
mov edi, ebx
call fcn.1001d580
add esp, 4
jmp 0x1004acaf
cmp byte [esi + 0x40], 1
ja 0x10049027
mov eax, ebx
call fcn.10048570
mov edx, dword [0x10067808]
push edx
call sym.idmindex.dll_sqlite3_free
add esp, 4
cmp byte [edi], 0
je 0x10049053
push edi
push 0x1006026c
call sym.idmindex.dll_sqlite3_mprintf
add esp, 8
mov dword [0x10067808], eax
jmp 0x1004acaf
mov dword [0x10067808], 0
jmp 0x1004acaf
test edi, edi
jne 0x10049096
cmp dword [0x1006780c], edi
je 0x1004acaf
push 1
mov esi, ebp
call fcn.10015fd0
push edi
push str.data_store_directory
push edi
push edi
mov ecx, ebp
call fcn.10019570
mov eax, dword [0x1006780c]
push edi
push eax
jmp 0x10048b5e
cmp byte [edi], 0
je 0x100490be
mov eax, dword [esi]
push 1
push edi
lea ecx, [esp + 0x58]
call fcn.10001960
add esp, 8
test eax, eax
jne 0x10049006
cmp dword [esp + 0x50], eax
je 0x10049006
mov ecx, dword [0x1006780c]
push ecx
call sym.idmindex.dll_sqlite3_free
add esp, 4
cmp byte [edi], 0
je 0x100490ea
push edi
push 0x1006026c
call sym.idmindex.dll_sqlite3_mprintf
add esp, 8
mov dword [0x1006780c], eax
jmp 0x1004acaf
mov dword [0x1006780c], 0
jmp 0x1004acaf
test edi, edi
jne 0x10049113
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx + 8]
dec eax
cdq
push edx
push eax
push str.synchronous
jmp 0x1004aca5
cmp byte [esi + 0x3f], 0
jne 0x1004912d
push str.Safety_level_may_not_be_changed_inside_a_transaction
mov edi, ebx
call fcn.1001d580
add esp, 4
jmp 0x1004acaf
push 1
push 0
push edi
call fcn.10014080
add esp, 0xc
inc eax
and eax, 3
jne 0x10049145
mov eax, 1
mov ecx, dword [esp + 0x1c]
push esi
mov byte [ecx + 8], al
call fcn.10014180
add esp, 4
jmp 0x1004acaf
test edi, edi
jne 0x10049179
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
and eax, dword [esi + 0x18]
neg eax
sbb eax, eax
neg eax
cdq
push edx
mov edx, dword [ecx]
push eax
push edx
jmp 0x1004aca5
cmp byte [esi + 0x3f], 0
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + 8]
jne 0x1004918c
and ebx, 0xfff7ffff
xor al, al
mov ecx, edi
call fcn.10014100
test al, al
je 0x1004919e
or dword [esi + 0x18], ebx
jmp 0x100491bb
mov ecx, ebx
not ecx
and dword [esi + 0x18], ecx
cmp ebx, 0x1000000
jne 0x100491bb
xor eax, eax
mov dword [esi + 0x200], eax
mov dword [esi + 0x204], eax
push 0x93
xor eax, eax
xor ecx, ecx
mov esi, ebp
call fcn.10011470
mov edx, dword [esp + 0x18]
push edx
call fcn.10014180
add esp, 8
jmp 0x1004acaf
test edi, edi
je 0x1004acaf
push ecx
push edi
push esi
call fcn.10009f50
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1004acaf
mov dword [esp + 0x40], 0
call fcn.1000a180
push 6
mov esi, ebp
mov dword [esp + 0x54], eax
call fcn.10015fd0
mov ecx, dword [esp + 0x14]
mov edx, ebx
mov dword [ebx + 0x48], 6
call fcn.1003d200
push 0
push 0x10062f84
push 0
push 0
mov ecx, ebp
call fcn.10019570
push 0
push str.name
push 0
push 1
mov ecx, ebp
call fcn.10019570
push 0
push str.type
push 0
push 2
mov ecx, ebp
call fcn.10019570
push 0
push str.notnull
push 0
push 3
mov ecx, ebp
call fcn.10019570
add esp, 0x44
push 0
push str.dflt_value
push 0
push 4
mov ecx, ebp
call fcn.10019570
push 0
push 0x10062f5c
push 0
push 5
mov ecx, ebp
call fcn.10019570
push edi
mov eax, ebx
call fcn.10031a40
mov ebx, dword [edi + 4]
xor eax, eax
add esp, 0x24
cmp ax, word [edi + 0x22]
mov dword [esp + 0x30], 0
jge 0x1004acaf
test byte [ebx + 0x17], 2
je 0x100492c6
inc dword [esp + 0x40]
jmp 0x100493b1
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x40]
push 0x17
mov eax, 1
mov esi, ebp
call fcn.10011470
mov ecx, dword [ebx]
push 0
push ecx
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 2]
call fcn.10015ec0
mov eax, dword [ebx + 0xc]
add esp, 0x18
test eax, eax
jne 0x100492ff
mov eax, 0x1005bafa
push 0
push eax
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 3]
call fcn.10015ec0
xor ecx, ecx
cmp byte [ebx + 0x14], cl
push 0x17
setne cl
mov eax, 4
call fcn.10011470
mov eax, dword [ebx + 8]
add esp, 0x18
test eax, eax
je 0x10049346
push 0
push eax
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 5]
call fcn.10015ec0
add esp, 0x14
jmp 0x10049357
push 0x1a
mov eax, 5
xor ecx, ecx
call fcn.10011470
add esp, 4
test byte [ebx + 0x17], 1
jne 0x10049361
xor ecx, ecx
jmp 0x10049391
mov eax, dword [esp + 0x50]
mov ecx, 1
test eax, eax
je 0x10049391
movsx edx, word [edi + 0x22]
cmp edx, ecx
jl 0x10049391
mov eax, dword [eax + 4]
lea esp, [esp]
movsx esi, word [eax]
cmp esi, dword [esp + 0x30]
je 0x10049391
inc ecx
add eax, 2
cmp ecx, edx
jle 0x10049380
push 0x17
mov eax, 6
mov esi, ebp
call fcn.10011470
mov eax, 6
push 0x21
lea ecx, [eax - 5]
call fcn.10011470
add esp, 8
mov eax, dword [esp + 0x30]
movsx edx, word [edi + 0x22]
inc eax
add ebx, 0x18
cmp eax, edx
mov dword [esp + 0x30], eax
jl 0x100492b7
jmp 0x1004acaf
mov eax, ebx
call fcn.10017ea0
mov esi, eax
push 4
call fcn.10015fd0
mov ecx, dword [esp + 0x14]
mov edx, ebx
mov dword [ebx + 0x48], 4
call fcn.1003d200
push 0
push str.table
push 0
push 0
mov ecx, esi
call fcn.10019570
push 0
push str.index
push 0
push 1
mov ecx, esi
call fcn.10019570
push 0
push str.width
push 0
push 2
mov ecx, esi
call fcn.10019570
push 0
push str.height
push 0
push 3
mov ecx, esi
call fcn.10019570
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0xc]
mov ebx, dword [ecx + 0x10]
add esp, 0x44
test ebx, ebx
je 0x1004acaf
lea ecx, [ecx]
mov edi, dword [ebx + 8]
mov edx, dword [edi]
push 0
push edx
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 1]
call fcn.10015ec0
push 0x1a
mov eax, 2
xor ecx, ecx
call fcn.10011470
mov ax, word [edi + 0x28]
call fcn.100031d0
mov ecx, eax
push 0x17
mov eax, 3
call fcn.10011470
mov ax, word [edi + 0x26]
call fcn.100031d0
mov ecx, eax
push 0x17
mov eax, 4
call fcn.10011470
mov eax, 4
push 0x21
lea ecx, [eax - 3]
call fcn.10011470
mov edi, dword [edi + 8]
add esp, 0x24
test edi, edi
je 0x1004951d
lea esp, [esp]
mov eax, dword [edi]
push 0
push eax
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 2]
call fcn.10015ec0
mov ax, word [edi + 0x2c]
call fcn.100031d0
mov ecx, eax
push 0x17
mov eax, 3
call fcn.10011470
mov ecx, dword [edi + 8]
mov ax, word [ecx]
call fcn.100031d0
mov ecx, eax
push 0x17
mov eax, 4
call fcn.10011470
mov eax, 4
push 0x21
lea ecx, [eax - 3]
call fcn.10011470
mov edi, dword [edi + 0x14]
add esp, 0x20
test edi, edi
jne 0x100494c0
mov ebx, dword [ebx]
test ebx, ebx
jne 0x10049450
jmp 0x1004acaf
test edi, edi
je 0x1004acaf
push ecx
push edi
mov eax, esi
call fcn.10009fc0
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x1004acaf
mov edx, dword [esp + 0x28]
cmp dword [edx + 8], 0
je 0x10049567
movzx eax, word [eax + 0x30]
mov dword [esp + 0x40], eax
mov dword [ebx + 0x48], 6
jmp 0x10049576
movzx ecx, word [eax + 0x2e]
mov dword [esp + 0x40], ecx
mov dword [ebx + 0x48], 3
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 0x48]
mov eax, dword [edx + 0xc]
push ecx
mov esi, ebp
mov dword [esp + 0x50], eax
call fcn.10015fd0
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.1003d200
push 0
push str.seqno
push 0
push 0
mov ecx, ebp
call fcn.10019570
push 0
push 0x10062f84
push 0
push 1
mov ecx, ebp
call fcn.10019570
push 0
push str.name
push 0
push 2
mov ecx, ebp
call fcn.10019570
mov edx, dword [esp + 0x5c]
add esp, 0x34
cmp dword [edx + 8], 0
je 0x10049613
push 0
push str.desc
push 0
push 3
mov ecx, ebp
call fcn.10019570
push 0
push str.coll
push 0
push 4
mov ecx, ebp
call fcn.10019570
push 0
push 0x10062f30
push 0
push 5
mov ecx, ebp
call fcn.10019570
add esp, 0x30
xor edi, edi
cmp dword [esp + 0x40], edi
jle 0x1004acaf
nop
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + edi*2]
push 0x17
mov eax, 1
mov ecx, edi
mov esi, ebp
mov dword [esp + 0x48], edx
call fcn.10011470
movsx ecx, word [esp + 0x48]
push 0x17
mov eax, 2
mov dword [esp + 0x58], ecx
call fcn.10011470
add esp, 8
cmp word [esp + 0x44], 0
jge 0x10049672
push 0x1a
mov eax, 3
xor ecx, ecx
call fcn.10011470
add esp, 4
jmp 0x10049698
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push 0
push eax
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 3]
call fcn.10015ec0
add esp, 0x14
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 8], 0
je 0x100496f3
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x1c]
movzx ecx, byte [eax + edi]
push 0x17
mov eax, 4
mov esi, ebp
call fcn.10011470
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + edi*4]
push 0
push edx
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 5]
call fcn.10015ec0
movzx eax, word [esi + 0x2e]
xor ecx, ecx
cmp edi, eax
setl cl
push 0x17
mov eax, 6
mov esi, ebp
call fcn.10011470
add esp, 0x1c
mov eax, dword [ebx + 0x48]
push 0x21
mov ecx, 1
mov esi, ebp
call fcn.10011470
inc edi
add esp, 4
cmp edi, dword [esp + 0x40]
jl 0x10049620
jmp 0x1004acaf
test edi, edi
je 0x1004acaf
push ecx
push edi
push esi
call fcn.10009f50
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1004acaf
mov eax, ebx
call fcn.10017ea0
mov esi, eax
push 5
call fcn.10015fd0
mov ecx, dword [esp + 0x14]
mov edx, ebx
mov dword [ebx + 0x48], 5
call fcn.1003d200
push 0
push 0x10062f2c
push 0
push 0
mov ecx, esi
call fcn.10019570
push 0
push str.name
push 0
push 1
mov ecx, esi
call fcn.10019570
push 0
push str.unique
push 0
push 2
mov ecx, esi
call fcn.10019570
push 0
push str.origin
push 0
push 3
mov ecx, esi
call fcn.10019570
add esp, 0x44
push 0
push str.partial
push 0
push 4
mov ecx, esi
call fcn.10019570
mov ebx, dword [edi + 8]
add esp, 0x10
xor edi, edi
test ebx, ebx
je 0x1004acaf
mov dword [esp + 0x64], 0x10062f10
mov dword [esp + 0x68], 0x10062f0c
mov dword [esp + 0x6c], 0x10062f5c
jmp 0x100497e0
push 0x17
mov eax, 1
mov ecx, edi
call fcn.10011470
mov ecx, dword [ebx]
push 0
push ecx
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 2]
call fcn.10015ec0
xor ecx, ecx
cmp byte [ebx + 0x32], cl
push 0x17
setne cl
mov eax, 3
call fcn.10011470
mov edx, dword [ebx + 0x34]
push 0
and edx, 3
mov eax, dword [esp + edx*4 + 0x84]
push eax
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 4]
call fcn.10015ec0
xor ecx, ecx
cmp dword [ebx + 0x24], ecx
push 0x17
setne cl
mov eax, 5
call fcn.10011470
mov eax, 5
push 0x21
lea ecx, [eax - 4]
call fcn.10011470
mov ebx, dword [ebx + 0x14]
add esp, 0x38
inc edi
test ebx, ebx
jne 0x100497e0
jmp 0x1004acaf
push 3
mov esi, ebp
call fcn.10015fd0
push 0
push 0x10062f2c
push 0
push 0
mov ecx, ebp
mov dword [ebx + 0x48], 3
call fcn.10019570
push 0
push str.name
push 0
push 1
mov ecx, ebp
call fcn.10019570
push 0
push str.file
push 0
push 2
mov ecx, ebp
call fcn.10019570
mov ebx, dword [esp + 0x48]
add esp, 0x34
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x40], 0
jle 0x1004acaf
xor edi, edi
lea ecx, [ecx]
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + edi + 4], 0
je 0x10049937
mov ecx, dword [esp + 0x40]
push 0x17
mov eax, 1
mov esi, ebp
call fcn.10011470
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + edi]
push 0
push eax
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 2]
call fcn.10015ec0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + edi + 4]
add esp, 0x18
push 0
call fcn.10007110
push eax
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 3]
call fcn.10015ec0
mov eax, 3
push 0x21
lea ecx, [eax - 2]
call fcn.10011470
add esp, 0x18
mov eax, dword [esp + 0x40]
inc eax
add edi, 0x10
cmp eax, dword [ebx + 0x14]
mov dword [esp + 0x40], eax
jl 0x100498d0
jmp 0x1004acaf
push 2
mov esi, ebp
xor edi, edi
call fcn.10015fd0
push edi
push 0x10062f2c
push edi
push edi
mov ecx, ebp
mov dword [ebx + 0x48], 2
call fcn.10019570
push edi
push str.name
push edi
push 1
mov ecx, ebp
call fcn.10019570
mov edx, dword [esp + 0x38]
mov ebx, dword [edx + 0x1b4]
add esp, 0x24
test ebx, ebx
je 0x1004acaf
mov eax, dword [ebx + 8]
mov dword [esp + 0x50], eax
push 0x17
mov eax, 1
mov ecx, edi
mov esi, ebp
call fcn.10011470
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
push 0
push edx
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 2]
inc edi
call fcn.10015ec0
mov eax, 2
push 0x21
lea ecx, [eax - 1]
call fcn.10011470
mov ebx, dword [ebx]
add esp, 0x1c
test ebx, ebx
jne 0x10049993
jmp 0x1004acaf
test edi, edi
je 0x1004acaf
push ecx
push edi
push esi
call fcn.10009f50
mov edi, eax
add esp, 0xc
mov dword [esp + 0x50], edi
test edi, edi
je 0x1004acaf
mov eax, ebx
call fcn.10017ea0
mov ebp, dword [edi + 0x10]
mov esi, eax
test ebp, ebp
je 0x1004acaf
push 8
mov dword [esp + 0x44], 0
call fcn.10015fd0
mov ecx, dword [esp + 0x14]
mov edx, ebx
mov dword [ebx + 0x48], 8
call fcn.1003d200
push 0
push 0x10062f08
push 0
push 0
mov ecx, esi
call fcn.10019570
push 0
push 0x10062f2c
push 0
push 1
mov ecx, esi
call fcn.10019570
push 0
push str.table
push 0
push 2
mov ecx, esi
call fcn.10019570
push 0
push str.from
push 0
push 3
mov ecx, esi
call fcn.10019570
add esp, 0x44
push 0
push 0x10062f04
push 0
push 4
mov ecx, esi
call fcn.10019570
push 0
push str.on_update
push 0
push 5
mov ecx, esi
call fcn.10019570
push 0
push str.on_delete
push 0
push 6
mov ecx, esi
call fcn.10019570
push 0
push str.match
push 0
push 7
mov ecx, esi
call fcn.10019570
add esp, 0x40
lea esp, [esp]
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
jle 0x10049bdd
lea eax, [ebp + 0x24]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov al, byte [ebp + 0x19]
mov edi, dword [ecx + 4]
call fcn.1000b000
mov dword [esp + 0x48], eax
mov al, byte [ebp + 0x1a]
call fcn.1000b000
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
push 0x17
mov eax, 1
call fcn.10011470
push 0x17
mov eax, 2
mov ecx, ebx
call fcn.10011470
mov edx, dword [ebp + 8]
push 0
push edx
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 3]
call fcn.10015ec0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov edx, dword [esp + 0x6c]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx*8]
push 0
push ecx
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 4]
call fcn.10015ec0
push 0
push edi
neg edi
sbb edi, edi
and edi, 0x47
push 0
add edi, 0x1a
xor eax, eax
push edi
push esi
lea ecx, [eax + 5]
call fcn.10015ec0
mov edx, dword [esp + 0x90]
add esp, 0x44
push 0
push edx
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 6]
call fcn.10015ec0
mov eax, dword [esp + 0x5c]
push 0
push eax
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 7]
call fcn.10015ec0
push 0
push str.NONE
push 0
xor eax, eax
push 0x61
push esi
lea ecx, [eax + 8]
call fcn.10015ec0
mov eax, 8
push 0x21
lea ecx, [eax - 7]
call fcn.10011470
add dword [esp + 0x70], 8
inc ebx
add esp, 0x40
cmp ebx, dword [ebp + 0x14]
jl 0x10049ae2
mov ebp, dword [ebp + 4]
inc dword [esp + 0x40]
test ebp, ebp
jne 0x10049ad0
jmp 0x1004acaf
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x30], eax
inc eax
mov dword [ebx + 0x48], eax
mov eax, ebx
mov dword [esp + 0x34], ecx
call fcn.10017ea0
mov esi, eax
push 4
call fcn.10015fd0
push 0
push str.table
push 0
push 0
mov ecx, esi
call fcn.10019570
push 0
push str.rowid
push 0
push 1
mov ecx, esi
call fcn.10019570
push 0
push str.parent
push 0
push 2
mov ecx, esi
call fcn.10019570
push 0
push str.fkid
push 0
push 3
mov ecx, esi
call fcn.10019570
mov ecx, dword [esp + 0x54]
add esp, 0x44
mov edx, ebx
call fcn.1003d200
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x1004acaf
test edi, edi
je 0x10049ca2
mov eax, dword [esp + 0x20]
push eax
push edi
push 0
mov eax, ebx
call fcn.10020770
add esp, 0xc
mov ebp, eax
xor eax, eax
jmp 0x10049ca7
mov ebp, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x1004a033
cmp dword [ebp + 0x10], 0
je 0x1004a033
mov ecx, dword [ebp]
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x10]
push ecx
push 0
push edx
push eax
mov eax, ebx
call fcn.10013360
movsx ecx, word [ebp + 0x22]
mov eax, dword [esp + 0x40]
inc eax
add eax, ecx
add esp, 0x10
cmp eax, dword [ebx + 0x48]
jle 0x10049ced
mov dword [ebx + 0x48], eax
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 0x36
push 0
push ebx
mov eax, edi
call fcn.10031d30
mov edx, dword [edi]
mov ecx, dword [esp + 0x40]
push 0
push edx
push 0
push 0x61
push esi
xor eax, eax
call fcn.10015ec0
mov ebp, dword [edi + 0x10]
add esp, 0x20
mov eax, 1
mov dword [esp + 0x1c], eax
test ebp, ebp
je 0x10049dd9
lea ecx, [ecx]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.10009f50
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10049dc2
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
mov edx, dword [esp + 0x10]
push eax
push 0
push ecx
push edx
mov eax, ebx
mov dword [esp + 0x38], 0
call fcn.10013360
push 0
lea eax, [esp + 0x3c]
push eax
push ebp
push edi
push ebx
call fcn.10022650
add esp, 0x24
test eax, eax
jne 0x1004acaf
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x28], eax
jne 0x10049da1
push 0x36
push ecx
mov ecx, dword [esp + 0x18]
push ebx
mov eax, edi
call fcn.10031d30
add esp, 0xc
jmp 0x10049dc2
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x28]
push edx
push eax
push ecx
push 0x36
call fcn.100113f0
add esp, 0x10
mov ecx, edi
mov eax, ebx
call fcn.10030f60
mov ebp, dword [ebp + 4]
inc dword [esp + 0x1c]
test ebp, ebp
jne 0x10049d30
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
cmp dword [ebx + 0x44], eax
jge 0x10049de1
mov dword [ebx + 0x44], eax
xor eax, eax
lea ecx, [eax + 0x6d]
call fcn.10011460
mov ebp, dword [edi + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], 1
test ebp, ebp
je 0x1004a00b
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.10009f50
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], ecx
cmp eax, ecx
je 0x10049e46
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push eax
push edx
call fcn.10022650
add esp, 0x14
mov eax, esi
call fcn.10011490
cmp dword [esp + 0x44], 0
mov ebx, eax
je 0x10049efc
cmp dword [esp + 0x28], 0
jne 0x10049efc
mov ecx, dword [esp + 0x2c]
movsx edx, word [ecx + 0x20]
mov eax, dword [ebp + 0x24]
mov edi, dword [esp + 0x30]
inc edi
mov dword [esp + 0x44], eax
cmp eax, edx
je 0x10049ebc
push edi
push eax
push 0
push 0x2f
call fcn.100113f0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
push edi
push ecx
mov ecx, esi
call fcn.100247a0
push 0x4c
mov eax, ebx
mov ecx, edi
call fcn.10011470
mov eax, esi
call fcn.10007940
add eax, 3
push 0x26
mov ecx, edi
call fcn.10011470
add esp, 0x20
jmp 0x10049eca
push 0x68
mov eax, edi
xor ecx, ecx
call fcn.10011470
add esp, 4
mov edx, dword [esp + 0x1c]
push edi
push 0
push edx
push 0x49
call fcn.100113f0
push 0xe
mov eax, ebx
xor ecx, ecx
call fcn.10011470
mov eax, esi
call fcn.10007940
sub eax, 2
push eax
call fcn.100079d0
add esp, 0x18
jmp 0x10049fa2
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x40], 0
jle 0x10049f5e
mov edi, dword [esp + 0x30]
lea eax, [ebp + 0x24]
inc edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10049f27
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
jmp 0x10049f2d
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
push edi
push eax
mov eax, dword [esp + 0x34]
push 0
push eax
push esi
call fcn.1002b6f0
push 0x4c
mov eax, ebx
mov ecx, edi
call fcn.10011470
mov eax, dword [esp + 0x58]
add dword [esp + 0x54], 8
inc eax
add esp, 0x18
inc edi
cmp eax, dword [ebp + 0x14]
mov dword [esp + 0x40], eax
jl 0x10049f16
cmp dword [esp + 0x44], 0
je 0x10049fa2
mov ecx, dword [ebp + 0x14]
mov edi, dword [esp + 0x28]
push ecx
mov eax, esi
call fcn.10013ec0
mov edi, dword [esp + 0x34]
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x38]
inc eax
push eax
push 0x31
push esi
mov eax, edi
call fcn.10015ec0
mov edx, dword [esp + 0x30]
push 0
push edx
push 0x46
push esi
mov eax, edi
mov ecx, ebx
call fcn.10015fa0
add esp, 0x24
mov edi, dword [esp + 0x34]
push 0x68
lea eax, [edi + 1]
xor ecx, ecx
call fcn.10011470
mov eax, dword [ebp + 8]
push 0
push eax
push 0
push 0x61
push esi
xor eax, eax
lea ecx, [edi + 2]
call fcn.10015ec0
mov ecx, dword [esp + 0x34]
dec ecx
push 0x17
lea eax, [edi + 3]
call fcn.10011470
push 0x21
mov eax, 4
mov ecx, edi
call fcn.10011470
push ebx
mov ecx, esi
call fcn.10007900
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
add esp, 0x24
call fcn.10001ed0
mov ebp, dword [ebp + 4]
inc dword [esp + 0x1c]
test ebp, ebp
jne 0x10049e02
mov edi, dword [esp + 0x50]
lea eax, [edi + 1]
push 8
xor ecx, ecx
call fcn.10011470
push edi
call fcn.100079d0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x8c]
add esp, 8
test eax, eax
jne 0x10049c86
jmp 0x1004acaf
test edi, edi
je 0x1004acaf
mov ecx, dword [esp + 0x18]
xor al, al
call fcn.10014100
mov edi, dword [esp + 0x14]
movzx ecx, al
push ecx
call fcn.10031c90
add esp, 4
jmp 0x1004acaf
mov edx, dword [esp + 0x24]
movzx eax, byte [edx]
mov edx, dword [esp + 0x8c]
xor ecx, ecx
cmp byte [eax + 0x1005c828], 0x71
sete cl
cmp dword [edx], 0
mov dword [esp + 0x54], ecx
jne 0x1004a093
mov dword [esp + 0x10], 0xffffffff
push 1
mov esi, ebp
mov dword [ebx + 0x48], 6
call fcn.10015fd0
push 0
push str.integrity_check
push 0
push 0
mov ecx, ebp
call fcn.10019570
add esp, 0x14
mov ecx, 0x64
mov dword [esp + 0x40], ecx
test edi, edi
je 0x1004a0e4
lea eax, [esp + 0x40]
push eax
push edi
call fcn.1000e9e0
mov ecx, dword [esp + 0x48]
add esp, 8
test ecx, ecx
jg 0x1004a0e4
mov ecx, 0x64
mov dword [esp + 0x40], ecx
push 0x17
mov eax, 1
call fcn.10011470
mov edx, dword [esp + 0x18]
xor ecx, ecx
add esp, 4
cmp dword [edx + 0x14], ecx
mov dword [esp + 0x38], ecx
jle 0x1004a844
mov dword [esp + 0x3c], ecx
jmp 0x1004a117
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 0
test eax, eax
jl 0x1004a136
cmp ecx, eax
jne 0x1004a82d
mov ebx, dword [esp + 0x84]
mov edx, ebx
call fcn.1003d200
mov eax, 1
mov ecx, 0x8a
mov esi, ebp
call fcn.10011460
mov edi, eax
push 0x16
xor eax, eax
xor ecx, ecx
call fcn.10011470
push edi
call fcn.100079d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x44]
mov eax, dword [edx + ecx + 0xc]
add eax, 8
mov dword [esp + 0x54], eax
mov eax, dword [eax + 8]
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1004a1e2
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 8]
test byte [edi + 0x2a], 0x20
jne 0x1004a1ac
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x1c]
add eax, 2
push 0x17
mov esi, ebp
call fcn.10011470
add esp, 4
inc dword [esp + 0x28]
mov edi, dword [edi + 8]
test edi, edi
je 0x1004a1d4
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x28]
add eax, 2
push 0x17
mov esi, ebp
call fcn.10011470
mov edi, dword [edi + 0x14]
inc dword [esp + 0x2c]
add esp, 4
test edi, edi
jne 0x1004a1b3
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1004a185
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x48]
lea edx, [ecx + 8]
cmp eax, edx
jg 0x1004a1f2
mov eax, edx
push 1
push ecx
push 2
push 0x80
mov esi, ebp
mov dword [ebx + 0x48], eax
call fcn.100113f0
mov dl, byte [esp + 0x48]
add esp, 0x10
mov eax, ebp
call fcn.100079b0
mov eax, 2
lea ecx, [eax + 0x4a]
call fcn.10011460
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x10]
mov edi, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + edx]
push 0xffffffffffffffff
push ecx
push str._in_database__s__n
call fcn.1001d320
add esp, 8
push eax
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 3]
call fcn.10015ec0
push 1
push 4
push 2
push 0x1e
mov esi, ebp
call fcn.100113f0
push 2
push 3
push 4
push 0x5e
call fcn.100113f0
mov eax, 1
push 0x21
lea ecx, [eax + 1]
call fcn.10011470
push edi
call fcn.100079d0
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 8]
add esp, 0x3c
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1004a829
jmp 0x1004a2a0
cmp dword [esp + 0x54], 0
jne 0x1004a829
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 8]
cmp dword [ebx + 8], 0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x30], 0xffffffff
je 0x1004a817
test byte [ebx + 0x2a], 0x20
jne 0x1004a2e0
mov dword [esp + 0x44], 0
jmp 0x1004a2eb
mov eax, ebx
call fcn.1000a180
mov dword [esp + 0x44], eax
mov eax, 1
mov ecx, 0x8a
mov esi, ebp
call fcn.10011460
mov edi, eax
push 0x16
xor eax, eax
xor ecx, ecx
call fcn.10011470
push edi
call fcn.100079d0
mov eax, dword [esp + 0x8c]
call fcn.10009bc0
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x40]
push edx
push 0
push 1
push 0x36
push ebx
push eax
call fcn.10031fb0
push 0x17
mov eax, 7
xor ecx, ecx
call fcn.10011470
mov edi, dword [ebx + 8]
add esp, 0x28
mov dword [esp + 0x20], 0
test edi, edi
je 0x1004a372
mov eax, dword [esp + 0x20]
add eax, 8
push 0x17
xor ecx, ecx
mov esi, ebp
call fcn.10011470
mov edi, dword [edi + 0x14]
inc dword [esp + 0x24]
add esp, 4
test edi, edi
jne 0x1004a352
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x48]
add ecx, 8
cmp eax, ecx
jg 0x1004a389
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 0x48], eax
push 0x6d
xor eax, eax
mov esi, ebp
call fcn.10011470
mov eax, 1
push 0x25
lea ecx, [eax + 6]
call fcn.10011470
mov dword [esp + 0x6c], eax
xor eax, eax
xor ecx, ecx
add esp, 8
cmp cx, word [ebx + 0x22]
mov dword [esp + 0x20], eax
jge 0x1004a4b4
mov dword [esp + 0x2c], eax
jmp 0x1004a3d0
movsx edx, word [ebx + 0x20]
cmp eax, edx
je 0x1004a49e
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x2c]
cmp byte [edx + ecx + 0x14], 0
je 0x1004a49e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push 3
push eax
push ecx
push ebx
push ebp
call fcn.1002b6f0
mov dl, 0x80
mov eax, ebp
call fcn.100079b0
mov eax, 3
lea ecx, [eax + 0x4a]
mov esi, ebp
call fcn.10011460
mov edi, eax
or eax, 0xffffffff
push 0x25
lea ecx, [eax + 2]
call fcn.10011470
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edx]
mov edx, dword [ebx]
mov esi, dword [esp + 0x2c]
push ecx
push edx
push str.NULL_value_in__s._s
call fcn.1001d320
push 0xffffffffffffffff
push eax
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 3]
call fcn.10015ec0
mov eax, 1
push 0x21
lea ecx, [eax + 2]
mov esi, ebp
call fcn.10011470
mov eax, 1
mov ecx, 0x8a
call fcn.10011460
mov dword [esp + 0x64], eax
mov eax, 0x16
call fcn.10011450
push edi
call fcn.100079d0
mov eax, dword [esp + 0x68]
add esp, 0x40
push eax
call fcn.100079d0
mov eax, dword [esp + 0x24]
add esp, 4
movsx ecx, word [ebx + 0x22]
add dword [esp + 0x2c], 0x18
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x1004a3d0
mov edi, dword [ebx + 8]
test edi, edi
je 0x1004a713
mov ebx, dword [esp + 0x50]
mov eax, 8
sub eax, ebx
mov dword [esp + 0x20], eax
mov edi, edi
mov eax, ebp
call fcn.10011490
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], edi
je 0x1004a703
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x88]
push eax
push 0
push 0
push ecx
push edx
lea eax, [esp + 0x78]
call fcn.1002bea0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
lea ecx, [eax + ebx]
push 0x25
mov eax, 1
mov esi, ebp
mov dword [esp + 0x64], edi
call fcn.10011470
movzx ecx, word [edi + 0x30]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push 0x46
push ebp
call fcn.10015fa0
mov dword [esp + 0x58], eax
or eax, 0xffffffff
push 0x25
lea ecx, [eax + 2]
call fcn.10011470
push 0xfffffffffffffffe
push str.row
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 3]
call fcn.10015ec0
add esp, 0x44
push 3
push 3
push 7
push 0x5e
call fcn.100113f0
push 0xfffffffffffffffe
push str._missing_from_index
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 4]
call fcn.10015ec0
push 3
push 3
push 4
push 0x5e
call fcn.100113f0
mov edx, dword [edi]
push 0
push edx
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 4]
call fcn.10015ec0
add esp, 0x48
push 3
push 3
push 4
push 0x5e
mov dword [esp + 0x68], eax
call fcn.100113f0
mov eax, 1
push 0x21
lea ecx, [eax + 2]
call fcn.10011470
mov eax, 1
mov ecx, 0x8a
call fcn.10011460
mov dword [esp + 0x70], eax
mov eax, 0x16
call fcn.10011450
mov eax, dword [esp + 0x40]
push eax
call fcn.100079d0
add esp, 0x18
cmp byte [edi + 0x32], 0
je 0x1004a6e4
mov eax, ebp
call fcn.10011490
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
cmp dx, word [edi + 0x2e]
jae 0x1004a663
lea ebx, [ebx]
mov eax, dword [edi + 4]
movsx eax, word [eax + ecx*2]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
cmp byte [eax + edx*8 + 0x14], 0
jne 0x1004a656
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add ecx, edx
push 0x4c
mov esi, ebp
call fcn.10011470
mov ecx, dword [esp + 0x2c]
add esp, 4
movzx eax, word [edi + 0x2e]
inc ecx
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x1004a620
mov eax, ebx
mov ecx, 8
mov esi, ebp
call fcn.10011460
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
push 0xe
xor ecx, ecx
call fcn.10011470
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100079d0
movzx edx, word [edi + 0x2e]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
push ebx
push 0x73
push ebp
call fcn.10015fa0
or eax, 0xffffffff
push 0x25
lea ecx, [eax + 2]
call fcn.10011470
push 0xfffffffffffffffe
push str.non_unique_entry_in_index
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 3]
call fcn.10015ec0
mov eax, dword [esp + 0x88]
push 0xe
xor ecx, ecx
call fcn.10011470
mov eax, dword [esp + 0x60]
push eax
mov ecx, ebp
call fcn.10007900
add esp, 0x38
mov ecx, dword [esp + 0x5c]
push ecx
mov esi, ebp
call fcn.100079d0
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x88]
add esp, 4
call fcn.1000a800
mov edi, dword [edi + 0x14]
inc ebx
test edi, edi
jne 0x1004a4d0
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
push 8
mov eax, edi
mov esi, ebp
call fcn.10011470
dec edi
push edi
call fcn.100079d0
push 0xfffffffffffffffe
push str.wrong__of_entries_in_index
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 2]
call fcn.10015ec0
mov ebx, dword [ebx + 8]
add esp, 0x1c
test ebx, ebx
je 0x1004a817
mov dword [esp + 0x30], 8
lea esp, [esp]
cmp dword [esp + 0x44], ebx
je 0x1004a808
mov eax, ebp
call fcn.10007940
mov edi, eax
lea eax, [edi + 2]
push 0x8a
mov ecx, 1
mov esi, ebp
call fcn.10011470
push 0x16
xor eax, eax
xor ecx, ecx
call fcn.10011470
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x38]
lea ecx, [edx + eax - 8]
push 0x32
mov eax, 3
call fcn.10011470
mov ecx, dword [esp + 0x3c]
push 3
add edi, 8
push edi
push ecx
push 0x4f
call fcn.100113f0
mov dl, 0x90
mov eax, ebp
call fcn.100079b0
or eax, 0xffffffff
push 0x25
lea ecx, [eax + 2]
call fcn.10011470
mov edx, dword [ebx]
push 0
push edx
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 3]
call fcn.10015ec0
push 7
push 2
push 3
push 0x5e
call fcn.100113f0
mov eax, 1
add esp, 0x44
push 0x21
lea ecx, [eax + 6]
call fcn.10011470
add esp, 4
mov ebx, dword [ebx + 0x14]
inc dword [esp + 0x30]
test ebx, ebx
jne 0x1004a760
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1004a2a0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
add dword [esp + 0x3c], 0x10
inc ecx
cmp ecx, dword [edx + 0x14]
mov dword [esp + 0x38], ecx
jl 0x1004a110
push 0x1005d884
push 3
push ebp
call fcn.100114e0
mov edi, eax
mov eax, dword [esp + 0x4c]
neg eax
push eax
mov eax, edi
mov ecx, ebp
call fcn.10007990
push edi
mov esi, ebp
call fcn.100079d0
push 0xfffffffffffffffe
push 0x10062e48
lea eax, [edi + 1]
push ebp
call fcn.10011740
add esp, 0x20
jmp 0x1004acaf
test edi, edi
jne 0x1004a8e9
mov esi, ebx
call fcn.1000b050
test eax, eax
jne 0x1004acaf
push 1
mov esi, ebp
call fcn.10015fd0
push edi
push str.encoding
push edi
push edi
mov ecx, ebp
call fcn.10019570
push 0x61
lea eax, [edi + 1]
xor ecx, ecx
call fcn.10011470
mov eax, dword [ebx]
movzx ecx, byte [eax + 0x3e]
mov edx, dword [ecx*8 + 0x1005d890]
push 0xfffffffffffffffe
push edx
push ebp
or eax, 0xffffffff
call fcn.10011740
mov eax, 1
push 0x21
mov ecx, eax
call fcn.10011470
add esp, 0x28
jmp 0x1004acaf
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x4e]
test al, 1
je 0x1004a8ff
test al, 4
je 0x1004acaf
mov eax, dword [str.UTF8]
mov ebp, 0x1005d890
test eax, eax
je 0x1004a94f
lea ecx, [ecx]
push eax
push edi
call sym.idmindex.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x1004a92a
mov eax, dword [ebp + 8]
add ebp, 8
test eax, eax
jne 0x1004a910
jmp 0x1004a94f
mov al, byte [ebp + 4]
test al, al
movzx eax, al
jne 0x1004a939
mov eax, 2
mov ecx, dword [esi + 0x10]
mov byte [esi + 0x3e], al
mov edx, dword [ecx + 0xc]
mov byte [edx + 0x4d], al
cmp dword [ebp], 0
jne 0x1004acaf
mov eax, dword [esp + 0x18]
push eax
push str.unsupported_encoding:__s
mov edi, ebx
call fcn.1001d580
add esp, 8
jmp 0x1004acaf
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
mov edx, ebp
call fcn.10007a30
test edi, edi
je 0x1004a9d4
test byte [esi + 5], 2
jne 0x1004a9d4
push 0x1005d8d8
push 3
push ebp
call fcn.100114e0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
mov esi, eax
call fcn.10007950
mov ecx, edi
call fcn.1000eb50
push eax
lea eax, [esi + 1]
mov ecx, ebp
call fcn.10007950
mov edx, dword [esp + 0x24]
add esi, 2
push edx
mov eax, esi
mov ecx, ebp
call fcn.10007950
push ebx
mov eax, esi
mov ecx, ebp
call fcn.10007970
add esp, 0x1c
jmp 0x1004acaf
push 0x1005d8e4
push 3
push ebp
call fcn.100114e0
mov edi, dword [esp + 0x1c]
push edi
mov ecx, ebp
mov esi, eax
call fcn.10007950
inc esi
push edi
mov eax, esi
mov ecx, ebp
call fcn.10007950
push ebx
mov eax, esi
mov ecx, ebp
call fcn.10007990
push 1
mov esi, ebp
call fcn.10015fd0
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
push eax
push 0
push 0
mov ecx, ebp
call fcn.10019570
add esp, 0x2c
jmp 0x1004acaf
push 1
mov esi, ebp
xor edi, edi
call fcn.10015fd0
push edi
push str.compile_option
push edi
push edi
mov ecx, ebp
mov dword [ebx + 0x48], 1
call fcn.10019570
push edi
call sym.idmindex.dll_sqlite3_compileoption_get
add esp, 0x18
test eax, eax
je 0x1004acaf
lea esp, [esp]
push 0
push eax
push 0
xor eax, eax
push 0x61
push ebp
lea ecx, [eax + 1]
inc edi
call fcn.10015ec0
mov eax, 1
push 0x21
mov ecx, eax
mov esi, ebp
call fcn.10011470
push edi
call sym.idmindex.dll_sqlite3_compileoption_get
add esp, 0x1c
test eax, eax
jne 0x1004aa60
jmp 0x1004acaf
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], 0
je 0x1004aaab
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], edx
jmp 0x1004aab3
mov dword [esp + 0x50], 0xa
mov dword [esp + 0x40], 0
test edi, edi
je 0x1004ab11
push str.full
push edi
call sym.idmindex.dll_sqlite3_stricmp
add esp, 8
test eax, eax
jne 0x1004aadb
mov dword [esp + 0x40], 1
jmp 0x1004ab11
push str.restart
push edi
call sym.idmindex.dll_sqlite3_stricmp
add esp, 8
test eax, eax
jne 0x1004aaf7
mov dword [esp + 0x40], 2
jmp 0x1004ab11
push str.truncate
push edi
call sym.idmindex.dll_sqlite3_stricmp
add esp, 8
test eax, eax
jne 0x1004ab11
mov dword [esp + 0x40], 3
push 3
mov esi, ebp
call fcn.10015fd0
push 0
push str.busy
push 0
push 0
mov ecx, ebp
mov dword [ebx + 0x48], 3
call fcn.10019570
push 0
push 0x10062e08
push 0
push 1
mov ecx, ebp
call fcn.10019570
push 0
push str.checkpointed
push 0
push 2
mov ecx, ebp
call fcn.10019570
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x84]
push 1
push eax
push ecx
push 9
call fcn.100113f0
mov eax, 3
add esp, 0x44
push 0x21
lea ecx, [eax - 2]
call fcn.10011470
add esp, 4
jmp 0x1004acaf
test edi, edi
je 0x1004ab9c
mov ecx, edi
call fcn.1000eb50
push eax
push esi
call sym.idmindex.dll_sqlite3_wal_autocheckpoint
add esp, 8
cmp dword [esi + 0xd8], 0x1003ea10
jne 0x1004abbb
mov eax, dword [esi + 0xdc]
cdq
push edx
push eax
push str.wal_autocheckpoint
jmp 0x1004aca5
xor eax, eax
cdq
push edx
push eax
push str.wal_autocheckpoint
jmp 0x1004aca5
push esi
call sym.idmindex.dll_sqlite3_db_release_memory
add esp, 4
jmp 0x1004acaf
test edi, edi
je 0x1004ac03
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x64]
push edx
call fcn.1000e8f0
add esp, 4
test eax, eax
jne 0x1004ac03
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call sym.idmindex.dll_sqlite3_soft_heap_limit64
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call sym.idmindex.dll_sqlite3_soft_heap_limit64
push edx
push eax
push str.soft_heap_limit
mov eax, ebx
call fcn.1001b0c0
add esp, 0x14
jmp 0x1004acaf
test edi, edi
je 0x1004ac60
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x64]
push edx
call fcn.1000e8f0
add esp, 4
test eax, eax
jne 0x1004ac60
cmp dword [esp + 0x68], eax
jl 0x1004ac60
mov eax, dword [esp + 0x64]
jg 0x1004ac4b
test eax, eax
jb 0x1004ac60
and eax, 0x7fffffff
push eax
mov eax, dword [esp + 0x18]
push 0xb
push eax
call sym.idmindex.dll_sqlite3_limit
add esp, 0xc
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0xb
push ecx
call sym.idmindex.dll_sqlite3_limit
cdq
push edx
push eax
push str.threads
mov eax, ebx
call fcn.1001b0c0
add esp, 0x18
jmp 0x1004acaf
test edi, edi
je 0x1004ac97
mov ecx, edi
call fcn.1000eb50
push eax
push esi
call sym.idmindex.dll_sqlite3_busy_timeout
add esp, 8
mov eax, dword [esi + 0x1ec]
cdq
push edx
push eax
push str.timeout
mov eax, ebx
call fcn.1001b0c0
add esp, 0xc
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.10001ed0
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.10001ed0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret