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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1016e750]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edx
mov edx, 0xc8
mov dword [ebp - 0x24], ecx
mov ecx, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
call fcn.1005f370
mov esi, eax
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x100a3886
push 0xc8
push 0
push esi
call fcn.101078f0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [esi], ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x100a386d
mov dword [eax + 0x38], esi
mov eax, dword [ecx + 4]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], 0
mov dword [ecx + 4], esi
mov dword [esi + 0x30], 0x26bceaa5
jmp 0x100a388b
xor esi, esi
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], esi
test esi, esi
je 0x100a5957
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
push ecx
mov byte [esi + 0x60], 1
mov ecx, eax
push edi
mov dword [eax + 0x4c], 2
call fcn.10093900
mov edi, eax
add esp, 8
mov dword [ebp - 0x40], edi
test edi, edi
js 0x100a5957
mov eax, dword [ebp - 0x1c]
mov ecx, edi
shl ecx, 4
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x20], ecx
cmp edi, 1
jne 0x100a38e9
mov ecx, dword [ebp - 0x24]
call fcn.10097560
test eax, eax
jne 0x100a5957
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x48]
mov ecx, eax
call fcn.100936d0
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100a5957
cmp dword [ebp + 0x10], 0
je 0x100a391e
push dword [ebp - 0x34]
push 0x10145148
push dword [ebp - 0x1c]
call fcn.10060750
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x30], ecx
jmp 0x100a392e
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
call fcn.100936d0
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jbe 0x100a393e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
jmp 0x100a3940
xor eax, eax
push eax
push ecx
mov ecx, dword [ebp - 0x2c]
mov edx, 0x13
push ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
call fcn.100928e0
add esp, 0xc
test eax, eax
jne 0x100a5941
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0xe
push dword [ebp - 0x3c]
mov dword [ebp - 0x10], ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0xc], 0
call fcn.100c20c0
add esp, 0x10
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x100a39fd
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100a5913
mov ecx, dword [ebp - 0x24]
mov edx, 0x5e
push 0
push eax
push 0
inc dword [ecx + 0x4c]
mov edi, dword [ecx + 0x4c]
mov ecx, esi
push edi
push 0
call fcn.1007a700
add esp, 0x14
mov edx, 1
mov ecx, esi
call fcn.1007bcf0
push 0
push str.result
push 0
xor edx, edx
mov ecx, esi
call fcn.1007bd80
add esp, 0xc
mov edx, 0x10
mov ecx, esi
push 1
push edi
call fcn.1007a690
push dword [ebp - 0x18]
call fcn.1005f070
add esp, 0xc
jmp 0x100a5913
cmp eax, 0xc
je 0x100a3a36
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100a3a28
push ecx
push 0x10141f2c
push dword [ebp - 0x24]
call fcn.10061300
add esp, 0xc
push dword [ebp - 0x18]
call fcn.1005f070
mov eax, dword [ebp - 0x38]
add esp, 4
mov ecx, dword [ebp - 0x24]
inc dword [ecx + 0x44]
mov dword [ecx + 0xc], eax
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.default_cache_size
call fcn.10061400
test eax, eax
jne 0x100a3b45
mov ecx, dword [ebp - 0x24]
call fcn.100a60b0
test eax, eax
jne 0x100a5941
mov edx, edi
mov ecx, esi
call fcn.1007b140
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x100a3af2
lea edx, [eax + 1]
mov ecx, esi
call fcn.1007bcf0
push 0
push str.cache_size
push 0
xor edx, edx
mov ecx, esi
call fcn.1007bd80
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov edx, 8
mov ecx, esi
add dword [eax + 0x4c], 2
push 0x10132a70
call fcn.1007aab0
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x1c], eax
jbe 0x100a3abb
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4 + 4], edi
lea ecx, [eax + 1]
cmp dword [esi + 0x1c], ecx
jbe 0x100a3ad0
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edi
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
add eax, 6
cmp dword [esi + 0x1c], eax
jbe 0x100a5916
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], 0x7d0
jmp 0x100a5916
mov ecx, eax
call fcn.10061d50
mov ecx, eax
call fcn.100623f0
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov edi, eax
call fcn.10097730
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push edi
call fcn.1007a690
push 1
push 3
push dword [ebp - 0x40]
mov edx, 0x25
mov ecx, esi
call fcn.1007a570
mov esi, dword [ebp - 0x20]
add esp, 0x14
mov eax, dword [esi + 0xc]
mov dword [eax + 0x50], edi
jmp 0x100a413b
mov ecx, dword [ebp - 0x2c]
mov edx, str.page_size
call fcn.10061400
test eax, eax
jne 0x100a3bbe
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x30]
mov esi, dword [eax + 4]
test edi, edi
jne 0x100a3b89
test esi, esi
je 0x100a3b6f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
jmp 0x100a3b71
xor eax, eax
mov ecx, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, str.page_size
call fcn.100a3490
add esp, 8
jmp 0x100a5913
mov ecx, edi
call fcn.10061d50
mov ecx, dword [ebp - 0x1c]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x3c], eax
mov ecx, esi
call fcn.10070c30
mov edx, dword [ebp - 0x1c]
add esp, 8
mov esi, dword [ebp - 0x20]
cmp eax, 7
jne 0x100a5919
mov byte [edx + 0x36], 1
jmp 0x100a5919
mov ecx, dword [ebp - 0x2c]
mov edx, str.secure_delete
call fcn.10061400
test eax, eax
jne 0x100a3c55
mov esi, dword [ebp - 0x20]
or edx, 0xffffffff
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0x38], eax
test edi, edi
je 0x100a3bf8
xor edx, edx
mov ecx, edi
call fcn.100a32c0
movzx edx, al
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x100a3c2f
test edx, edx
js 0x100a3c2f
mov eax, dword [ebp - 0x1c]
xor edi, edi
cmp dword [eax + 0x14], edi
jle 0x100a3c2f
xor esi, esi
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + esi + 4]
call fcn.10070da0
mov eax, dword [ebp - 0x1c]
lea esi, [esi + 0x10]
mov edx, dword [ebp - 0x3c]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x100a3c11
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
call fcn.10070da0
mov ecx, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, str.secure_delete
call fcn.100a3490
mov edx, dword [ebp - 0x1c]
add esp, 8
jmp 0x100a5919
mov ecx, dword [ebp - 0x2c]
mov edx, str.page_count
call fcn.10061400
test eax, eax
je 0x100a5878
mov ecx, dword [ebp - 0x2c]
mov edx, str.max_page_count
call fcn.10061400
test eax, eax
je 0x100a5878
mov ecx, dword [ebp - 0x2c]
mov edx, str.locking_mode
call fcn.10061400
test eax, eax
jne 0x100a3d64
mov ecx, dword [ebp - 0x30]
call fcn.100a32e0
mov edx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
test eax, eax
jne 0x100a3cf3
cmp edx, 0xffffffff
jne 0x100a3cb6
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x37]
jmp 0x100a3d03
test eax, eax
jne 0x100a3cf3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 2
jle 0x100a3cf0
mov edi, 0x20
lea esi, [edi - 0x1e]
jmp 0x100a3cd0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.1006bba0
mov eax, dword [ebp - 0x1c]
lea edi, [edi + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x100a3cd0
mov esi, dword [ebp - 0x4c]
mov byte [eax + 0x37], dl
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call fcn.1006bba0
cmp eax, 1
mov edi, str.exclusive
mov eax, str.normal
mov edx, 1
mov ecx, esi
cmovne edi, eax
call fcn.1007bcf0
push 0
push str.locking_mode
push 0
xor edx, edx
mov ecx, esi
call fcn.1007bd80
add esp, 0xc
push 0
push edi
push 0
push 1
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.1007a700
add esp, 0x14
push 1
push 1
mov edx, 0x10
mov ecx, esi
call fcn.1007a690
add esp, 8
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.journal_mode
call fcn.10061400
test eax, eax
jne 0x100a3e7d
mov ecx, dword [ebp - 0x24]
call fcn.100a60b0
test eax, eax
jne 0x100a5941
lea edx, [eax + 1]
mov ecx, esi
call fcn.1007bcf0
push 0
push str.journal_mode
push 0
xor edx, edx
mov ecx, esi
call fcn.1007bd80
mov edx, dword [ebp - 0x30]
add esp, 0xc
test edx, edx
je 0x100a3e5c
mov ecx, edx
call fcn.10061200
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp edi, 6
je 0x100a3e5c
mov ecx, dword [edi*4 + 0x10134c60]
test ecx, ecx
je 0x100a3e5c
push eax
push ecx
push edx
call fcn.10061450
add esp, 0xc
test eax, eax
je 0x100a3df2
mov eax, dword [ebp - 0x38]
inc edi
mov edx, dword [ebp - 0x30]
jmp 0x100a3dbf
cmp edi, 0xffffffff
je 0x100a3e63
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 0x14]
dec edi
js 0x100a3d4c
mov edx, edi
shl edx, 4
mov dword [ebp - 0x34], edx
nop
mov eax, dword [eax + 0x10]
cmp dword [eax + edx + 4], 0
je 0x100a3e48
cmp edi, ecx
je 0x100a3e27
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x100a3e48
mov edx, edi
mov ecx, esi
call fcn.1007b140
push dword [ebp - 0x3c]
mov edx, 0x7e
mov ecx, esi
push 1
push edi
call fcn.1007a570
mov edx, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x40]
sub edx, 0x10
dec edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
jns 0x100a3e10
jmp 0x100a3d4c
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x100a3df7
xor ecx, ecx
mov dword [eax + 4], 1
mov dword [ebp - 0x40], ecx
jmp 0x100a3dfa
mov ecx, dword [ebp - 0x2c]
mov edx, str.journal_size_limit
call fcn.10061400
test eax, eax
jne 0x100a3efe
mov eax, dword [ebp - 0x20]
or ecx, 0xffffffff
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x58], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov eax, 0xfffffffe
mov dword [ebp - 0x5c], eax
test edi, edi
je 0x100a3ede
push 1
push 0xf4240
lea edx, [ebp - 0x5c]
mov ecx, edi
call fcn.10061ad0
mov ecx, dword [ebp - 0x58]
add esp, 8
cmp ecx, 0xffffffff
jg 0x100a3edb
jl 0x100a3ed4
mov eax, dword [ebp - 0x5c]
cmp eax, 0xffffffff
jae 0x100a3ede
or eax, 0xffffffff
or ecx, eax
jmp 0x100a3ede
mov eax, dword [ebp - 0x5c]
push ecx
push eax
mov ecx, esi
call fcn.1006bcc0
mov ecx, dword [ebp - 0x24]
push edx
push eax
mov edx, str.journal_size_limit
call fcn.100a3490
add esp, 0x10
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.auto_vacuum
call fcn.10061400
test eax, eax
jne 0x100a4024
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
call fcn.100a60b0
test eax, eax
jne 0x100a5941
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x100a3f5d
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x100a3f43
mov ecx, eax
call fcn.10070e90
jmp 0x100a3f45
xor eax, eax
mov ecx, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, str.auto_vacuum
call fcn.100a3490
add esp, 8
jmp 0x100a5913
mov ecx, eax
call fcn.100a3320
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov byte [edx + 0x38], al
test eax, eax
js 0x100a5916
mov ecx, dword [ebp - 0x34]
mov edx, eax
call fcn.10070e10
test eax, eax
jne 0x100a5913
mov eax, dword [ebp - 0x4c]
cmp eax, 1
je 0x100a3f98
cmp eax, 2
jne 0x100a5913
push 0x10134e60
mov edx, 6
mov ecx, esi
call fcn.1007aab0
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [esi + 0x1c], eax
jbe 0x100a3fbe
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4 + 4], edi
lea ecx, [eax + 1]
cmp dword [esi + 0x1c], ecx
jbe 0x100a3fd3
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edi
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 2]
cmp dword [esi + 0x1c], ecx
jbe 0x100a3feb
lea edx, [eax + 4]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 4]
cmp dword [esi + 0x1c], ecx
jbe 0x100a4004
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov edx, dword [ebp - 0x4c]
dec edx
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [ebp - 0x28]
add eax, 5
cmp dword [esi + 0x1c], eax
jbe 0x100a4016
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edx, edi
mov ecx, esi
call fcn.1007b140
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.incremental_vacuum
call fcn.10061400
test eax, eax
jne 0x100a40e1
mov ecx, dword [ebp - 0x24]
call fcn.100a60b0
test eax, eax
jne 0x100a5941
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x100a4068
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10061c70
test eax, eax
je 0x100a4068
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
test eax, eax
jg 0x100a406f
mov dword [ebp - 0x34], SysFreeString
mov ecx, dword [ebp - 0x24]
xor edx, edx
push edi
call fcn.10097730
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push dword [ebp - 0x34]
call fcn.1007a690
push edi
mov edx, 0x80
mov ecx, esi
call fcn.1007a630
add esp, 0xc
mov edx, 0x10
mov ecx, esi
mov edi, eax
push 1
call fcn.1007a630
add esp, 4
mov edx, 0x14
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.1007a690
push edi
push 1
mov edx, 0x78
mov ecx, esi
call fcn.1007a690
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.1007ab60
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.cache_size
call fcn.10061400
test eax, eax
jne 0x100a4151
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.100a60b0
test eax, eax
jne 0x100a5941
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x100a412b
mov eax, dword [ebp - 0x20]
mov ecx, esi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
mov edx, str.cache_size
call fcn.100a3490
add esp, 8
jmp 0x100a5913
mov ecx, edi
call fcn.10061d50
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x50], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [edx + 0x50]
call fcn.10070b00
mov edx, dword [ebp - 0x1c]
jmp 0x100a5919
mov ecx, dword [ebp - 0x2c]
mov edx, str.temp_store
call fcn.10061400
test eax, eax
jne 0x100a4194
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x100a4188
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x35]
cdq
push edx
push eax
mov edx, str.temp_store
call fcn.100a3490
add esp, 8
jmp 0x100a5913
mov edx, edi
call fcn.100a33f0
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.temp_store_directory
call fcn.10061400
test eax, eax
jne 0x100a4265
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x100a41e5
cmp dword [0x1017283c], edi
je 0x100a5913
lea edx, [eax + 1]
mov ecx, esi
call fcn.1007bcf0
push edi
push str.temp_store_directory
push edi
xor edx, edx
mov ecx, esi
call fcn.1007bd80
add esp, 0xc
push edi
push dword [0x1017283c]
jmp 0x100a3d37
cmp byte [edi], 0
je 0x100a421a
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push ecx
push 1
push edi
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x100a4208
cmp dword [ebp - 0x38], eax
jne 0x100a421a
push str.not_a_writable_directory
push dword [ebp - 0x24]
call fcn.10061300
jmp 0x100a593e
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x35], 1
ja 0x100a422b
mov ecx, dword [ebp - 0x24]
call fcn.100a33a0
push dword [0x1017283c]
call fcn.1005f070
add esp, 4
cmp byte [edi], 0
je 0x100a4256
push edi
push 0x10141f2c
call fcn.10060830
add esp, 8
mov dword [0x1017283c], eax
jmp 0x100a5913
mov dword [0x1017283c], 0
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.data_store_directory
call fcn.10061400
test eax, eax
jne 0x100a431b
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x100a42b6
cmp dword [0x10172738], edi
je 0x100a5913
lea edx, [eax + 1]
mov ecx, esi
call fcn.1007bcf0
push edi
push str.data_store_directory
push edi
xor edx, edx
mov ecx, esi
call fcn.1007bd80
add esp, 0xc
push edi
push dword [0x10172738]
jmp 0x100a3d37
cmp byte [edi], 0
je 0x100a42e1
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push ecx
push 1
push edi
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x100a4208
cmp dword [ebp - 0x38], eax
je 0x100a4208
push dword [0x10172738]
call fcn.1005f070
add esp, 4
cmp byte [edi], 0
je 0x100a430c
push edi
push 0x10141f2c
call fcn.10060830
add esp, 8
mov dword [0x10172738], eax
jmp 0x100a5913
mov dword [0x10172738], 0
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.synchronous
call fcn.10061400
test eax, eax
jne 0x100a439e
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.100a60b0
test eax, eax
jne 0x100a5941
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x100a4364
mov eax, dword [ebp - 0x20]
mov ecx, esi
movzx eax, byte [eax + 9]
dec eax
cdq
push edx
push eax
mov edx, str.synchronous
call fcn.100a3490
add esp, 8
jmp 0x100a5913
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x34], 0
jne 0x100a4380
push str.Safety_level_may_not_be_changed_inside_a_transaction
push esi
call fcn.10061300
add esp, 8
jmp 0x100a5913
push 1
xor edx, edx
mov ecx, edi
call fcn.100a3210
mov esi, dword [ebp - 0x20]
add esp, 4
mov edx, dword [ebp - 0x1c]
inc al
mov byte [esi + 9], al
jmp 0x100a5919
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
call fcn.100a3680
add esp, 4
test eax, eax
jne 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.table_info
call fcn.10061400
test eax, eax
jne 0x100a45bb
cmp dword [ebp - 0x30], eax
je 0x100a45bb
mov ecx, dword [ebp - 0x24]
call fcn.100a60b0
test eax, eax
jne 0x100a5941
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.10092f00
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
test edi, edi
je 0x100a5913
mov edx, 6
mov dword [ebp - 0x28], 0
mov ecx, esi
call fcn.1007bcf0
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push 0x101452a8
push 0
mov ecx, esi
mov dword [eax + 0x4c], 6
call fcn.1007bd80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.type
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push str.notnull
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push str.dflt_value
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push 0x101452d0
push 0
call fcn.1007bd80
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov edx, edi
call fcn.10094e30
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x4c], eax
cmp dword [ecx + 8], eax
jle 0x100a5913
jmp 0x100a44d0
cmp byte [edi + 0x17], 0
je 0x100a44de
inc dword [ebp - 0x28]
jmp 0x100a45a6
sub eax, dword [ebp - 0x28]
mov edx, 7
push 1
push eax
mov ecx, esi
call fcn.1007a690
push 0
push dword [edi]
mov edx, 0x5e
mov ecx, esi
push 0
push 2
push 0
call fcn.1007a700
mov eax, dword [edi + 0xc]
add esp, 0x1c
test eax, eax
mov ecx, 0x10141177
mov edx, 0x5e
cmovne ecx, eax
push 0
push ecx
push 0
push 3
push 0
mov ecx, esi
call fcn.1007a700
xor eax, eax
add esp, 0x14
cmp byte [edi + 0x14], al
mov edx, 7
mov ecx, esi
setne al
push 4
push eax
call fcn.1007a690
mov eax, dword [edi + 8]
add esp, 8
mov ecx, esi
test eax, eax
je 0x100a4569
push 0
push eax
push 0
push 5
push 0
mov edx, 0x5e
call fcn.1007a700
add esp, 0x14
jmp 0x100a457a
push 5
push 0
mov edx, 0xa
call fcn.1007a690
add esp, 8
movzx eax, byte [edi + 0x15]
mov edx, 7
push 6
push eax
mov ecx, esi
call fcn.1007a690
push 6
push 1
mov edx, 0x10
mov ecx, esi
call fcn.1007a690
mov eax, dword [ebp - 0x4c]
add esp, 0x10
mov ecx, dword [ebp - 0x34]
inc eax
add edi, 0x18
mov dword [ebp - 0x4c], eax
cmp eax, dword [ecx + 8]
jl 0x100a44d0
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.index_info
call fcn.10061400
test eax, eax
jne 0x100a46e4
cmp dword [ebp - 0x30], eax
je 0x100a46e4
mov ecx, dword [ebp - 0x24]
call fcn.100a60b0
test eax, eax
jne 0x100a5941
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.10093080
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
test edi, edi
je 0x100a5913
mov eax, dword [edi + 0xc]
mov edx, 3
mov ecx, esi
mov dword [ebp - 0x38], eax
call fcn.1007bcf0
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push str.seqno
push 0
mov ecx, esi
mov dword [eax + 0x4c], 3
call fcn.1007bd80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x101452a8
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.name
push 0
call fcn.1007bd80
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x34], ecx
cmp dword [edi + 0x24], ecx
jle 0x100a5913
mov eax, dword [edi + 4]
mov edx, 7
push 1
push ecx
mov edi, dword [eax + ecx*4]
mov ecx, esi
call fcn.1007a690
push 2
push edi
mov edx, 7
mov ecx, esi
call fcn.1007a690
mov eax, dword [ebp - 0x38]
lea ecx, [edi + edi*2]
push 0
mov edx, 0x5e
mov eax, dword [eax + 0xc]
push dword [eax + ecx*8]
mov ecx, esi
push 0
push 3
push 0
call fcn.1007a700
add esp, 0x24
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.1007a690
mov ecx, dword [ebp - 0x34]
add esp, 8
mov edi, dword [ebp - 0x48]
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, dword [edi + 0x24]
jl 0x100a4676
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.index_list
call fcn.10061400
test eax, eax
jne 0x100a480c
cmp dword [ebp - 0x30], eax
je 0x100a480c
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.100a60b0
test eax, eax
jne 0x100a5941
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.10092f00
mov esi, eax
add esp, 4
test esi, esi
je 0x100a5913
mov ecx, edi
call fcn.100a8de0
mov esi, dword [esi + 0x10]
mov edi, eax
test esi, esi
je 0x100a5913
mov edx, 3
mov dword [ebp - 0x34], 0
mov ecx, edi
call fcn.1007bcf0
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push 0x101452f4
push 0
mov ecx, edi
mov dword [eax + 0x4c], 3
call fcn.1007bd80
add esp, 0xc
mov edx, 1
mov ecx, edi
push 0
push str.name
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push str.unique
push 0
call fcn.1007bd80
add esp, 0xc
xor eax, eax
push 1
push eax
mov edx, 7
mov ecx, edi
call fcn.1007a690
push 0
push dword [esi]
mov edx, 0x5e
mov ecx, edi
push 0
push 2
push 0
call fcn.1007a700
xor eax, eax
add esp, 0x1c
cmp byte [esi + 0x2c], al
mov edx, 7
mov ecx, edi
setne al
push 3
push eax
call fcn.1007a690
push 3
push 1
mov edx, 0x10
mov ecx, edi
call fcn.1007a690
mov eax, dword [ebp - 0x34]
add esp, 0x10
mov esi, dword [esi + 0x14]
inc eax
mov dword [ebp - 0x34], eax
test esi, esi
jne 0x100a47a7
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.database_list
call fcn.10061400
test eax, eax
jne 0x100a492e
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.100a60b0
test eax, eax
jne 0x100a5941
lea edx, [eax + 3]
mov ecx, esi
call fcn.1007bcf0
push 0
push 0x101452f4
push 0
xor edx, edx
mov dword [edi + 0x4c], 3
mov ecx, esi
call fcn.1007bd80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x10144f84
push 0
call fcn.1007bd80
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x34], ecx
cmp dword [edx + 0x14], ecx
jle 0x100a5916
xor edi, edi
lea esp, [esp]
mov eax, dword [edx + 0x10]
cmp dword [eax + edi + 4], 0
je 0x100a4919
push 1
push ecx
mov edx, 7
mov ecx, esi
call fcn.1007a690
mov eax, dword [ebp - 0x1c]
mov edx, 0x5e
push 0
mov ecx, esi
mov eax, dword [eax + 0x10]
push dword [eax + edi]
push 0
push 2
push 0
call fcn.1007a700
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
mov ecx, dword [eax + 0x10]
push 0
mov ecx, dword [ecx + edi + 4]
call fcn.10078030
push eax
push 0
push 3
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.1007a700
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.1007a690
mov ecx, dword [ebp - 0x34]
add esp, 8
mov edx, dword [ebp - 0x1c]
inc ecx
add edi, 0x10
mov dword [ebp - 0x34], ecx
cmp ecx, dword [edx + 0x14]
jl 0x100a48a0
jmp 0x100a5916
mov ecx, dword [ebp - 0x2c]
mov edx, str.collation_list
call fcn.10061400
test eax, eax
jne 0x100a49f4
lea edx, [eax + 2]
mov dword [ebp - 0x28], eax
mov ecx, esi
call fcn.1007bcf0
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push 0x101452f4
push 0
mov ecx, esi
mov dword [eax + 0x4c], 2
call fcn.1007bd80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.1007bd80
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [eax + 0x1a4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x100a5913
jmp 0x100a49a0
mov edi, dword [eax + 8]
mov edx, 7
push 1
push dword [ebp - 0x28]
mov ecx, esi
call fcn.1007a690
inc dword [ebp - 0x28]
mov edx, 0x5e
push 0
push dword [edi]
mov ecx, esi
push 0
push 2
push 0
call fcn.1007a700
add esp, 0x1c
mov edx, 0x10
mov ecx, esi
push 2
push 1
call fcn.1007a690
mov eax, dword [ebp - 0x34]
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x100a49a0
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.foreign_key_list
call fcn.10061400
test eax, eax
jne 0x100a4c99
cmp dword [ebp - 0x30], eax
je 0x100a4c99
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.100a60b0
test eax, eax
jne 0x100a5941
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.10092f00
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
test edi, edi
je 0x100a5913
mov ecx, esi
call fcn.100a8de0
mov edi, dword [edi + 0x24]
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x44], edi
test edi, edi
je 0x100a5913
mov edx, 8
mov dword [ebp - 0x50], 0
mov ecx, esi
call fcn.1007bcf0
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push 0x10145334
push 0
mov ecx, esi
mov dword [eax + 0x4c], 8
call fcn.1007bd80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x101452f4
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.table
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push str.from
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push 0x10145340
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push str.on_update
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 6
mov ecx, esi
push 0
push str.on_delete
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 7
mov ecx, esi
push 0
push str.match
push 0
call fcn.1007bd80
add esp, 0xc
xor eax, eax
jmp 0x100a4b40
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x3c], 0
jle 0x100a4c82
lea ecx, [edi + 0x24]
mov dword [ebp - 0x40], ecx
jmp 0x100a4b60
mov esi, dword [ecx + 4]
mov cl, byte [edi + 0x19]
call fcn.100a37d0
mov cl, byte [edi + 0x1a]
mov dword [ebp - 0x48], eax
call fcn.100a37d0
mov ecx, dword [ebp - 0x28]
mov edx, 7
push 1
push dword [ebp - 0x50]
mov edi, eax
call fcn.1007a690
mov ecx, dword [ebp - 0x28]
mov edx, 7
push 2
push dword [ebp - 0x3c]
call fcn.1007a690
mov eax, dword [ebp - 0x44]
mov edx, 0x5e
mov ecx, dword [ebp - 0x28]
push 0
push dword [eax + 8]
push 0
push 3
push 0
call fcn.1007a700
mov eax, dword [ebp - 0x40]
add esp, 0x24
mov edx, 0x5e
mov eax, dword [eax]
push 0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
push dword [eax + ecx*8]
mov ecx, dword [ebp - 0x28]
push 0
push 4
push 0
call fcn.1007a700
add esp, 0x14
mov eax, 0x5e
test esi, esi
mov edx, 0xa
cmovne edx, eax
push 0
push esi
mov esi, dword [ebp - 0x28]
mov ecx, esi
push 0
push 5
push 0
call fcn.1007a700
add esp, 0x14
mov ecx, esi
push 0
push edi
push 0
push 6
mov edi, 0x5e
push 0
mov edx, edi
call fcn.1007a700
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push dword [ebp - 0x48]
push 0
push 7
push 0
call fcn.1007a700
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push str.NONE
push 0
push 8
push 0
call fcn.1007a700
add esp, 0x14
lea edx, [edi - 0x4e]
mov ecx, esi
push 8
push 1
call fcn.1007a690
mov eax, dword [ebp - 0x3c]
add esp, 8
mov edi, dword [ebp - 0x44]
inc eax
mov ecx, dword [ebp - 0x40]
add ecx, 8
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
cmp eax, dword [edi + 0x14]
jl 0x100a4b60
mov eax, dword [ebp - 0x50]
mov edi, dword [edi + 4]
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x100a4b40
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.case_sensitive_like
call fcn.10061400
test eax, eax
jne 0x100a4cce
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x100a5913
xor edx, edx
mov ecx, edi
call fcn.100a32c0
mov ecx, dword [ebp - 0x1c]
movzx edx, al
call fcn.1009bec0
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.integrity_check
call fcn.10061400
test eax, eax
je 0x100a51b5
mov ecx, dword [ebp - 0x2c]
mov edx, str.quick_check
call fcn.10061400
test eax, eax
je 0x100a51b5
mov ecx, dword [ebp - 0x2c]
mov edx, str.encoding
call fcn.10061400
test eax, eax
jne 0x100a4e55
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x100a4dd3
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.100a60b0
test eax, eax
jne 0x100a5941
lea edx, [eax + 1]
mov ecx, esi
call fcn.1007bcf0
push 0
push str.encoding
push 0
xor edx, edx
mov ecx, esi
call fcn.1007bd80
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push 1
push 0
call fcn.1007a690
mov eax, dword [edi]
add esp, 8
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
mov eax, dword [eax*8 + 0x10132420]
mov dword [ebp - 0x38], eax
test edx, edx
je 0x100a4dc0
cmp byte [ecx + 0x36], 0
jne 0x100a4dc0
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.1007ab80
mov eax, dword [ebp - 0x38]
add esp, 4
mov dword [edi + 0x10], 0
test eax, eax
jne 0x100a4db4
mov dword [edi + 0x10], eax
mov byte [edi + 1], al
jmp 0x100a3d4c
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfe
jmp 0x100a3d4c
push eax
mov edx, 0xfffffffe
call fcn.1007ab80
add esp, 4
jmp 0x100a3d4c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x4e]
test al, 1
je 0x100a4dec
test al, 4
je 0x100a5913
mov eax, dword [str.UTF8]
mov esi, 0x10132420
test eax, eax
je 0x100a4e3f
lea ebx, [ebx]
mov edx, eax
mov ecx, edi
call fcn.10061400
test eax, eax
je 0x100a4e19
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x100a4e00
jmp 0x100a4e3f
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x100a4e28
mov ecx, 2
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x4d], cl
cmp dword [esi], 0
jne 0x100a5913
push edi
push str.unsupported_encoding:__s
push dword [ebp - 0x24]
call fcn.10061300
add esp, 0xc
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.schema_version
call fcn.10061400
test eax, eax
je 0x100a5082
mov ecx, dword [ebp - 0x2c]
mov edx, str.user_version
call fcn.10061400
test eax, eax
je 0x100a5082
mov ecx, dword [ebp - 0x2c]
mov edx, str.freelist_count
call fcn.10061400
test eax, eax
je 0x100a5082
mov ecx, dword [ebp - 0x2c]
mov edx, str.compile_options
call fcn.10061400
test eax, eax
jne 0x100a4f23
lea edx, [eax + 1]
mov ecx, esi
xor edi, edi
call fcn.1007bcf0
mov eax, dword [ebp - 0x24]
xor edx, edx
push edi
push str.compile_option
push edi
mov ecx, esi
mov dword [eax + 0x4c], 1
call fcn.1007bd80
add esp, 0xc
push edi
call fcn.1005c280
add esp, 4
test eax, eax
je 0x100a5913
lea ecx, [edi + 0x5e]
push 0
push eax
push 0
push 1
mov edx, ecx
inc edi
push 0
mov ecx, esi
call fcn.1007a700
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 1
push 1
call fcn.1007a690
push edi
call fcn.1005c280
add esp, 0xc
mov ecx, 0x5e
test eax, eax
jne 0x100a4ee6
jmp 0x100a5913
mov ecx, dword [ebp - 0x2c]
mov edx, str.wal_checkpoint
call fcn.10061400
test eax, eax
jne 0x100a5003
mov eax, dword [ebp - 0x28]
mov ecx, 0xa
cmp dword [eax], 0
mov eax, dword [ebp - 0x30]
cmovne ecx, edi
xor edi, edi
mov dword [ebp - 0x38], ecx
test eax, eax
je 0x100a4f7e
mov edx, str.full
mov ecx, eax
call fcn.10061400
test eax, eax
jne 0x100a4f67
lea edi, [eax + 1]
jmp 0x100a4f7e
mov ecx, dword [ebp - 0x30]
mov edx, str.restart
call fcn.10061400
test eax, eax
mov eax, 2
cmove edi, eax
mov ecx, dword [ebp - 0x24]
call fcn.100a60b0
test eax, eax
jne 0x100a5941
lea edx, [eax + 3]
mov ecx, esi
call fcn.1007bcf0
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push str.busy
push 0
mov ecx, esi
mov dword [eax + 0x4c], 3
call fcn.1007bd80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x101454d8
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.checkpointed
push 0
call fcn.1007bd80
add esp, 0xc
mov edx, 0x7d
mov ecx, esi
push 1
push edi
push dword [ebp - 0x38]
call fcn.1007a570
add esp, 0xc
push 3
jmp 0x100a3d4e
mov esi, dword [ebp - 0x2c]
mov edx, str.wal_autocheckpoint
mov ecx, esi
call fcn.10061400
test eax, eax
jne 0x100a5061
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x100a5030
mov ecx, edi
call fcn.10061d50
push eax
push dword [ebp - 0x1c]
call fcn.100c0a10
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0x100c09d0
jne 0x100a5047
mov eax, dword [eax + 0xc0]
jmp 0x100a5049
xor eax, eax
mov ecx, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, str.wal_autocheckpoint
call fcn.100a3490
add esp, 8
jmp 0x100a5913
mov edx, str.shrink_memory
mov ecx, esi
call fcn.10061400
test eax, eax
jne 0x100a5913
mov ecx, dword [ebp - 0x1c]
call fcn.100bf7d0
jmp 0x100a5913
mov edx, edi
mov ecx, esi
call fcn.1007b140
mov ecx, dword [ebp - 0x2c]
movsx eax, byte [ecx]
add eax, 0xffffffba
cmp eax, 0x2d
ja case.0x100a50a0.71
movzx eax, byte [eax + 0x100a5974]
jmp dword [eax*4 + 0x100a5968]
xor eax, eax
jmp 0x100a50b7
mov eax, 1
jmp 0x100a50b7
mov eax, 6
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x100a514a
test eax, eax
je 0x100a514a
push 0x1013228c
mov edx, 3
mov ecx, esi
call fcn.1007aab0
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x1c], eax
jbe 0x100a50f3
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4 + 4], edi
mov ecx, dword [ebp - 0x30]
call fcn.10061d50
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
lea ecx, [eax + 1]
cmp dword [esi + 0x1c], ecx
jbe 0x100a5119
mov edi, dword [ebp - 0x48]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 4], edi
mov edi, dword [ebp - 0x40]
lea edx, [eax + 2]
cmp dword [esi + 0x1c], edx
jbe 0x100a5913
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 4], edi
cmp dword [esi + 0x1c], edx
jbe 0x100a5913
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x28]
mov dword [eax + ecx*4 + 8], edx
jmp 0x100a5913
push 0x101339ac
mov edx, 3
mov ecx, esi
call fcn.1007aab0
add esp, 4
cmp dword [esi + 0x1c], eax
jbe 0x100a516d
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4 + 4], edi
lea edx, [eax + 1]
cmp dword [esi + 0x1c], edx
jbe 0x100a5191
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 4], edi
cmp dword [esi + 0x1c], edx
jbe 0x100a5191
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x28]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, 1
mov ecx, esi
call fcn.1007bcf0
push 0xffffffffffffffff
push dword [ebp - 0x2c]
xor edx, edx
mov ecx, esi
push 0
call fcn.1007bd80
add esp, 0xc
jmp 0x100a5913
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edi, dword [ebp - 0x24]
movzx eax, byte [eax]
cmp byte [eax + 0x101322f0], 0x71
sete cl
mov dword [ebp - 0x4c], ecx
mov ecx, edi
call fcn.100a60b0
test eax, eax
jne 0x100a5941
lea edx, [eax + 1]
mov dword [edi + 0x4c], 6
mov ecx, esi
call fcn.1007bcf0
push 0
push str.integrity_check
push 0
xor edx, edx
mov ecx, esi
call fcn.1007bd80
mov eax, dword [ebp - 0x30]
mov ecx, 0x64
add esp, 0xc
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x100a522e
lea edx, [ebp - 0x34]
mov ecx, eax
call fcn.10061c70
mov ecx, dword [ebp - 0x34]
mov eax, 0x64
test ecx, ecx
cmovle ecx, eax
mov dword [ebp - 0x38], ecx
push 1
push ecx
mov edx, 7
mov ecx, esi
call fcn.1007a690
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x34], ecx
cmp dword [eax + 0x14], ecx
jle 0x100a57ed
mov dword [ebp - 0x40], ecx
mov edx, ecx
mov dword [ebp - 0x28], 0
mov ecx, edi
call fcn.100975f0
push 1
mov edx, 0x78
mov ecx, esi
call fcn.1007a630
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.1007a690
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.1007ab60
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [eax + 0x10]
add eax, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x100a5310
mov eax, dword [ebp - 0x28]
mov edi, dword [ecx + 8]
add eax, 2
push eax
mov edx, 7
mov ecx, esi
push dword [edi + 0x14]
call fcn.1007a690
mov eax, dword [ebp - 0x28]
add esp, 8
mov edi, dword [edi + 0x10]
inc eax
mov dword [ebp - 0x28], eax
test edi, edi
je 0x100a5304
lea ebx, [ebx]
add eax, 2
mov edx, 7
push eax
push dword [edi + 0x28]
mov ecx, esi
call fcn.1007a690
mov eax, dword [ebp - 0x28]
add esp, 8
mov edi, dword [edi + 0x14]
inc eax
mov dword [ebp - 0x28], eax
test edi, edi
jne 0x100a52e0
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
mov dword [ebp - 0x44], ecx
test ecx, ecx
jne 0x100a52b3
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
lea ecx, [eax + 4]
cmp dword [edx + 0x4c], ecx
jge 0x100a5321
mov dword [edx + 0x4c], ecx
push 1
push eax
push 2
mov edx, 0x6f
mov ecx, esi
call fcn.1007a570
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
je 0x100a5349
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x34]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], dl
push 2
mov edx, 0x49
mov ecx, esi
call fcn.1007a630
mov edx, dword [ebp - 0x40]
mov edi, eax
mov eax, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [eax + 0x10]
push 0xffffffffffffffff
push dword [ecx + edx]
push str._in_database__s__n
push eax
call fcn.10060750
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.1007a700
add esp, 0x14
mov edx, 0xd
mov ecx, esi
push 1
push 4
push 2
call fcn.1007a570
add esp, 0xc
mov edx, 0x5b
mov ecx, esi
push 2
push 3
push 4
call fcn.1007a570
add esp, 0xc
mov edx, 0x10
mov ecx, esi
push 1
push 2
call fcn.1007a690
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.1007ab60
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x100a57d3
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
jne 0x100a57d3
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
cmp dword [eax + 0x10], ecx
je 0x100a57c3
lea edx, [ecx + 0x78]
mov ecx, esi
push 1
call fcn.1007a630
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.1007a690
mov edx, edi
mov ecx, esi
call fcn.1007ab60
mov edi, dword [ebp - 0x3c]
mov edx, edi
mov ecx, dword [ebp - 0x24]
push 0x27
push 1
call fcn.100a1ff0
push 2
push 0
mov edx, 7
mov ecx, esi
call fcn.1007a690
push 0
push 1
mov edx, 0x48
mov ecx, esi
call fcn.1007a690
push 1
push 2
mov edx, 0x14
mov dword [ebp - 0x58], eax
mov ecx, esi
call fcn.1007a690
mov edi, dword [edi + 0x10]
add esp, 0x28
mov dword [ebp - 0x50], edi
test edi, edi
je 0x100a5608
mov dword [ebp - 0x28], 2
mov ecx, dword [ebp - 0x24]
mov edx, edi
push 0
push 3
push 1
call fcn.100991a0
mov ecx, dword [edi + 0x24]
add esp, 0xc
inc ecx
mov edx, 0x34
push ecx
push eax
push 0
push dword [ebp - 0x28]
mov ecx, esi
call fcn.1007a870
push 0x10132790
mov edx, 0xb
mov dword [ebp - 0x60], eax
mov ecx, esi
call fcn.1007aab0
mov edx, dword [esi + 4]
add esp, 0x14
mov dword [ebp - 0x44], eax
lea ecx, [eax + 1]
mov eax, dword [esi]
test edx, edx
je 0x100a5505
cmp byte [eax + 0x36], 0
jne 0x100a5505
test ecx, ecx
jns 0x100a54e3
mov ecx, dword [esi + 0x1c]
dec ecx
lea eax, [ecx + ecx*4]
mov ecx, dword [esi]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.1007ab80
mov dword [edi + 0x10], 0x101453b4
mov byte [edi + 1], 0xfe
jmp 0x100a5516
push 0x101453b4
mov edx, 0xfffffffe
mov ecx, eax
call fcn.1007ab80
mov eax, dword [ebp - 0x44]
add esp, 4
mov edx, dword [esi + 4]
add eax, 3
mov ecx, dword [esi]
test edx, edx
je 0x100a5556
cmp byte [ecx + 0x36], 0
jne 0x100a5556
test eax, eax
jns 0x100a5536
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.1007ab80
mov dword [edi + 0x10], str._missing_from_index
mov byte [edi + 1], 0xfe
jmp 0x100a5565
push str._missing_from_index
mov edx, 0xfffffffe
call fcn.1007ab80
mov edx, dword [ebp - 0x50]
add esp, 4
mov eax, dword [ebp - 0x44]
mov edi, dword [esi + 4]
add eax, 4
mov ecx, dword [esi]
mov edx, dword [edx]
mov dword [ebp - 0x64], edx
test edi, edi
je 0x100a55d2
cmp byte [ecx + 0x36], 0
jne 0x100a55d2
test eax, eax
jns 0x100a558d
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edi + eax*4 + 0x10]
movsx edx, byte [edi + eax*4 + 1]
lea edi, [edi + eax*4]
call fcn.1007ab80
mov ecx, dword [ebp - 0x64]
add esp, 4
mov dword [edi + 0x10], 0
test ecx, ecx
jne 0x100a55ba
mov dword [edi + 0x10], ecx
mov byte [edi + 1], cl
jmp 0x100a55dd
call fcn.10061200
mov edx, ecx
mov ecx, dword [esi]
push eax
call fcn.1005f4d0
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xff
jmp 0x100a55da
push edx
xor edx, edx
call fcn.1007ab80
add esp, 4
mov edx, dword [ebp - 0x44]
mov ecx, esi
lea edx, [edx + 9]
call fcn.1007ab60
mov edx, dword [ebp - 0x60]
mov ecx, esi
call fcn.1007ab60
mov edi, dword [ebp - 0x50]
inc dword [ebp - 0x28]
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x50], edi
test edi, edi
jne 0x100a5485
mov edi, dword [ebp - 0x58]
mov edx, 0x5f
mov ecx, esi
lea eax, [edi + 1]
push eax
push 1
call fcn.1007a690
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.1007ab60
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x100a57c0
mov dword [ebp - 0x3c], 2
push 1
mov edx, 0x78
mov ecx, esi
call fcn.1007a630
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.1007a690
mov edx, edi
mov ecx, esi
call fcn.1007ab60
push 0x101346c0
mov edx, 0xa
mov ecx, esi
call fcn.1007aab0
add esp, 0xc
mov dword [ebp - 0x28], eax
lea edi, [eax + 1]
cmp dword [esi + 0x1c], edi
jbe 0x100a56b1
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp - 0x28]
cmp dword [esi + 0x1c], edi
jbe 0x100a56b1
lea edx, [eax + 4]
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [ebp - 0x28]
lea edi, [eax + 3]
cmp dword [esi + 0x1c], edi
jbe 0x100a56db
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov edx, dword [ebp - 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [ebp - 0x28]
cmp dword [esi + 0x1c], edi
jbe 0x100a56db
lea edx, [eax + 2]
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [ebp - 0x28]
mov ecx, esi
lea edx, [edi + 4]
call fcn.1007ab60
mov edx, dword [esi + 4]
lea eax, [edi + 6]
mov ecx, dword [esi]
test edx, edx
je 0x100a5725
cmp byte [ecx + 0x36], 0
jne 0x100a5725
test eax, eax
jns 0x100a5702
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.1007ab80
mov dword [edi + 0x10], str.wrong__of_entries_in_index
mov byte [edi + 1], 0xfe
mov edi, dword [ebp - 0x28]
jmp 0x100a5734
push str.wrong__of_entries_in_index
mov edx, 0xfffffffe
call fcn.1007ab80
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 7]
mov edx, dword [esi + 4]
add esp, 4
mov edi, dword [esi]
mov ecx, dword [ecx]
mov dword [ebp - 0x58], ecx
test edx, edx
je 0x100a579f
cmp byte [edi + 0x36], 0
jne 0x100a579f
test eax, eax
jns 0x100a5759
mov eax, dword [esi + 0x1c]
dec eax
mov ecx, dword [esi]
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.1007ab80
mov ecx, dword [ebp - 0x58]
add esp, 4
mov dword [edi + 0x10], 0
test ecx, ecx
jne 0x100a5787
mov dword [edi + 0x10], ecx
mov byte [edi + 1], cl
jmp 0x100a57ac
call fcn.10061200
mov edx, ecx
mov ecx, dword [esi]
push eax
call fcn.1005f4d0
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xff
jmp 0x100a57a9
push ecx
xor edx, edx
mov ecx, edi
call fcn.1007ab80
add esp, 4
mov eax, dword [ebp - 0x44]
inc dword [ebp - 0x3c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x100a5641
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x100a53e8
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
inc ecx
add dword [ebp - 0x40], 0x10
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
cmp ecx, dword [eax + 0x14]
jl 0x100a5254
push 0x101346b0
mov edx, 4
mov ecx, esi
call fcn.1007aab0
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x100a5817
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x38]
neg eax
mov dword [ecx + edx*4 + 8], eax
lea edx, [edi + 1]
mov ecx, esi
call fcn.1007ab60
mov edx, dword [esi + 4]
lea eax, [edi + 2]
mov ecx, dword [esi]
test edx, edx
je 0x100a5861
cmp byte [ecx + 0x36], 0
jne 0x100a5861
test eax, eax
jns 0x100a583b
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.1007ab80
add esp, 4
mov dword [esi + 0x10], 0x101453f4
mov byte [esi + 1], 0xfe
jmp 0x100a5913
push 0x101453f4
mov edx, 0xfffffffe
call fcn.1007ab80
add esp, 4
jmp 0x100a5913
mov ecx, dword [ebp - 0x24]
call fcn.100a60b0
test eax, eax
jne 0x100a5941
mov ecx, dword [ebp - 0x24]
mov edx, edi
call fcn.100975f0
mov eax, dword [ebp - 0x24]
inc dword [eax + 0x4c]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
movzx eax, byte [eax]
cmp byte [eax + 0x101322f0], 0x70
jne 0x100a58c0
push ecx
push edi
mov edx, 0x92
mov ecx, esi
call fcn.1007a690
add esp, 8
jmp 0x100a58e3
mov ecx, dword [ebp - 0x30]
call fcn.10061d50
mov ecx, eax
call fcn.100623f0
push eax
push dword [ebp - 0x38]
mov edx, 0x93
mov ecx, esi
push edi
call fcn.1007a570
add esp, 0xc
push 1
push dword [ebp - 0x38]
mov edx, 0x10
mov ecx, esi
call fcn.1007a690
mov edx, 1
mov ecx, esi
call fcn.1007bcf0
push 0xffffffffffffffff
push dword [ebp - 0x2c]
xor edx, edx
mov ecx, esi
push 0
call fcn.1007bd80
add esp, 0x14
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
cmp byte [edx + 0x34], 0
je 0x100a5941
mov edx, dword [edx + 0x18]
mov eax, edx
mov ecx, dword [esi + 4]
shr eax, 0x16
shr edx, 0x15
and eax, 1
and edx, 1
push eax
push edx
movzx edx, byte [esi + 9]
call fcn.10070ba0
add esp, 8
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
call fcn.1005f110
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.1005f110
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.10103392
mov esp, ebp
pop ebp
ret