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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x100d2170]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
push edi
mov edi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0xc], eax
call fcn.1005cba0
mov esi, eax
test esi, esi
je 0x100584bd
or dword [esi + 0x60], 8
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx]
mov dword [ebx + 0x4c], 2
cmp dword [ecx + 4], 0
jbe 0x10055bce
cmp byte [eax + 0x95], 0
je 0x10055b8d
push str.corrupt_database
push ebx
call fcn.10006e10
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100a3aa6
mov esp, ebp
pop ebp
ret
mov edx, ecx
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x24], edx
call fcn.10042c90
mov dword [esp + 0x1c], eax
test eax, eax
jns 0x10055be3
mov eax, dword [esp + 0x10]
push eax
push str.unknown_database__T
push ebx
call fcn.10006e10
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100a3aa6
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 0x94]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov eax, ecx
mov dword [esp + 0x3c], eax
test eax, eax
js 0x100584bd
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x10]
mov ecx, eax
shl ecx, 4
add edx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
cmp eax, 1
jne 0x10055c17
call fcn.10047f00
test eax, eax
jne 0x100584bd
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
push ebx
call fcn.10042b40
mov edi, eax
add esp, 4
mov dword [esp + 0x64], edi
test edi, edi
je 0x100584bd
cmp dword [ebp + 0x10], 0
je 0x10055c51
mov eax, dword [esp + 0x44]
push eax
push 0x100bf964
push ebx
call fcn.10005f90
add esp, 0xc
jmp 0x10055c5e
mov ecx, dword [esp + 0x44]
push ebx
call fcn.10042b40
add esp, 4
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 4], 0
mov dword [esp + 0x14], eax
jbe 0x10055c78
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x40], eax
jmp 0x10055c80
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
push edx
push edi
push 0x13
call fcn.100419d0
add esp, 0x10
test eax, eax
jne case.0x10055ddb.37
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x84], eax
push 0xe
xor edi, edi
mov eax, ebx
push ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], edi
push eax
mov dword [eax + 0x184], edi
call sym.SQLite3Encrypt.dll_sqlite3_file_control
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jne 0x10055d12
mov eax, dword [esp + 0x7c]
push str.result
mov ecx, esi
call fcn.10055980
mov edx, dword [esp + 0x80]
add esp, 4
push edx
call sym.SQLite3Encrypt.dll_sqlite3_free
add esp, 4
jmp case.0x10055ddb.37
cmp ebx, 0xc
je 0x10055d4d
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x18]
cmp eax, edi
je 0x10055d42
push eax
push 0x100bd55c
push esi
call fcn.10006e10
mov eax, dword [esp + 0x88]
add esp, 0xc
push eax
call sym.SQLite3Encrypt.dll_sqlite3_free
add esp, 4
inc dword [esi + 0x44]
mov dword [esi + 0xc], ebx
jmp case.0x10055ddb.37
xor ebx, ebx
mov dword [esp + 0x10], 0x3f
mov eax, dword [esp + 0x10]
lea eax, [eax + ebx]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
lea edx, [edi + edi*2]
mov eax, dword [edx*4 + 0x100b9968]
test eax, eax
je 0x10055d89
mov ecx, dword [esp + 0x64]
call fcn.10007010
test eax, eax
je 0x10055d97
jns 0x10055d89
dec edi
mov dword [esp + 0x10], edi
jmp 0x10055d8c
lea ebx, [edi + 1]
cmp ebx, dword [esp + 0x10]
jle 0x10055d57
jmp case.0x10055ddb.37
cmp ebx, dword [esp + 0x10]
jg case.0x10055ddb.37
lea eax, [edi + edi*2]
test byte [eax*4 + 0x100b996d], 1
lea eax, [eax*4 + 0x100b9968]
mov dword [esp + 0x38], eax
je 0x10055dce
mov edi, dword [esp + 0x18]
call fcn.10058d40
test eax, eax
jne case.0x10055ddb.37
mov eax, dword [esp + 0x38]
movzx eax, byte [eax + 4]
cmp eax, 0x28
ja case.0x10055ddb.3
jmp dword [eax*4 + 0x100584d4]
mov ebx, dword [esp + 0x1c]
mov eax, 1
mov ecx, ebx
shl eax, cl
or dword [esi + 0x68], eax
cmp ebx, 1
je 0x10055dfe
mov eax, esi
call fcn.10025490
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10055e44
push str.cache_size
mov eax, esi
call fcn.10055800
mov eax, dword [esp + 0x1c]
add dword [eax + 0x4c], 2
add esp, 4
push 0x100b9cb8
push 9
mov edi, esi
call fcn.10024b60
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x7c], 0xfffff830
jmp case.0x10055ddb.37
call fcn.10007ad0
call fcn.10008190
mov edi, eax
mov eax, dword [esp + 0x18]
push 0
mov ecx, ebx
call fcn.100480c0
add esp, 4
push edi
push 3
push ebx
push 0x34
push esi
call fcn.100242d0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov dword [ecx + 0x50], edi
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
add esp, 0x14
push eax
mov eax, dword [edx + 0x50]
call fcn.10019300
add esp, 4
jmp case.0x10055ddb.37
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10055ec5
test edi, edi
je 0x10055eb6
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x24]
cdq
push edx
push eax
push str.page_size
jmp 0x10058499
xor eax, eax
cdq
push edx
push eax
push str.page_size
jmp 0x10058499
call fcn.10007ad0
mov ecx, dword [esp + 0xc]
push 0
push 0xffffffffffffffff
push edi
mov dword [ecx + 0x4c], eax
call fcn.100194c0
add esp, 0xc
cmp eax, 7
jne case.0x10055ddb.37
mov eax, dword [esp + 0xc]
call fcn.10004800
jmp case.0x10055ddb.37
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
or ebx, 0xffffffff
test eax, eax
je 0x10055f20
push 0
push 1
mov ebx, eax
call fcn.10055480
xor ebx, ebx
add esp, 8
test al, al
setne bl
mov ecx, dword [esp + 0x30]
xor edi, edi
cmp dword [ecx + 4], edi
jne 0x10055f63
cmp ebx, edi
jl 0x10055f63
mov edx, dword [esp + 0xc]
cmp dword [edx + 0x14], edi
jle 0x10055f63
mov dword [esp + 0x10], edi
lea esp, [esp]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx + 4]
call fcn.10019640
mov eax, dword [esp + 0xc]
add dword [esp + 0x10], 0x10
inc edi
cmp edi, dword [eax + 0x14]
jl 0x10055f40
mov eax, dword [esp + 0x2c]
call fcn.10019640
cdq
push edx
push eax
push str.secure_delete
jmp 0x10058499
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov eax, edi
call fcn.10047f90
inc dword [edi + 0x4c]
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx]
cmp byte [edx + 0x100b8af0], 0x70
mov edi, dword [edi + 0x4c]
mov dword [esp + 0x24], edi
jne 0x10055fb2
mov edx, 0x9c
mov eax, esi
call fcn.10024400
jmp 0x10055fd1
mov ecx, dword [esp + 0x14]
call fcn.10007ad0
call fcn.10008190
push eax
push edi
push ebx
push 0x9d
push esi
call fcn.100242d0
add esp, 0x14
mov ebx, dword [esp + 0x24]
mov edi, 1
lea edx, [edi + 0x20]
mov eax, esi
call fcn.10024400
push edi
mov ebx, esi
call fcn.100261b0
mov eax, dword [esp + 0x68]
add esp, 4
push 0xffffffffffffffff
push eax
push 0
push 0
mov ecx, esi
call fcn.10026290
add esp, 0x10
jmp case.0x10055ddb.37
mov ecx, dword [esp + 0x14]
mov edi, str.normal
mov dword [esp + 0x2c], edi
call fcn.10055520
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x1005607d
cmp edx, 0xffffffff
jne 0x10056037
mov edx, dword [esp + 0xc]
movzx eax, byte [edx + 0x47]
jmp 0x1005608e
test eax, eax
jne 0x1005607d
mov eax, dword [esp + 0xc]
mov edi, 2
cmp dword [eax + 0x14], edi
jle 0x10056072
mov ebx, 0x20
mov edi, edi
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + ebx + 4]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
call fcn.10013a40
mov ecx, dword [esp + 0xc]
inc edi
add ebx, 0x10
cmp edi, dword [ecx + 0x14]
jl 0x10056050
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x2c]
mov byte [eax + 0x47], dl
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call fcn.10013a40
cmp eax, 1
jne 0x10056098
mov edi, str.exclusive
push str.locking_mode
mov eax, edi
mov ecx, esi
call fcn.10055980
add esp, 4
jmp case.0x10055ddb.37
push str.journal_mode
mov eax, esi
call fcn.10055800
mov ebx, dword [esp + 0x18]
add esp, 4
test ebx, ebx
jne 0x100560cf
mov dword [esp + 0x28], 0xffffffff
jmp 0x1005610f
mov eax, ebx
call fcn.10006ca0
mov dword [esp + 0x2c], eax
xor edi, edi
lea esp, [esp]
cmp edi, 6
je 0x100560c5
mov eax, dword [edi*4 + 0x100b9c9c]
test eax, eax
je 0x100560c5
mov edx, dword [esp + 0x2c]
push edx
push eax
push ebx
call sym.SQLite3Encrypt.dll_sqlite3_strnicmp
add esp, 0xc
test eax, eax
je 0x10056106
inc edi
jmp 0x100560e0
mov dword [esp + 0x28], edi
cmp edi, 0xffffffff
jne 0x10056128
mov eax, dword [esp + 0x30]
cmp dword [eax + 4], 0
jne 0x10056128
mov dword [esp + 0x3c], 0
mov dword [eax + 4], 1
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x14]
dec edi
mov ebx, 1
mov ecx, edi
rol ebx, cl
test edi, edi
js 0x10056198
mov eax, edi
shl eax, 4
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
cmp dword [edx + eax + 4], 0
je 0x1005618c
cmp edi, dword [esp + 0x3c]
je 0x10056164
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 4], 0
jne 0x1005618c
or dword [esi + 0x68], ebx
cmp edi, 1
je 0x10056175
mov ecx, edi
mov eax, esi
call fcn.10025490
mov edx, dword [esp + 0x28]
push edx
push 1
push edi
push 9
push esi
call fcn.100242d0
mov eax, dword [esp + 0x38]
add esp, 0x14
sub eax, 0x10
ror ebx, 1
dec edi
mov dword [esp + 0x24], eax
jns 0x10056146
mov edi, 1
mov ebx, edi
lea edx, [edi + 0x20]
mov eax, esi
call fcn.10024400
jmp case.0x10055ddb.37
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov ebx, dword [edx]
or ecx, 0xffffffff
cmp dword [esp + 0x14], 0
mov eax, 0xfffffffe
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
je 0x10056201
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
call fcn.10007870
mov ecx, dword [esp + 0x58]
add esp, 4
cmp ecx, 0xffffffff
jg 0x100561fd
jl 0x100561f6
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jae 0x10056201
or eax, 0xffffffff
or ecx, eax
jmp 0x10056201
mov eax, dword [esp + 0x50]
push ecx
push eax
mov ecx, ebx
call fcn.10013b90
push edx
push eax
push str.journal_size_limit
mov eax, esi
call fcn.10055840
add esp, 0x14
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
jne 0x10056244
call fcn.10019720
cdq
push edx
push eax
push str.auto_vacuum
jmp 0x10058499
mov edi, dword [esp + 0x14]
call fcn.10055590
mov edx, dword [esp + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x2c]
push ebx
mov byte [edx + 0x48], bl
call fcn.100196a0
add esp, 4
test eax, eax
jne case.0x10055ddb.37
cmp ebx, 1
je 0x10056279
cmp ebx, 2
jne case.0x10055ddb.37
mov eax, dword [esi + 0x20]
push 0x100b9ce0
push 5
mov edi, esi
mov dword [esp + 0x34], eax
call fcn.10024b60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
add edx, 4
dec ebx
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x30], edx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x5c], ebx
mov eax, 1
shl eax, cl
add esp, 8
or dword [esi + 0x68], eax
cmp ecx, 1
je case.0x10055ddb.37
mov eax, esi
call fcn.10025490
jmp case.0x10055ddb.37
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100562ed
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.10007970
add esp, 8
test eax, eax
je 0x100562ed
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jg 0x100562f2
mov ebx, 0x7fffffff
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0
call fcn.100480c0
mov edi, 1
add esp, 4
lea edx, [edi + 0x15]
mov eax, esi
call fcn.10024400
mov edi, dword [esp + 0x1c]
mov ebx, 0x92
mov eax, esi
call fcn.100243a0
mov edi, 1
mov dword [esp + 0x24], eax
lea ebx, [edi + 0x20]
mov eax, esi
call fcn.100243a0
or edi, 0xffffffff
lea ebx, [edi + 2]
lea edx, [edi + 0x26]
mov eax, esi
call fcn.10024400
mov edi, dword [esp + 0x24]
mov edx, 0x8a
mov eax, esi
call fcn.10024400
mov ecx, edi
mov eax, esi
call fcn.10024c90
jmp case.0x10055ddb.37
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10056383
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
push str.cache_size
jmp 0x10058499
call fcn.10007ad0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
mov dword [edx + 0x50], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 0x50]
push ecx
call fcn.10019300
add esp, 4
jmp case.0x10055ddb.37
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x100563e8
mov edx, dword [esp + 0xc]
test byte [edx + 0x18], 0x20
jne 0x100563ca
xor eax, eax
cdq
push edx
push eax
push str.cache_spill
jmp 0x10058499
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
push 0
call fcn.10019390
add esp, 4
cdq
push edx
push eax
push str.cache_spill
jmp 0x10058499
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x2c], 1
call fcn.10007970
mov esi, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x10056416
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push esi
call fcn.10019390
add esp, 4
test esi, esi
setne al
movzx ecx, al
push ecx
push 1
call fcn.10055480
add esp, 8
test al, al
mov eax, dword [esp + 0xc]
je 0x10056443
or dword [eax + 0x18], 0x20
push eax
call fcn.10055a20
add esp, 4
jmp case.0x10055ddb.37
and dword [eax + 0x18], 0xffffffdf
push eax
call fcn.10055a20
add esp, 4
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je 0x100564f7
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x50]
push edx
call fcn.10007870
mov ecx, dword [esp + 0x58]
add esp, 4
test ecx, ecx
jg 0x10056495
jl 0x10056482
cmp dword [esp + 0x50], 0
jae 0x10056495
mov eax, dword [0x100d3480]
mov ecx, dword [0x100d3484]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x30]
cmp dword [edx + 4], 0
jne 0x100564ad
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x50]
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x14]
dec edi
js 0x100564f7
mov ebx, edi
shl ebx, 4
lea esp, [esp]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ebx + 4]
test eax, eax
je 0x100564f1
cmp edi, dword [esp + 0x1c]
je 0x100564df
mov edx, dword [esp + 0x30]
cmp dword [edx + 4], 0
jne 0x100564f1
push ecx
mov ecx, dword [esp + 0x54]
push ecx
call fcn.100193e0
mov ecx, dword [esp + 0x5c]
add esp, 8
sub ebx, 0x10
dec edi
jns 0x100564c0
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push 0x12
push eax
push ecx
call sym.SQLite3Encrypt.dll_sqlite3_file_control
add esp, 0x10
test eax, eax
jne 0x10056533
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
push eax
push str.mmap_size
jmp 0x10058499
cmp eax, 0xc
je case.0x10055ddb.37
mov ecx, dword [esp + 0x18]
inc dword [ecx + 0x44]
mov dword [ecx + 0xc], eax
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
jne 0x10056567
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + 0x44]
cdq
push edx
push eax
push str.temp_store
jmp 0x10058499
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
call fcn.10055750
jmp case.0x10055ddb.37
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x1005659a
mov eax, dword [sym.SQLite3Encrypt.dll_sqlite3_temp_directory]
push str.temp_store_directory
mov ecx, esi
call fcn.10055980
add esp, 4
jmp case.0x10055ddb.37
cmp byte [edi], 0
je 0x100565d7
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push 1
push edi
push eax
call edx
add esp, 0x10
test eax, eax
jne 0x100565c0
cmp dword [esp + 0x2c], eax
jne 0x100565d7
mov eax, dword [esp + 0x18]
push str.not_a_writable_directory
push eax
call fcn.10006e10
add esp, 8
jmp case.0x10055ddb.37
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x44], 1
ja 0x100565ea
mov ecx, dword [esp + 0x18]
call fcn.10055700
mov edx, dword [sym.SQLite3Encrypt.dll_sqlite3_temp_directory]
push edx
call sym.SQLite3Encrypt.dll_sqlite3_free
add esp, 4
cmp byte [edi], 0
je 0x10056616
push edi
push 0x100bd55c
call sym.SQLite3Encrypt.dll_sqlite3_mprintf
add esp, 8
mov dword [sym.SQLite3Encrypt.dll_sqlite3_temp_directory], eax
jmp case.0x10055ddb.37
mov dword [sym.SQLite3Encrypt.dll_sqlite3_temp_directory], 0
jmp case.0x10055ddb.37
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x10056646
mov eax, dword [sym.SQLite3Encrypt.dll_sqlite3_data_directory]
push str.data_store_directory
mov ecx, esi
call fcn.10055980
add esp, 4
jmp case.0x10055ddb.37
cmp byte [edi], 0
je 0x10056674
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push 1
push edi
push eax
call edx
add esp, 0x10
test eax, eax
jne 0x100565c0
cmp dword [esp + 0x2c], eax
je 0x100565c0
mov ecx, dword [sym.SQLite3Encrypt.dll_sqlite3_data_directory]
push ecx
call sym.SQLite3Encrypt.dll_sqlite3_free
add esp, 4
cmp byte [edi], 0
je 0x100566a0
push edi
push 0x100bd55c
call sym.SQLite3Encrypt.dll_sqlite3_mprintf
add esp, 8
mov dword [sym.SQLite3Encrypt.dll_sqlite3_data_directory], eax
jmp case.0x10055ddb.37
mov dword [sym.SQLite3Encrypt.dll_sqlite3_data_directory], 0
jmp case.0x10055ddb.37
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x100566cd
mov edx, dword [esp + 0x20]
movzx eax, byte [edx + 8]
dec eax
cdq
push edx
push eax
push str.synchronous
jmp 0x10058499
mov esi, dword [esp + 0xc]
cmp byte [esi + 0x43], 0
jne 0x100566ee
mov eax, dword [esp + 0x18]
push str.Safety_level_may_not_be_changed_inside_a_transaction
push eax
call fcn.10006e10
add esp, 8
jmp case.0x10055ddb.37
push 1
push 0
call fcn.10055480
add esp, 8
inc eax
and eax, 7
jne 0x10056705
mov eax, 1
mov ecx, dword [esp + 0x20]
push esi
mov byte [ecx + 8], al
mov byte [ecx + 9], 1
call fcn.10055a20
add esp, 4
jmp case.0x10055ddb.37
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
test ebx, ebx
jne 0x10056745
mov edx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
and eax, dword [edx + 0x18]
neg eax
sbb eax, eax
neg eax
cdq
push edx
push eax
mov eax, dword [ecx]
push eax
jmp 0x10058499
mov edi, dword [esp + 0xc]
cmp byte [edi + 0x43], 0
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
jne 0x1005675e
and dword [esp + 0x28], 0xfff7ffff
cmp byte [edi + 0x1cc], 2
jne 0x1005676f
and dword [esp + 0x28], 0xfffff7ff
push 0
push 1
call fcn.10055480
add esp, 8
test al, al
mov eax, dword [esp + 0x28]
je 0x10056788
or dword [edi + 0x18], eax
jmp 0x100567a4
mov ecx, eax
not ecx
and dword [edi + 0x18], ecx
cmp eax, 0x1000000
jne 0x100567a4
xor eax, eax
mov dword [edi + 0x1c0], eax
mov dword [edi + 0x1c4], eax
xor edi, edi
xor ebx, ebx
mov edx, 0x93
mov eax, esi
call fcn.10024400
mov edx, dword [esp + 0xc]
push edx
call fcn.10055a20
add esp, 4
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je case.0x10055ddb.37
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edx
call fcn.100420e0
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je case.0x10055ddb.37
mov dword [esp + 0x38], 0
mov ebx, eax
call fcn.10042e10
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 0x4c], 6
call fcn.10047f90
push 0x100d4194
push 6
mov edi, esi
call fcn.100557b0
mov edi, dword [esp + 0x20]
add esp, 8
mov eax, ebx
call fcn.10045030
movsx ecx, word [ebx + 0x22]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], eax
test ecx, ecx
jle case.0x10055ddb.37
mov edi, eax
mov al, byte [edi + 0xf]
test al, 2
je 0x10056864
inc dword [esp + 0x38]
jmp 0x100568f0
test al, 1
jne 0x1005686c
xor eax, eax
jmp 0x10056891
mov edx, dword [esp + 0x2c]
mov eax, 1
test edx, edx
je 0x10056891
cmp ecx, eax
jl 0x10056891
mov edx, dword [edx + 4]
movsx ebx, word [edx]
cmp ebx, dword [esp + 0x10]
je 0x10056891
inc eax
add edx, 2
cmp eax, ecx
jle 0x10056880
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1005689d
mov ecx, dword [ecx + 8]
jmp 0x1005689f
xor ecx, ecx
mov edi, dword [esp + 0x34]
push eax
push ecx
xor ecx, ecx
cmp byte [edi + 0xc], cl
mov eax, edi
setne cl
push ecx
push 0x100bd4d8
call fcn.10006cc0
mov edx, dword [edi]
add esp, 4
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x48]
push edx
push eax
push str.issisi
push 1
push esi
call fcn.10024560
mov edi, 6
add esp, 0x24
lea ebx, [edi - 5]
lea edx, [edi + 0x1b]
mov eax, esi
call fcn.10024400
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
movsx ecx, word [ecx + 0x22]
inc eax
add edi, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], edi
cmp eax, ecx
jl 0x10056854
jmp case.0x10055ddb.37
mov esi, dword [esp + 0x18]
mov edi, esi
call fcn.1005cba0
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov eax, esi
mov dword [esp + 0x3c], edi
mov dword [esi + 0x4c], 4
call fcn.10047f90
push 0x100d41ac
push 4
call fcn.100557b0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x10]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je case.0x10055ddb.37
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 8]
movsx edx, word [esi + 0x26]
movsx eax, word [esi + 0x28]
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push ecx
push str.ssii
push 1
push edx
call fcn.10024560
mov eax, dword [esp + 0x58]
mov edi, 4
add esp, 0x1c
lea ebx, [edi - 3]
lea edx, [edi + 0x1d]
call fcn.10024400
mov esi, dword [esi + 8]
test esi, esi
je 0x100569e0
mov eax, dword [esi + 8]
movsx ecx, word [eax]
movsx edx, word [esi + 0x30]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x100bf9d4
push 2
push ecx
call fcn.10024560
mov eax, dword [esp + 0x54]
mov edi, 4
add esp, 0x18
lea ebx, [edi - 3]
lea edx, [edi + 0x1d]
call fcn.10024400
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x100569a2
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1005695d
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je case.0x10055ddb.37
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
push eax
call fcn.10042340
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je case.0x10055ddb.37
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 8], 0
mov edi, dword [esp + 0x18]
je 0x10056a3e
movzx ebx, word [eax + 0x34]
mov dword [edi + 0x4c], 6
jmp 0x10056a49
movzx ebx, word [eax + 0x32]
mov dword [edi + 0x4c], 3
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
call fcn.10047f90
mov eax, dword [edi + 0x4c]
push 0x100d41bc
push eax
mov edi, esi
call fcn.100557b0
add esp, 8
mov dword [esp + 0x34], 0
test ebx, ebx
jle case.0x10055ddb.37
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov edi, dword [esp + 0x34]
movzx eax, word [ecx + edi*2]
test ax, ax
jns 0x10056a9a
xor ecx, ecx
jmp 0x10056aa9
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
movsx edx, ax
add edx, edx
mov ecx, dword [ecx + edx*8]
push ecx
movsx edx, ax
push edx
push edi
push 0x100bf9d8
push 1
push esi
call fcn.10024560
mov eax, dword [esp + 0x50]
add esp, 0x18
cmp dword [eax + 8], 0
je 0x10056af4
movzx ecx, word [ebx + 0x32]
mov eax, dword [ebx + 0x20]
xor edx, edx
cmp edi, ecx
mov ecx, dword [eax + edi*4]
setl dl
push edx
mov edx, dword [ebx + 0x1c]
movzx eax, byte [edx + edi]
push ecx
push eax
push 0x100bf9dc
push 4
push esi
call fcn.10024560
add esp, 0x18
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0x4c]
mov ebx, 1
lea edx, [ebx + 0x20]
mov eax, esi
call fcn.10024400
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x24]
jl 0x10056a82
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je case.0x10055ddb.37
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.100420e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je case.0x10055ddb.37
mov esi, dword [esp + 0x18]
mov edi, esi
call fcn.1005cba0
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov eax, esi
mov dword [esp + 0x3c], edi
mov dword [esi + 0x4c], 5
call fcn.10047f90
push 0x100d41d4
push 5
call fcn.100557b0
mov esi, dword [ebx + 8]
add esp, 8
mov dword [esp + 0x10], 0
test esi, esi
je case.0x10055ddb.37
mov dword [esp + 0x50], 0x100bf9e0
mov dword [esp + 0x54], 0x100bf9e4
mov dword [esp + 0x58], 0x100b76f0
mov eax, dword [esi + 0x38]
xor edx, edx
cmp dword [esi + 0x24], edx
setne dl
and eax, 3
mov ecx, dword [esp + eax*4 + 0x50]
mov eax, dword [esi]
push edx
xor edx, edx
cmp byte [esi + 0x36], dl
push ecx
mov ecx, dword [esp + 0x18]
setne dl
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push str.isisi
push 1
push edx
call fcn.10024560
mov eax, dword [esp + 0x5c]
mov edi, 5
add esp, 0x20
lea ebx, [edi - 4]
lea edx, [edi + 0x1c]
call fcn.10024400
mov esi, dword [esi + 0x14]
inc dword [esp + 0x10]
test esi, esi
jne 0x10056bab
jmp case.0x10055ddb.37
mov eax, dword [esp + 0x18]
push 0x100d41e8
push 3
mov edi, esi
mov dword [eax + 0x4c], 3
call fcn.100557b0
mov ecx, dword [esp + 0x14]
xor eax, eax
add esp, 8
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x14], eax
jle case.0x10055ddb.37
mov dword [esp + 0x34], eax
mov edx, dword [ecx + 0x10]
add edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
test eax, eax
je 0x10056c7d
call fcn.10021710
mov ecx, dword [edx]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
push 0x100bf9f0
push 1
push esi
call fcn.10024560
mov edi, 3
add esp, 0x18
lea ebx, [edi - 2]
lea edx, [edi + 0x1e]
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add dword [esp + 0x34], 0x10
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0x14]
jl 0x10056c3b
jmp case.0x10055ddb.37
mov eax, dword [esp + 0x18]
push 0x100d41f4
push 2
mov edi, esi
mov dword [esp + 0x2c], 0
mov dword [eax + 0x4c], 2
call fcn.100557b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x174]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je case.0x10055ddb.37
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov edi, dword [esp + 0x24]
push ecx
push edi
push 0x100bf9f4
push 1
push esi
call fcn.10024560
inc edi
mov dword [esp + 0x38], edi
mov edi, 2
add esp, 0x14
lea ebx, [edi - 1]
lea edx, [edi + 0x1f]
mov eax, esi
call fcn.10024400
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10056ccf
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je case.0x10055ddb.37
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edx
call fcn.100420e0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x2c], esi
test esi, esi
je case.0x10055ddb.37
mov edi, dword [esp + 0x18]
call fcn.1005cba0
mov esi, dword [esi + 0x10]
mov edi, eax
mov dword [esp + 0x3c], edi
test esi, esi
je case.0x10055ddb.37
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], 0
mov dword [eax + 0x4c], 8
call fcn.10047f90
push 0x100d41fc
push 8
call fcn.100557b0
add esp, 8
cmp dword [esi + 0x14], 0
mov dword [esp + 0x10], 0
jle 0x10056e1c
lea eax, [esi + 0x24]
mov dword [esp + 0x34], eax
mov al, byte [esi + 0x19]
push str.NONE
call fcn.10055ab0
push eax
mov al, byte [esi + 0x1a]
call fcn.10055ab0
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 8]
add edx, edx
mov edx, dword [ecx + edx*8]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push str.iissssss
push 1
push eax
call fcn.10024560
mov eax, dword [esp + 0x68]
mov edi, 8
add esp, 0x2c
lea ebx, [edi - 7]
lea edx, [edi + 0x19]
call fcn.10024400
mov eax, dword [esp + 0x10]
add dword [esp + 0x34], edi
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x14]
jl 0x10056da6
mov esi, dword [esi + 4]
inc dword [esp + 0x38]
test esi, esi
jne 0x10056d8d
jmp case.0x10055ddb.37
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x74], eax
inc eax
mov edi, esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], eax
mov dword [esi + 0x4c], eax
call fcn.1005cba0
push 0x100d421c
push 4
mov edi, eax
mov dword [esp + 0x44], eax
call fcn.100557b0
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, esi
call fcn.10047f90
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [edx + 0x10]
test eax, eax
je case.0x10055ddb.37
mov ebx, dword [esp + 0x14]
jmp 0x10056e98
mov eax, dword [esp + 0x24]
test ebx, ebx
je 0x10056ebf
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
push eax
push 0
call fcn.100421f0
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
jmp 0x10056ece
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov esi, ecx
test esi, esi
je 0x100572d0
cmp dword [esi + 0x10], 0
je 0x100572d0
mov eax, dword [esi]
mov edi, dword [esi + 0x1c]
mov ebx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push 0
call fcn.10041a60
movsx eax, word [esi + 0x22]
add eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
add esp, 8
cmp eax, dword [ecx + 0x4c]
jle 0x10056f0c
mov dword [ecx + 0x4c], eax
push 0x36
mov eax, ecx
push 0
push eax
mov eax, dword [esp + 0x28]
call fcn.10050940
mov edi, dword [esp + 0x34]
mov ecx, dword [edi]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
add esp, 0xc
push ecx
mov eax, esi
call fcn.100244c0
mov eax, dword [edi + 0x10]
add esp, 4
mov dword [esp + 0x30], 1
mov dword [esp + 0x20], eax
test eax, eax
je 0x1005701b
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.100420e0
add esp, 0xc
mov dword [esp + 0x34], eax
test eax, eax
je 0x10057004
mov ecx, dword [eax]
mov edi, dword [eax + 0x1c]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
push 0
mov dword [esp + 0x54], 0
call fcn.10041a60
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
xor eax, eax
call fcn.1004dde0
add esp, 0x18
test eax, eax
jne case.0x10055ddb.37
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x10056fe0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
push 0x36
push eax
push ecx
mov eax, ebx
call fcn.10050940
mov esi, dword [esp + 0x48]
add esp, 0xc
jmp 0x10057004
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push 0x36
push esi
call fcn.100242d0
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, edi
call fcn.10025030
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
inc dword [esp + 0x30]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x10056f4f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
cmp dword [ecx + 0x48], eax
jge 0x1005702b
mov dword [ecx + 0x48], eax
xor edi, edi
lea ebx, [edi + 0x6c]
mov eax, esi
call fcn.100243a0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], 1
mov dword [esp + 0x20], eax
test eax, eax
je 0x100572b0
mov eax, dword [esp + 0x70]
lea ecx, [eax + 1]
add eax, 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], eax
jmp 0x10057070
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.100420e0
mov edi, eax
xor eax, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
cmp edi, eax
je 0x100570b6
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x4c]
push edx
push ebx
push edi
push eax
lea eax, [esp + 0x54]
call fcn.1004dde0
add esp, 0x10
mov eax, esi
call fcn.10024930
mov dword [esp + 0x10], eax
test edi, edi
je 0x1005716e
cmp dword [esp + 0x4c], 0
jne 0x1005716e
mov ecx, dword [esp + 0x28]
movsx edx, word [ecx + 0x20]
mov edi, dword [ebx + 0x24]
cmp edi, edx
je 0x1005712c
mov ebx, dword [esp + 0x38]
push ebx
push edi
push 0
push 0x2f
push esi
call fcn.100242d0
mov eax, dword [esp + 0x3c]
add esp, 0x14
push ebx
push eax
mov eax, edi
mov ecx, esi
call fcn.10066190
mov edi, dword [esp + 0x18]
add esp, 8
mov edx, 0x4c
mov eax, esi
call fcn.10024400
mov edi, dword [esi + 0x20]
add edi, 3
mov edx, 0x26
mov eax, esi
call fcn.10024400
jmp 0x1005713e
mov edi, dword [esp + 0x38]
xor ebx, ebx
lea edx, [ebx + 0x67]
mov eax, esi
call fcn.10024400
mov ebx, edi
mov ecx, dword [esp + 0x30]
push ebx
push 0
push ecx
push 0x46
push esi
call fcn.100242d0
mov edi, dword [esp + 0x24]
add esp, 0x14
mov eax, esi
call fcn.10024460
mov ecx, dword [esi + 0x20]
sub ecx, 2
mov eax, esi
call fcn.10024c90
jmp 0x10057238
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x68], 0
jle 0x100571dd
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
add edx, 0x24
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1005719c
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + ecx*4]
jmp 0x100571a2
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
push ebx
push eax
mov eax, dword [esp + 0x30]
push 0
push eax
mov eax, esi
call fcn.1003b7a0
mov edi, dword [esp + 0x20]
add esp, 0x10
mov edx, 0x4c
mov eax, esi
call fcn.10024400
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x6c], 8
inc eax
inc ebx
mov dword [esp + 0x68], eax
cmp eax, dword [ecx + 0x14]
jl 0x1005718b
cmp dword [esp + 0x34], 0
je 0x10057238
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
mov esi, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x10]
push ecx
call fcn.100509e0
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov edx, dword [edx + 0x14]
add esp, 4
push eax
push ecx
push 0x31
mov eax, esi
mov ecx, edi
call fcn.10024690
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push 0
push eax
push 0x45
mov eax, esi
mov ecx, edi
call fcn.100247f0
add esp, 0x1c
mov esi, edi
mov edi, dword [esp + 0x2c]
xor ebx, ebx
lea edx, [ebx + 0x67]
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
dec ecx
push ecx
mov ecx, dword [esp + 0x4c]
push eax
push 0x100bfa0c
push ecx
push esi
call fcn.10024560
lea edi, [ebx + 4]
mov ebx, dword [esp + 0x84]
add esp, 0x14
lea edx, [edi + 0x1d]
mov eax, esi
call fcn.10024400
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.10024980
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
add esp, 4
call fcn.10004130
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
inc dword [esp + 0x30]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x10057070
mov edi, dword [esp + 0x60]
xor ebx, ebx
inc edi
lea edx, [ebx + 7]
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x60]
mov eax, esi
call fcn.10024c90
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x24], 0
jne 0x10056e94
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je case.0x10055ddb.37
mov ebx, dword [esp + 0x14]
push 0
push 1
call fcn.10055480
mov esi, dword [esp + 0x14]
xor ebx, ebx
add esp, 8
test al, al
setne bl
call fcn.1004dcf0
jmp case.0x10055ddb.37
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx]
mov ecx, dword [esp + 0x30]
xor eax, eax
cmp byte [edx + 0x100b8af0], 0x71
sete al
cmp dword [ecx], 0
mov dword [esp + 0x74], eax
jne 0x10057338
mov dword [esp + 0x3c], 0xffffffff
mov edx, dword [esp + 0x18]
push 0x100b7908
mov eax, esi
mov dword [edx + 0x4c], 6
call fcn.10055800
mov eax, dword [esp + 0x18]
add esp, 4
mov edi, 0x64
mov dword [esp + 0x4c], edi
test eax, eax
je 0x1005737c
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.10007970
add esp, 8
cmp dword [esp + 0x4c], 0
jg 0x1005737c
mov dword [esp + 0x4c], edi
mov ebx, dword [esp + 0x4c]
mov edi, 1
lea edx, [edi + 0x15]
mov eax, esi
call fcn.10024400
mov edx, dword [esp + 0xc]
cmp dword [edx + 0x14], 0
mov dword [esp + 0x38], 0
jle 0x10057e37
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], 0
test eax, eax
js 0x100573bf
cmp dword [esp + 0x38], eax
jne 0x10057e21
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
call fcn.10047f90
mov edi, 1
mov ebx, 0x8a
mov eax, esi
call fcn.100243a0
xor edi, edi
mov dword [esp + 0x44], eax
xor ebx, ebx
lea edx, [edi + 0x15]
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x44]
mov eax, esi
call fcn.10024c90
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
shl eax, 4
mov dword [esp + 0x48], eax
mov eax, dword [edx + eax + 0xc]
mov edi, dword [eax + 0x10]
add eax, 8
xor edx, edx
mov dword [esp + 0x60], eax
test edi, edi
je 0x1005744e
mov ebx, edx
mov eax, dword [edi + 8]
test byte [eax + 0x2a], 0x20
jne 0x1005742c
inc edx
mov eax, dword [eax + 8]
xor ecx, ecx
test eax, eax
je 0x1005743e
mov eax, dword [eax + 0x14]
inc edx
inc ecx
test eax, eax
jne 0x10057435
cmp ecx, ebx
jle 0x10057444
mov ebx, ecx
mov edi, dword [edi]
test edi, edi
jne 0x10057422
mov dword [esp + 0x24], ebx
lea eax, [edx*4 + 4]
push 0
push eax
mov eax, dword [esp + 0x14]
call fcn.10004420
add esp, 8
test eax, eax
je 0x10057e37
mov ecx, dword [esp + 0x60]
mov edi, dword [ecx + 8]
xor edx, edx
test edi, edi
je 0x100574ab
lea esp, [esp]
mov ecx, dword [edi + 8]
test byte [ecx + 0x2a], 0x20
jne 0x10057490
mov ebx, dword [ecx + 0x1c]
mov dword [eax + edx*4], ebx
inc edx
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x100574a5
mov ebx, dword [ecx + 0x2c]
mov dword [eax + edx*4], ebx
mov ecx, dword [ecx + 0x14]
inc edx
test ecx, ecx
jne 0x10057497
mov edi, dword [edi]
test edi, edi
jne 0x10057480
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov dword [eax + edx*4], 0
mov ecx, dword [ecx + 0x4c]
add edi, 8
cmp ecx, edi
jg 0x100574c6
mov ecx, edi
mov edi, dword [esp + 0x18]
push 0xfffffffffffffff1
push eax
mov dword [edi + 0x4c], ecx
push 2
push 0x80
mov eax, 1
mov ecx, esi
call fcn.10024690
mov edx, dword [esp + 0x48]
push edx
mov ecx, esi
call fcn.10024c70
mov edi, 2
add esp, 0x14
lea ebx, [edi + 0x4a]
mov eax, esi
call fcn.100243a0
mov edx, dword [esp + 0x48]
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + edx]
push ecx
push str._in_database__s__n
push eax
call fcn.10005f90
add esp, 0x10
push eax
push 0
push 0x61
xor eax, eax
lea edx, [edi + 1]
mov ecx, esi
call fcn.10024690
push 1
push 4
push edi
push 0x1d
push esi
call fcn.100242d0
add esp, 0x24
push edi
push 3
push 4
push 0x5e
push esi
call fcn.100242d0
lea edi, [ebx - 0x4b]
add esp, 0x14
lea ebx, [edi + 1]
lea edx, [edi + 0x20]
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x44]
mov eax, esi
call fcn.10024c90
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 8]
mov dword [esp + 0x68], eax
test eax, eax
je 0x10057e21
cmp dword [esp + 0x74], 0
jne 0x10057e21
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 8]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x10], 0xffffffff
cmp dword [eax + 8], ecx
je 0x10057e0f
test byte [eax + 0x2a], 0x20
jne 0x100575bd
mov dword [esp + 0x70], ecx
jmp 0x100575c6
call fcn.10042e10
mov dword [esp + 0x70], eax
mov edi, 1
mov ebx, 0x8a
mov eax, esi
call fcn.100243a0
xor edi, edi
mov dword [esp + 0x48], eax
xor ebx, ebx
lea edx, [edi + 0x15]
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x48]
mov eax, esi
call fcn.10024c90
mov eax, dword [esp + 0x18]
call fcn.1003b9d0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x38]
push edx
push ebx
push 1
push ebx
push 0x36
push ecx
push eax
call fcn.10053b90
add esp, 0x20
lea edi, [ebx + 7]
lea edx, [ebx + 0x16]
mov eax, esi
call fcn.10024400
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1005765c
lea edi, [ebx + 8]
lea ebx, [ebx]
xor ebx, ebx
lea edx, [ebx + 0x16]
mov eax, esi
call fcn.10024400
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
inc edi
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10057640
mov ebx, dword [esp + 0x34]
xor edi, edi
lea edx, [edi + 0x6c]
mov eax, esi
call fcn.10024400
mov edi, 1
lea ebx, [edi + 6]
lea edx, [edi + 0x24]
mov eax, esi
call fcn.10024400
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov edi, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], 0
mov ebx, edx
cmp cx, word [edx + 0x22]
jge 0x100577a1
mov dword [esp + 0x30], ecx
mov eax, ecx
movsx ecx, word [ebx + 0x20]
cmp eax, ecx
je 0x10057787
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x30]
cmp byte [ecx + edx + 0xc], 0
je 0x10057787
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push 3
push edx
push eax
push ecx
mov eax, esi
call fcn.1003b7a0
push 0x80
mov ecx, esi
call fcn.10024c70
mov edi, 3
add esp, 0x14
lea ebx, [edi + 0x4a]
mov eax, esi
call fcn.100243a0
or edi, 0xffffffff
mov dword [esp + 0x48], eax
lea ebx, [edi + 2]
lea edx, [edi + 0x26]
mov eax, esi
call fcn.10024400
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + edx]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push edx
push eax
push str.NULL_value_in__s._s
push ecx
call fcn.10005f90
push edi
push eax
push 0
push 0x61
xor eax, eax
lea edx, [edi + 4]
mov ecx, esi
call fcn.10024690
mov edi, ebx
add esp, 0x20
lea ebx, [edi + 2]
lea edx, [edi + 0x20]
mov eax, esi
call fcn.10024400
mov ebx, 0x8a
mov eax, esi
call fcn.100243a0
mov edi, eax
mov ebx, 0x15
mov eax, esi
call fcn.10024340
mov ecx, dword [esp + 0x48]
mov eax, esi
call fcn.10024c90
mov ecx, edi
mov eax, esi
call fcn.10024c90
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
movsx edx, word [ebx + 0x22]
add dword [esp + 0x30], 0x10
inc eax
mov dword [esp + 0x28], eax
cmp eax, edx
jl 0x100576a4
mov edi, dword [esp + 0x40]
mov eax, dword [ebx + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10057b35
mov ecx, dword [esp + 0x2c]
mov eax, 8
sub eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x6c], eax
mov eax, esi
call fcn.10024930
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x1c]
je 0x10057b16
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push ecx
push edx
push 0
push 0
push eax
push edi
lea eax, [esp + 0x68]
call fcn.1004aa10
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x28], eax
lea ebx, [ebx + edx]
lea edx, [edi + 0x24]
mov eax, esi
call fcn.10024400
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x34]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
push ecx
push edx
mov edx, dword [esp + 0x68]
push 0x45
mov ecx, esi
call fcn.100247f0
or edi, 0xffffffff
mov dword [esp + 0x6c], eax
add esp, 0x24
lea ebx, [edi + 2]
lea edx, [edi + 0x26]
mov eax, esi
call fcn.10024400
push str.row
lea edx, [edi + 4]
mov eax, esi
call fcn.100244c0
add esp, 4
push 3
push 3
push 7
push 0x5e
push esi
call fcn.100242d0
add esp, 0x14
push str._missing_from_index
lea edx, [edi + 5]
mov eax, esi
call fcn.100244c0
add esp, 4
push 3
push 3
push 4
push 0x5e
push esi
call fcn.100242d0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
add esp, 0x14
push ecx
lea edx, [edi + 5]
mov eax, esi
call fcn.100244c0
add esp, 4
push 3
push 3
push 4
push 0x5e
push esi
mov dword [esp + 0x44], eax
call fcn.100242d0
mov edi, ebx
add esp, 0x14
lea ebx, [edi + 2]
lea edx, [edi + 0x20]
mov eax, esi
call fcn.10024400
mov ebx, 0x8a
mov eax, esi
call fcn.100243a0
mov edi, eax
mov ebx, 0x15
mov eax, esi
mov dword [esp + 0x78], edi
call fcn.10024340
mov ecx, dword [esp + 0x48]
mov eax, esi
call fcn.10024c90
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x36], 0
je 0x10057ab4
mov eax, esi
call fcn.10024930
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x24], ecx
cmp ax, word [edx + 0x32]
jae 0x10057979
mov eax, dword [edx + 4]
movsx eax, word [eax + ecx*2]
test eax, eax
js 0x10057949
mov edi, dword [esp + 0x20]
mov edi, dword [edi + 4]
add eax, eax
cmp byte [edi + eax*8 + 0xc], 0
jne 0x1005796c
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
lea ebx, [ebx + edx]
mov edx, 0x4c
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 0x32]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x1005792e
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], ecx
jg 0x1005799b
mov eax, dword [esp + 0x28]
push 0
push 0
push eax
push 7
call fcn.10024290
add esp, 0x10
mov ebx, eax
jmp 0x100579c7
lea edx, [ecx + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 7
mov ebx, ecx
mov edi, dword [esp + 0x44]
mov eax, esi
call fcn.10024460
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [esi + 0x20]
mov ecx, ebx
test ebx, ebx
jns 0x100579e8
lea ecx, [eax - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x100579f7
mov ecx, 0x100d87f0
jmp 0x10057a00
mov edx, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x10]
push ecx
push edx
push 0x73
mov edx, ebx
mov ecx, esi
call fcn.100247f0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
add esp, 0xc
cmp dword [ecx + 0x58], eax
jg 0x10057a44
push 0
push 0xffffffffffffffff
push 1
push 0x25
call fcn.10024290
add esp, 0x10
jmp 0x10057a72
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x25
push str.non_unique_entry_in_index
mov edx, 3
mov eax, esi
call fcn.100244c0
mov edi, dword [esp + 0x34]
add esp, 4
mov eax, esi
call fcn.10024460
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x10057aa9
lea edx, [ebx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x78]
dec eax
mov dword [ecx + 0x60], eax
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
dec ecx
mov dword [edx + 0x60], ecx
mov ecx, dword [esi + 0x20]
test edi, edi
jns 0x10057ac8
lea edi, [ecx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x10057ad7
mov eax, 0x100d87f0
jmp 0x10057ae0
mov eax, dword [esi + 4]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov ebx, dword [esp + 0x50]
mov dword [eax + 8], ecx
test ebx, ebx
je 0x10057b16
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
mov edi, dword [edx + 0x18]
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10057b0a
lea ebx, [ebx*4 + 4]
sub ecx, ebx
mov ebx, dword [edx + 0x20]
mov dword [ecx], ebx
mov ecx, dword [edx + 0x20]
dec ecx
mov dword [edi + 0x60], ecx
call fcn.1003b610
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100577c3
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x10057b58
mov edx, dword [esp + 0x34]
push 0
push edi
push edx
push 7
call fcn.10024290
mov ebx, dword [esp + 0x30]
add esp, 0x10
jmp 0x10057b82
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 7
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec edx
mov dword [eax + 0x60], edx
mov ecx, dword [esi + 0x20]
lea eax, [edi - 1]
test eax, eax
jns 0x10057b99
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x10057ba8
mov eax, 0x100d87f0
jmp 0x10057bb1
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
push str.wrong__of_entries_in_index
mov edx, 2
mov eax, esi
call fcn.100244c0
mov eax, dword [ebx + 8]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10057e0f
mov edx, dword [esp + 0x2c]
mov ecx, 8
sub ecx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x6c], ecx
lea ebx, [ebx]
cmp dword [esp + 0x70], eax
je 0x10057dfa
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov edi, eax
lea ecx, [edi + 2]
cmp dword [edx + 0x58], eax
jg 0x10057c1f
xor ebx, ebx
push ebx
push ecx
push 1
push 0x8a
call fcn.10024290
add esp, 0x10
jmp 0x10057c4a
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax + 3], dl
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x8a
xor ebx, ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x10057c64
push ebx
push ebx
push ebx
push 0x15
call fcn.10024290
add esp, 0x10
jmp 0x10057c87
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x15
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x10057ca6
mov eax, dword [esp + 0x10]
push ebx
push 3
push eax
push 0x32
call fcn.10024290
add esp, 0x10
jmp 0x10057cd1
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], 3
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x32
mov edx, dword [esp + 0x6c]
add edx, dword [esp + 0x10]
push 3
add edi, 8
push edi
push edx
push 0x4f
push esi
call fcn.100242d0
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x45], bl
jne 0x10057d00
mov eax, dword [esi + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + edx*4 - 0x11], 0x90
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x10057d1c
push ebx
push 0xffffffffffffffff
push 1
push 0x25
call fcn.10024290
add esp, 0x10
jmp 0x10057d47
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], 1
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x25
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
mov edx, 3
mov eax, esi
call fcn.100244c0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
add esp, 4
cmp dword [ecx + 0x58], eax
jg 0x10057d7a
push 7
push 2
push 3
push 0x5e
call fcn.10024290
add esp, 0x10
jmp 0x10057da9
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], 3
mov dword [eax + 8], 2
mov dword [eax + 0xc], 7
mov dword [eax + 0x10], ebx
mov word [eax], 0x5e
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x10057dc9
push ebx
push 1
push 7
push 0x21
call fcn.10024290
mov eax, dword [esp + 0x2c]
add esp, 0x10
jmp 0x10057dfc
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov dword [esi + 0x20], ecx
mov byte [eax + 3], bl
mov dword [eax + 4], 7
mov dword [eax + 8], 1
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x21
mov eax, dword [esp + 0x1c]
jmp 0x10057dfc
xor ebx, ebx
mov eax, dword [eax + 0x14]
inc dword [esp + 0x10]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x10057bf0
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov dword [esp + 0x68], eax
test eax, eax
jne 0x10057584
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [edx + 0x14]
jl 0x100573a5
push 0x100b9cf8
push 4
mov edi, esi
call fcn.10024b60
add esp, 8
test eax, eax
je case.0x10055ddb.37
mov ecx, dword [esp + 0x4c]
neg ecx
mov dword [eax + 8], ecx
mov byte [eax + 0x29], 0xfe
mov dword [eax + 0x38], 0x100bfa98
jmp case.0x10055ddb.37
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x10057ea5
mov edi, dword [esp + 0x18]
call fcn.10058d40
test eax, eax
jne case.0x10055ddb.37
mov eax, edi
mov ecx, dword [eax]
movzx edx, byte [ecx + 0x42]
mov eax, dword [edx*8 + 0x100b9d08]
push str.encoding
mov ecx, esi
call fcn.10055980
add esp, 4
jmp case.0x10055ddb.37
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x10]
mov ecx, dword [edi + 0xc]
movzx eax, word [ecx + 0x4e]
test al, 1
je 0x10057ec3
test al, 4
je case.0x10055ddb.37
mov ebx, dword [esp + 0x14]
mov eax, dword [str.UTF8]
mov esi, 0x100b9d08
test eax, eax
je 0x10057f24
mov ecx, ebx
call fcn.10007010
test eax, eax
je 0x10057efb
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x10057ed1
mov edx, dword [esp + 0x18]
push ebx
push str.unsupported_encoding:__s
push edx
call fcn.10006e10
jmp 0x100584a0
mov al, byte [esi + 4]
test al, al
movzx eax, al
jne 0x10057f0a
mov eax, 2
mov edx, dword [esp + 0xc]
mov byte [edx + 0x42], al
mov ecx, dword [edi + 0xc]
mov byte [ecx + 0x4d], al
cmp dword [esi], 0
jne case.0x10055ddb.37
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
push str.unsupported_encoding:__s
push edx
call fcn.10006e10
jmp 0x100584a0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
mov ebx, dword [edi + 8]
mov eax, 1
shl eax, cl
or dword [esi + 0x68], eax
cmp ecx, 1
je 0x10057f5a
mov eax, esi
call fcn.10025490
cmp dword [esp + 0x14], 0
je 0x10057f98
test byte [edi + 5], 2
jne 0x10057f98
push 0x100b9d50
push 2
mov edi, esi
call fcn.10024b60
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esi + 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
call fcn.10007ad0
mov dword [esi + 0x20], eax
jmp case.0x10055ddb.37
push 0x100b9d58
push 3
mov edi, esi
call fcn.10024b60
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x20], ebx
push 1
mov ebx, esi
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ecx
call fcn.100261b0
mov ecx, dword [esp + 0x70]
add esp, 0xc
push 0xffffffffffffffff
push ecx
push 0
push 0
mov ecx, esi
call fcn.10026290
add esp, 0x10
and dword [esi + 0x60], 0xfffffff7
jmp case.0x10055ddb.37
mov edx, dword [esp + 0x18]
push str.compile_option
mov eax, esi
mov dword [esp + 0x28], 0
mov dword [edx + 0x4c], 1
call fcn.10055800
add esp, 4
push 0
call sym.SQLite3Encrypt.dll_sqlite3_compileoption_get
add esp, 4
test eax, eax
je 0x10058040
mov ebx, 1
add dword [esp + 0x24], ebx
push eax
mov edx, ebx
mov eax, esi
call fcn.100244c0
add esp, 4
mov edi, ebx
lea edx, [ebx + 0x20]
mov eax, esi
call fcn.10024400
mov eax, dword [esp + 0x24]
push eax
call sym.SQLite3Encrypt.dll_sqlite3_compileoption_get
add esp, 4
test eax, eax
jne 0x1005800d
and dword [esi + 0x60], 0xfffffff7
jmp case.0x10055ddb.37
mov ecx, dword [esp + 0x30]
cmp dword [ecx], 0
je 0x1005805c
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
jmp 0x10058064
mov dword [esp + 0x2c], 0xa
mov edi, dword [esp + 0x14]
xor ebx, ebx
test edi, edi
je 0x100580ab
mov eax, str.full
mov ecx, edi
call fcn.10007010
test eax, eax
jne 0x10058083
lea ebx, [eax + 1]
jmp 0x100580ab
mov eax, str.restart
mov ecx, edi
call fcn.10007010
test eax, eax
jne 0x10058098
lea ebx, [eax + 2]
jmp 0x100580ab
mov eax, str.truncate
mov ecx, edi
call fcn.10007010
test eax, eax
jne 0x100580ab
lea ebx, [eax + 3]
push 0x100d422c
push 3
mov edi, esi
call fcn.100557b0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
push 1
push ebx
push ecx
push 8
mov edi, 3
push esi
mov dword [eax + 0x4c], edi
call fcn.100242d0
add esp, 0x1c
lea ebx, [edi - 2]
lea edx, [edi + 0x1e]
mov eax, esi
call fcn.10024400
jmp case.0x10055ddb.37
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10058107
call fcn.10007ad0
mov edi, dword [esp + 0xc]
push eax
push edi
call sym.SQLite3Encrypt.dll_sqlite3_wal_autocheckpoint
add esp, 8
jmp 0x1005810b
mov edi, dword [esp + 0xc]
cmp dword [edi + 0xdc], 0x1007a8b0
jne 0x1005812a
mov eax, dword [edi + 0xe0]
cdq
push edx
push eax
push str.wal_autocheckpoint
jmp 0x10058499
xor eax, eax
cdq
push edx
push eax
push str.wal_autocheckpoint
jmp 0x10058499
mov edx, dword [esp + 0xc]
push edx
call sym.SQLite3Encrypt.dll_sqlite3_db_release_memory
add esp, 4
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je 0x10058179
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
call fcn.10007870
add esp, 4
test eax, eax
jne 0x10058179
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push edx
call sym.SQLite3Encrypt.dll_sqlite3_soft_heap_limit64
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call sym.SQLite3Encrypt.dll_sqlite3_soft_heap_limit64
push edx
push eax
push str.soft_heap_limit
mov eax, esi
call fcn.10055840
add esp, 0x14
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je 0x100581df
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
call fcn.10007870
add esp, 4
test eax, eax
jne 0x100581df
cmp dword [esp + 0x54], eax
jl 0x100581df
mov eax, dword [esp + 0x50]
jg 0x100581c4
test eax, eax
jb 0x100581df
and eax, 0x7fffffff
jl 0x100581df
cmp eax, 8
jle 0x100581d5
mov eax, 8
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x88], eax
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x88]
cdq
push edx
push eax
push str.threads
jmp 0x10058499
cmp dword [esp + 0x14], 0
je case.0x10055ddb.37
mov esi, dword [esp + 0x14]
mov eax, esi
call fcn.10006ca0
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x44]
push esi
push eax
push ecx
call sym.SQLite3Encrypt.dll_sqlite3_key_v2
add esp, 0x10
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je case.0x10055ddb.37
mov esi, dword [esp + 0x14]
mov eax, esi
call fcn.10006ca0
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x10]
push esi
push edx
push eax
call sym.SQLite3Encrypt.dll_sqlite3_rekey_v2
add esp, 0x10
jmp case.0x10055ddb.37
cmp dword [esp + 0x14], 0
je case.0x10055ddb.37
mov edi, dword [esp + 0x14]
mov eax, 1
sub eax, edi
mov dword [esp + 0x78], eax
mov eax, 2
sub eax, edi
mov dword [esp + 0x48], eax
or eax, 0xffffffff
sub eax, edi
mov dword [esp + 0x50], eax
mov eax, 3
sub eax, edi
mov dword [esp + 0x60], eax
mov eax, 4
xor esi, esi
xor cl, cl
sub eax, edi
mov dword [esp + 0x24], eax
mov al, byte [esi + edi]
movzx edx, al
test byte [edx + 0x100b8bf0], 8
je 0x10058435
movsx edx, al
mov eax, edx
sar eax, 6
and al, 1
mov bl, al
add bl, bl
add bl, bl
add bl, bl
sub bl, al
sub dl, bl
and dl, 0xf
shl cl, 4
mov eax, esi
add dl, cl
and eax, 1
mov dword [esp + 0x2c], eax
je 0x100582e3
mov ecx, esi
shr ecx, 1
mov byte [esp + ecx + 0x8c], dl
mov al, byte [esi + edi + 1]
movzx ecx, al
test byte [ecx + 0x100b8bf0], 8
je 0x10058425
movsx ecx, al
mov eax, ecx
sar eax, 6
and al, 1
mov bl, al
add bl, bl
add bl, bl
add bl, bl
sub bl, al
sub cl, bl
lea eax, [esi + edi]
add eax, dword [esp + 0x50]
and cl, 0xf
shl dl, 4
add cl, dl
and eax, 1
mov dword [esp + 0x74], eax
je 0x10058337
mov edx, dword [esp + 0x78]
lea eax, [esi + edi]
add edx, eax
shr edx, 1
mov byte [esp + edx + 0x8c], cl
mov al, byte [esi + edi + 2]
movzx edx, al
test byte [edx + 0x100b8bf0], 8
je 0x10058428
movsx edx, al
mov eax, edx
sar eax, 6
and al, 1
mov bl, al
add bl, bl
add bl, bl
add bl, bl
sub bl, al
sub dl, bl
and dl, 0xf
shl cl, 4
add dl, cl
cmp dword [esp + 0x2c], 0
je 0x10058382
mov ecx, dword [esp + 0x48]
lea eax, [esi + edi]
add ecx, eax
shr ecx, 1
mov byte [esp + ecx + 0x8c], dl
mov al, byte [esi + edi + 3]
movzx ecx, al
test byte [ecx + 0x100b8bf0], 8
je 0x1005842d
movsx ecx, al
mov eax, ecx
sar eax, 6
and al, 1
mov bl, al
add bl, bl
add bl, bl
add bl, bl
sub bl, al
sub cl, bl
and cl, 0xf
shl dl, 4
add cl, dl
cmp dword [esp + 0x74], 0
mov al, cl
je 0x100583cf
mov edx, dword [esp + 0x60]
lea ecx, [esi + edi]
add edx, ecx
shr edx, 1
mov byte [esp + edx + 0x8c], al
mov cl, byte [esi + edi + 4]
movzx edx, cl
test byte [edx + 0x100b8bf0], 8
je 0x10058432
movsx ecx, cl
mov edx, ecx
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub cl, bl
and cl, 0xf
shl al, 4
add cl, al
cmp dword [esp + 0x2c], 0
je 0x10058417
mov edx, dword [esp + 0x24]
lea eax, [esi + edi]
add edx, eax
shr edx, 1
mov byte [esp + edx + 0x8c], cl
add esi, 5
cmp esi, 0x50
jb 0x1005829c
jmp 0x10058435
inc esi
jmp 0x10058435
add esi, 2
jmp 0x10058435
add esi, 3
jmp 0x10058435
add esi, 4
mov eax, dword [esp + 0x64]
mov cl, byte [eax + 3]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x44]
and cl, 0xf
lea edx, [esp + 0x90]
push edx
cmp cl, 0xb
mov ecx, dword [esp + 0x14]
push eax
push ecx
jne 0x10058247
call sym.SQLite3Encrypt.dll_sqlite3_key_v2
add esp, 0x10
jmp case.0x10055ddb.37
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10058487
call fcn.10007ad0
mov edx, dword [esp + 0xc]
push eax
push edx
call sym.SQLite3Encrypt.dll_sqlite3_busy_timeout
add esp, 8
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1ac]
cdq
push edx
push eax
push str.timeout
mov eax, esi
call fcn.10055840
add esp, 0xc
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
mov ecx, esi
call fcn.10004130
mov eax, dword [esp + 0x14]
mov ecx, esi
call fcn.10004130
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a3aa6
mov esp, ebp
pop ebp
ret