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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
mov ebp, dword [ebx]
push edi
push ebx
mov dword [esp + 0x14], ebp
call fcn.004983b0
mov esi, eax
add esp, 4
test esi, esi
je 0x49755d
push esi
call fcn.00497660
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x38]
mov dword [ebx + 0x4c], 2
push eax
push ecx
push edx
push ebx
call fcn.0048d270
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [esp + 0x20], edi
jl 0x49755d
mov ecx, dword [ebp + 0x10]
shl eax, 4
add ecx, eax
cmp edi, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], ecx
jne 0x4951ed
push ebx
call fcn.0047daa0
add esp, 4
test eax, eax
jne 0x49755d
mov eax, dword [esp + 0x34]
push eax
push ebp
call fcn.0048d210
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x49755d
mov eax, dword [esp + 0x64]
test eax, eax
je 0x495224
mov ecx, dword [esp + 0x60]
push ecx
push 0x4e14c4
push ebp
call fcn.0046a310
add esp, 0xc
jmp 0x495232
mov edx, dword [esp + 0x60]
push edx
push ebp
call fcn.0048d210
add esp, 8
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
mov edx, dword [ecx + 4]
test edx, edx
jbe 0x495249
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
jmp 0x49524b
xor ecx, ecx
push ecx
push eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], ecx
push eax
push 0x13
push ebx
call fcn.0048cd30
add esp, 0x14
test eax, eax
jne 0x497540
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
mov dword [eax + 0x1c4], ecx
lea ecx, [esp + 0x40]
push ecx
push 0xe
push edx
push eax
call fcn.004a9b90
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jne 0x49530b
mov eax, dword [esp + 0x40]
test eax, eax
je 0x497540
mov edi, dword [ebx + 0x4c]
push 0
inc edi
push eax
mov dword [ebx + 0x4c], edi
mov ebx, edi
push 0
push ebx
push 0
push 0x5e
push esi
call fcn.00486710
push 1
push esi
call fcn.004810c0
push 0
push str.result
push 0
push 0
push esi
call fcn.00481130
push 1
push ebx
push 0x1e
push esi
call fcn.004870f0
mov eax, dword [esp + 0x88]
add esp, 0x48
push eax
call fcn.00459150
add esp, 4
jmp 0x497540
cmp dword [esp + 0x30], 0xc
je 0x495346
mov eax, dword [esp + 0x40]
test eax, eax
je 0x495333
push eax
push 0x4dad94
push ebx
call fcn.0047a260
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00459150
add esp, 0x10
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x30]
inc eax
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x44], eax
jmp 0x497540
push str.default_cache_size
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495431
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
push edi
push esi
call fcn.0047a690
mov eax, dword [esp + 0x68]
add esp, 8
test eax, eax
jne 0x4953dd
push 1
push esi
call fcn.004810c0
push 0
push str.cache_size
push 0
push 0
push esi
call fcn.00481130
mov edx, dword [ebx + 0x4c]
push 0x4be130
add edx, 2
push 9
push esi
mov dword [ebx + 0x4c], edx
call fcn.0047a300
mov ebx, eax
push edi
push ebx
push esi
call fcn.0047a420
lea eax, [ebx + 1]
push edi
push eax
push esi
call fcn.0047a420
add esp, 0x40
add ebx, 6
push 0x7d0
push ebx
push esi
call fcn.0047a420
add esp, 0xc
jmp 0x497540
push eax
call fcn.004805d0
push eax
call fcn.00467760
push edi
push 0
push ebx
mov ebp, eax
call fcn.00490680
push 1
push ebp
push 0x15
push esi
call fcn.004870f0
push 1
push 3
push edi
push 0x2e
push esi
call fcn.00486750
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0xc]
mov dword [ecx + 0x50], ebp
mov edx, dword [eax + 0xc]
mov ecx, dword [edx + 0x50]
mov edx, dword [eax + 4]
push ecx
push edx
call fcn.00480ac0
add esp, 0x40
jmp 0x497540
push str.page_size
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x4954aa
mov eax, dword [esp + 0x58]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x495479
test esi, esi
je 0x495461
push esi
call fcn.0045ed60
add esp, 4
jmp 0x495463
xor eax, eax
cdq
push edx
push eax
push str.page_size
push ebx
call fcn.004979d0
add esp, 0x10
jmp 0x497540
push eax
call fcn.004805d0
mov ecx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
push eax
push esi
mov dword [ecx + 0x48], eax
call fcn.0045e920
add esp, 0x14
cmp eax, 7
jne 0x497540
mov edx, dword [esp + 0x10]
mov byte [edx + 0x40], 1
jmp 0x497540
push str.secure_delete
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495549
mov eax, dword [esp + 0x58]
or ebp, 0xffffffff
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x60]
test eax, eax
mov dword [esp + 0x54], ecx
je 0x4954e8
push 0
push eax
call fcn.00497810
add esp, 8
and eax, 0xff
mov ebp, eax
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
test eax, eax
jne 0x495528
test ebp, ebp
jl 0x495528
mov eax, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x495528
xor edi, edi
mov ecx, dword [esp + 0x10]
push ebp
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + edi + 4]
push eax
call fcn.0047cd30
mov ecx, dword [esp + 0x18]
add esp, 8
inc esi
add edi, 0x10
cmp esi, dword [ecx + 0x14]
jl 0x495506
mov edx, dword [esp + 0x54]
push ebp
push edx
call fcn.0047cd30
cdq
push edx
push eax
push str.secure_delete
push ebx
call fcn.004979d0
add esp, 0x18
jmp 0x497540
push str.page_count
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x4974b8
push str.max_page_count
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x4974b8
push str.locking_mode
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495653
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], str.normal
push eax
call fcn.00497830
mov ecx, dword [esp + 0x60]
add esp, 4
mov dword [esp + 0x54], eax
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x495603
cmp eax, 0xffffffff
jne 0x4955bf
mov edx, dword [esp + 0x10]
xor eax, eax
mov al, byte [edx + 0x41]
jmp 0x49561e
test ecx, ecx
jne 0x495603
mov ebx, dword [esp + 0x10]
mov edi, 2
cmp dword [ebx + 0x14], edi
jle 0x495600
mov ebp, 0x20
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + ebp + 4]
push ecx
call fcn.0045e610
mov edx, dword [esp + 0x58]
push edx
push eax
call fcn.0047cc00
mov eax, dword [ebx + 0x14]
add esp, 0xc
inc edi
add ebp, 0x10
cmp edi, eax
jl 0x4955d6
mov eax, dword [esp + 0x54]
mov byte [ebx + 0x41], al
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
push ecx
call fcn.0045e610
mov edx, dword [esp + 0x58]
push edx
push eax
call fcn.0047cc00
add esp, 0xc
cmp eax, 1
jne 0x49562b
mov dword [esp + 0x64], str.exclusive
push 1
push esi
call fcn.004810c0
push 0
push str.locking_mode
push 0
push 0
push esi
call fcn.00481130
mov eax, dword [esp + 0x80]
push 0
push eax
jmp 0x495caf
push str.journal_mode
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x49578d
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
push 1
push esi
call fcn.004810c0
push 0
push str.journal_mode
push 0
push 0
push esi
call fcn.00481130
mov ebp, dword [esp + 0x7c]
add esp, 0x1c
test ebp, ebp
jne 0x4956a8
mov dword [esp + 0x54], 0xffffffff
jmp 0x495714
push ebp
call fcn.0045a8d0
push 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], 0
call fcn.00480440
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x495703
mov ecx, dword [esp + 0x58]
push ecx
push ebx
push ebp
call fcn.0045a940
add esp, 0xc
test eax, eax
je 0x4956ff
mov eax, dword [esp + 0x54]
inc eax
push eax
mov dword [esp + 0x58], eax
call fcn.00480440
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4956ca
mov dword [esp + 0x54], 0xffffffff
jmp 0x495714
test ebx, ebx
jne 0x49570d
mov dword [esp + 0x54], 0xffffffff
jmp 0x495714
cmp dword [esp + 0x54], 0xffffffff
jne 0x49572a
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
test eax, eax
jne 0x49572a
mov eax, edx
xor edi, edi
mov dword [eax + 4], 1
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + 0x14]
dec ebx
js 0x495779
mov ebp, ebx
shl ebp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ebp + 4]
test ecx, ecx
je 0x495771
cmp ebx, edi
je 0x495757
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x495771
push ebx
push esi
call fcn.0047a690
mov edx, dword [esp + 0x5c]
push edx
push 1
push ebx
push 0xa
push esi
call fcn.00486750
add esp, 0x1c
dec ebx
sub ebp, 0x10
test ebx, ebx
jge 0x495739
push 1
push 1
push 0x1e
push esi
call fcn.004870f0
add esp, 0x10
jmp 0x497540
push str.journal_size_limit
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495826
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
push ecx
call fcn.0045e610
mov ecx, dword [esp + 0x64]
or edi, 0xffffffff
mov esi, eax
add esp, 4
mov eax, edi
mov dword [esp + 0x38], 0xfffffffe
test ecx, ecx
mov dword [esp + 0x3c], eax
je 0x4957fd
push 1
lea edx, [esp + 0x3c]
push 0xf4240
push edx
push ecx
call fcn.0046b070
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp eax, edi
jg 0x4957fd
jl 0x4957f3
cmp dword [esp + 0x38], edi
jae 0x4957fd
mov eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esp + 0x3c]
push eax
push esi
call fcn.004975b0
push edx
push eax
push str.journal_size_limit
push ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
call fcn.004979d0
add esp, 0x1c
jmp 0x497540
push str.auto_vacuum
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495916
mov ecx, dword [esp + 0x58]
push ebx
mov ebp, dword [ecx + 4]
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x495883
test ebp, ebp
je 0x49586b
push ebp
call fcn.00481f40
add esp, 4
jmp 0x49586d
xor eax, eax
cdq
push edx
push eax
push str.auto_vacuum
push ebx
call fcn.004979d0
add esp, 0x10
jmp 0x497540
push eax
call fcn.00497870
mov edx, dword [esp + 0x14]
mov ebx, eax
add esp, 4
test ebx, ebx
mov byte [edx + 0x42], bl
jl 0x497540
push ebx
push ebp
call fcn.00481ed0
add esp, 8
test eax, eax
jne 0x497540
cmp ebx, 1
je 0x4958bd
cmp ebx, 2
jne 0x497540
push 0x4be154
push 6
push esi
call fcn.0047a300
mov ebp, eax
push edi
push ebp
push esi
call fcn.0047a420
lea eax, [ebp + 1]
push edi
push eax
push esi
call fcn.0047a420
lea eax, [ebp + 4]
lea ecx, [ebp + 2]
push eax
push ecx
push esi
call fcn.0047a440
dec ebx
lea eax, [ebp + 4]
push ebx
push eax
push esi
call fcn.0047a420
add ebp, 5
push edi
push ebp
push esi
call fcn.0047a420
add esp, 0x48
push edi
push esi
call fcn.0047a690
add esp, 8
jmp 0x497540
push str.incremental_vacuum
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x4959c0
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov eax, dword [esp + 0x60]
test eax, eax
je 0x49595f
lea edx, [esp + 0x5c]
push edx
push eax
call fcn.00479bc0
add esp, 8
test eax, eax
je 0x49595f
mov eax, dword [esp + 0x5c]
test eax, eax
jg 0x495967
mov dword [esp + 0x5c], closesocket
push edi
push 0
push ebx
call fcn.00490680
mov eax, dword [esp + 0x68]
push 1
push eax
push 0x15
push esi
call fcn.004870f0
push edi
push 0x83
push esi
call fcn.00487bd0
push 1
push 0x1e
push esi
mov edi, eax
call fcn.00487bd0
push 0xffffffffffffffff
push 1
push 0x20
push esi
call fcn.004870f0
add esp, 0x44
push edi
push 1
push 0x7e
push esi
call fcn.004870f0
push edi
push esi
call fcn.00487110
add esp, 0x18
jmp 0x497540
push str.cache_size
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495a33
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x495a0b
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x50]
cdq
push edx
push eax
push str.cache_size
push ebx
call fcn.004979d0
add esp, 0x10
jmp 0x497540
push eax
call fcn.004805d0
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0xc]
mov dword [edx + 0x50], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x50]
mov eax, dword [ecx + 4]
push edx
push eax
call fcn.00480ac0
add esp, 0xc
jmp 0x497540
push str.mmap_size
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495b49
mov eax, dword [esp + 0x60]
test eax, eax
je 0x495aec
push 1
lea ecx, [esp + 0x3c]
push 0x3e8
push ecx
push eax
call fcn.0046b070
mov ecx, dword [esp + 0x4c]
add esp, 0x10
test ecx, ecx
jg 0x495a90
jl 0x495a7c
mov eax, dword [esp + 0x38]
test eax, eax
jae 0x495a90
mov edx, dword [0x4dc610]
mov ecx, dword [0x4dc614]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
test edx, edx
jne 0x495aa9
mov edx, dword [esp + 0x38]
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
mov esi, dword [eax + 0x14]
dec esi
js 0x495aec
mov ebp, esi
shl ebp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + ebp + 4]
test eax, eax
je 0x495ae4
cmp esi, edi
je 0x495ad1
mov edx, dword [esp + 0x5c]
cmp dword [edx + 4], 0
jne 0x495ae4
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push eax
call fcn.00497630
mov ecx, dword [esp + 0x48]
add esp, 0xc
dec esi
sub ebp, 0x10
test esi, esi
jge 0x495ab4
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
lea edx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
push edx
push 0x12
push eax
push ecx
call fcn.004a9b90
add esp, 0x10
test eax, eax
jne 0x495b31
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
push str.mmap_size
push ebx
call fcn.004979d0
add esp, 0x10
jmp 0x497540
cmp eax, 0xc
je 0x497540
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0xc], eax
inc ecx
mov dword [ebx + 0x44], ecx
jmp 0x497540
push str.temp_store
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495b8f
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x495b80
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x3f]
cdq
push edx
push eax
push str.temp_store
push ebx
call fcn.004979d0
add esp, 0x10
jmp 0x497540
push eax
push ebx
call fcn.00497940
add esp, 8
jmp 0x497540
push str.temp_store_directory
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495c66
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x495bdc
mov eax, dword [0x1404ad8]
test eax, eax
je 0x497540
push 1
push esi
call fcn.004810c0
push edi
push str.temp_store_directory
push edi
push edi
push esi
call fcn.00481130
mov edx, dword [0x1404ad8]
push edi
jmp 0x495cae
cmp byte [edi], 0
je 0x495c17
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
push 1
mov edx, dword [ecx]
push edi
push edx
call fcn.00461af0
add esp, 0x10
test eax, eax
jne 0x495c04
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x495c17
push str.not_a_writable_directory
push ebx
call fcn.0047a260
add esp, 8
jmp 0x497540
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x3f], 1
ja 0x495c2a
push ebx
call fcn.004978e0
add esp, 4
mov ecx, dword [0x1404ad8]
push ecx
call fcn.00459150
mov al, byte [edi]
add esp, 4
test al, al
je 0x495c57
push edi
push 0x4dad94
call fcn.0045a5d0
add esp, 8
mov dword [0x1404ad8], eax
jmp 0x497540
mov dword [0x1404ad8], 0
jmp 0x497540
push str.data_store_directory
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495d47
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x495cd1
mov eax, dword [0x1404adc]
test eax, eax
je 0x497540
push 1
push esi
call fcn.004810c0
push edi
push str.data_store_directory
push edi
push edi
push esi
call fcn.00481130
mov edx, dword [0x1404adc]
push edi
push edx
push 0
push 1
push 0
push 0x5e
push esi
call fcn.00486710
push 1
push 1
push 0x1e
push esi
call fcn.004870f0
add esp, 0x48
jmp 0x497540
cmp byte [edi], 0
je 0x495d0c
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
push 1
mov edx, dword [ecx]
push edi
push edx
call fcn.00461af0
add esp, 0x10
test eax, eax
jne 0x495cf9
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x495d0c
push str.not_a_writable_directory
push ebx
call fcn.0047a260
add esp, 8
jmp 0x497540
mov eax, dword [0x1404adc]
push eax
call fcn.00459150
mov al, byte [edi]
add esp, 4
test al, al
je 0x495d38
push edi
push 0x4dad94
call fcn.0045a5d0
add esp, 8
mov dword [0x1404adc], eax
jmp 0x497540
mov dword [0x1404adc], 0
jmp 0x497540
push str.synchronous
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x495dcf
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x495d90
mov ecx, dword [esp + 0x58]
mov al, byte [ecx + 8]
dec eax
cdq
push edx
push eax
push str.synchronous
push ebx
call fcn.004979d0
add esp, 0x10
jmp 0x497540
mov esi, dword [esp + 0x10]
mov cl, byte [esi + 0x3e]
test cl, cl
jne 0x495dae
push str.Safety_level_may_not_be_changed_inside_a_transaction
push ebx
call fcn.0047a260
add esp, 8
jmp 0x497540
push 1
push 0
push eax
call fcn.00497780
mov edx, dword [esp + 0x64]
inc al
push esi
mov byte [edx + 8], al
call fcn.00497a50
add esp, 0x10
jmp 0x497540
mov eax, dword [esp + 0x60]
push eax
push ebp
push ebx
call fcn.00497aa0
add esp, 0xc
test eax, eax
je 0x495df4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00497a50
add esp, 4
jmp 0x497540
push str.table_info
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496003
mov eax, dword [esp + 0x60]
test eax, eax
je 0x496003
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.0047cf10
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x497540
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], 0
test eax, eax
mov dword [esp + 0x5c], eax
je 0x495e71
mov edx, dword [eax + 0x30]
and edx, 3
cmp dl, 2
je 0x495e6d
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x495e5b
mov dword [esp + 0x5c], eax
push 6
push esi
call fcn.004810c0
push edi
push ebx
mov dword [ebx + 0x4c], 6
call fcn.00490580
push 0
push 0x4e1344
push 0
push 0
push esi
call fcn.00481130
push 0
push str.name
push 0
push 1
push esi
call fcn.00481130
push 0
push str.type
push 0
push 2
push esi
call fcn.00481130
add esp, 0x4c
push 0
push str.notnull
push 0
push 3
push esi
call fcn.00481130
push 0
push str.dflt_value
push 0
push 4
push esi
call fcn.00481130
push 0
push 0x4e1324
push 0
push 5
push esi
call fcn.00481130
push ebp
push ebx
call fcn.0048e880
mov edi, dword [ebp + 4]
xor ebx, ebx
add esp, 0x44
cmp word [ebp + 0x26], bx
jle 0x497540
test byte [edi + 0x16], 2
je 0x495f18
inc dword [esp + 0x54]
jmp 0x495fee
mov edx, dword [esp + 0x54]
mov eax, ebx
sub eax, edx
push 1
push eax
push 0x15
push esi
call fcn.004870f0
mov ecx, dword [edi]
push 0
push ecx
push 0
push 2
push 0
push 0x5e
push esi
call fcn.00486710
mov eax, dword [edi + 0xc]
add esp, 0x2c
test eax, eax
jne 0x495f4d
mov eax, 0x4e2868
push 0
push eax
push 0
push 3
push 0
push 0x5e
push esi
call fcn.00486710
mov cl, byte [edi + 0x14]
xor edx, edx
test cl, cl
setne dl
push 4
push edx
push 0x15
push esi
call fcn.004870f0
mov eax, dword [edi + 8]
add esp, 0x2c
test eax, eax
je 0x495f93
push 0
push eax
push 0
push 5
push 0
push 0x5e
push esi
call fcn.00486710
add esp, 0x1c
jmp 0x495fa2
push 5
push 0
push 0x18
push esi
call fcn.004870f0
add esp, 0x10
test byte [edi + 0x16], 1
jne 0x495fac
xor eax, eax
jmp 0x495fd4
mov eax, dword [esp + 0x5c]
test eax, eax
mov eax, 1
je 0x495fd4
movsx edx, word [ebp + 0x26]
cmp edx, eax
jl 0x495fd4
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 4]
cmp dword [ecx], ebx
je 0x495fd4
inc eax
add ecx, 4
cmp eax, edx
jle 0x495fc8
push 6
push eax
push 0x15
push esi
call fcn.004870f0
push 6
push 1
push 0x1e
push esi
call fcn.004870f0
add esp, 0x20
movsx edx, word [ebp + 0x26]
inc ebx
add edi, 0x18
cmp ebx, edx
jl 0x495f09
jmp 0x497540
push str.index_info
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x49610f
mov eax, dword [esp + 0x60]
test eax, eax
je 0x49610f
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.0047d110
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x497540
mov eax, dword [ebp + 0xc]
push 3
push esi
mov dword [esp + 0x64], eax
call fcn.004810c0
push edi
push ebx
mov dword [ebx + 0x4c], 3
call fcn.00490580
push 0
push str.seqno
push 0
push 0
push esi
call fcn.00481130
push 0
push 0x4e1344
push 0
push 1
push esi
call fcn.00481130
push 0
push str.name
push 0
push 2
push esi
call fcn.00481130
xor edi, edi
add esp, 0x4c
cmp word [ebp + 0x2c], di
jbe 0x497540
mov ecx, dword [ebp + 4]
push 1
push edi
push 0x15
mov ebx, dword [ecx + edi*4]
push esi
call fcn.004870f0
push 2
push ebx
push 0x15
push esi
call fcn.004870f0
mov eax, dword [esp + 0x7c]
lea edx, [ebx + ebx*2]
push 0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8]
push edx
push 0
push 3
push 0
push 0x5e
push esi
call fcn.00486710
push 3
push 1
push 0x1e
push esi
call fcn.004870f0
xor eax, eax
add esp, 0x4c
mov ax, word [ebp + 0x2c]
inc edi
cmp edi, eax
jl 0x4960b6
jmp 0x497540
push str.index_list
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496224
mov eax, dword [esp + 0x60]
test eax, eax
je 0x496224
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.0047cf10
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x497540
push ebx
call fcn.004983b0
mov ebp, dword [ebp + 8]
add esp, 4
test ebp, ebp
mov esi, eax
je 0x497540
push 3
push esi
mov dword [esp + 0x64], 0
call fcn.004810c0
push edi
push ebx
mov dword [ebx + 0x4c], 3
call fcn.00490580
push 0
push 0x4e1300
push 0
push 0
push esi
call fcn.00481130
push 0
push str.name
push 0
push 1
push esi
call fcn.00481130
push 0
push str.unique
push 0
push 2
push esi
call fcn.00481130
mov edi, dword [esp + 0xa8]
add esp, 0x4c
push 1
push edi
push 0x15
push esi
call fcn.004870f0
mov ecx, dword [ebp]
push 0
push ecx
push 0
push 2
push 0
push 0x5e
push esi
call fcn.00486710
mov al, byte [ebp + 0x2e]
xor edx, edx
test al, al
setne dl
push 3
push edx
push 0x15
push esi
call fcn.004870f0
push 3
push 1
push 0x1e
push esi
call fcn.004870f0
mov ebp, dword [ebp + 0x14]
add esp, 0x4c
inc edi
test ebp, ebp
jne 0x4961d4
jmp 0x497540
push str.database_list
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496315
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
push 3
push esi
call fcn.004810c0
push 0
push 0x4e1300
push 0
push 0
push esi
mov dword [ebx + 0x4c], 3
call fcn.00481130
push 0
push str.name
push 0
push 1
push esi
call fcn.00481130
push 0
push str.file
push 0
push 2
push esi
call fcn.00481130
mov eax, dword [esp + 0x54]
add esp, 0x44
xor ebp, ebp
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x497540
xor edi, edi
mov ebx, eax
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + edi + 4]
test eax, eax
je 0x496305
push 1
push ebp
push 0x15
push esi
call fcn.004870f0
mov edx, dword [ebx + 0x10]
push 0
mov eax, dword [edx + edi]
push eax
push 0
push 2
push 0
push 0x5e
push esi
call fcn.00486710
mov ecx, dword [ebx + 0x10]
add esp, 0x2c
mov edx, dword [ecx + edi + 4]
push 0
push edx
call fcn.0046a370
add esp, 4
push eax
push 0
push 3
push 0
push 0x5e
push esi
call fcn.00486710
push 3
push 1
push 0x1e
push esi
call fcn.004870f0
add esp, 0x2c
mov eax, dword [ebx + 0x14]
inc ebp
add edi, 0x10
cmp ebp, eax
jl 0x4962a5
jmp 0x497540
push str.collation_list
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x4963ac
push 2
push esi
xor ebp, ebp
call fcn.004810c0
push ebp
push 0x4e1300
push ebp
push ebp
push esi
mov dword [ebx + 0x4c], 2
call fcn.00481130
push ebp
push str.name
push ebp
push 1
push esi
call fcn.00481130
mov eax, dword [esp + 0x40]
add esp, 0x30
mov edi, dword [eax + 0x1b4]
test edi, edi
je 0x497540
mov ebx, dword [edi + 8]
mov eax, ebp
push 1
push eax
push 0x15
push esi
inc ebp
call fcn.004870f0
mov ecx, dword [ebx]
push 0
push ecx
push 0
push 2
push 0
push 0x5e
push esi
call fcn.00486710
push 2
push 1
push 0x1e
push esi
call fcn.004870f0
mov edi, dword [edi]
add esp, 0x3c
test edi, edi
jne 0x49636e
jmp 0x497540
push str.foreign_key_list
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x4965fd
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4965fd
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.0047cf10
mov ebp, eax
add esp, 0xc
test ebp, ebp
mov dword [esp + 0x58], ebp
je 0x497540
push ebx
call fcn.004983b0
mov ebp, dword [ebp + 0x10]
add esp, 4
test ebp, ebp
mov esi, eax
je 0x497540
push 8
push esi
mov dword [esp + 0x5c], 0
call fcn.004810c0
push edi
push ebx
mov dword [ebx + 0x4c], 8
call fcn.00490580
push 0
push 0x4e12b8
push 0
push 0
push esi
call fcn.00481130
push 0
push 0x4e1300
push 0
push 1
push esi
call fcn.00481130
push 0
push str.table
push 0
push 2
push esi
call fcn.00481130
add esp, 0x4c
push 0
push str.from
push 0
push 3
push esi
call fcn.00481130
push 0
push 0x4e12b4
push 0
push 4
push esi
call fcn.00481130
push 0
push str.on_update
push 0
push 5
push esi
call fcn.00481130
push 0
push str.on_delete
push 0
push 6
push esi
call fcn.00481130
add esp, 0x50
push 0
push str.match
push 0
push 7
push esi
call fcn.00481130
add esp, 0x14
mov eax, dword [ebp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x4965e4
lea edx, [ebp + 0x24]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x5c]
mov cl, byte [ebp + 0x19]
push ecx
mov edi, dword [eax + 4]
call fcn.00497b80
mov dl, byte [ebp + 0x1a]
mov dword [esp + 0x34], eax
push edx
call fcn.00497b80
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
push 1
push eax
push 0x15
push esi
call fcn.004870f0
push 2
push ebx
push 0x15
push esi
call fcn.004870f0
mov ecx, dword [ebp + 8]
push 0
push ecx
push 0
push 3
push 0
push 0x5e
push esi
call fcn.00486710
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
add esp, 0x44
mov eax, dword [edx]
mov edx, dword [ecx + 4]
push 0
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push eax
push 0
push 4
push 0
push 0x5e
push esi
call fcn.00486710
push 0
push edi
neg edi
sbb edi, edi
push 0
and edi, 0x46
push 5
add edi, 0x18
push 0
push edi
push esi
call fcn.00486710
mov ecx, dword [esp + 0x9c]
push 0
push ecx
push 0
push 6
push 0
push 0x5e
push esi
call fcn.00486710
mov edx, dword [esp + 0x84]
add esp, 0x54
push 0
push edx
push 0
push 7
push 0
push 0x5e
push esi
call fcn.00486710
push 0
push str.NONE
push 0
push 8
push 0
push 0x5e
push esi
call fcn.00486710
push 8
push 1
push 0x1e
push esi
call fcn.004870f0
mov ecx, dword [esp + 0xa4]
mov eax, dword [ebp + 0x14]
add esp, 0x48
inc ebx
add ecx, 8
cmp ebx, eax
mov dword [esp + 0x5c], ecx
jl 0x4964dd
mov ecx, dword [esp + 0x54]
mov ebp, dword [ebp + 4]
inc ecx
test ebp, ebp
mov dword [esp + 0x54], ecx
jne 0x4964c9
jmp 0x497540
push str.foreign_key_check
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496ad2
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
mov eax, dword [ebx + 0x4c]
push ebx
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x58], eax
inc eax
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x4c], eax
call fcn.004983b0
mov esi, eax
push 4
push esi
call fcn.004810c0
push 0
push str.table
push 0
push 0
push esi
call fcn.00481130
push 0
push str.rowid
push 0
push 1
push esi
call fcn.00481130
push 0
push str.parent
push 0
push 2
push esi
call fcn.00481130
add esp, 0x48
push 0
push str.fkid
push 0
push 3
push esi
call fcn.00481130
push edi
push ebx
call fcn.00490580
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov eax, dword [edx + 0x10]
mov edx, dword [eax + ecx + 0xc]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x497540
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4966d7
mov eax, dword [esp + 0x64]
push eax
push ecx
push 0
push ebx
call fcn.0047d090
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x18], ebp
xor eax, eax
jmp 0x4966e0
mov ebp, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x18], ebp
test ebp, ebp
mov dword [esp + 0x30], eax
je 0x496ac5
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x496ac5
mov edx, dword [ebp]
mov eax, dword [ebp + 0x20]
push edx
push 0
push eax
push edi
push ebx
call fcn.0048cde0
mov edx, dword [esp + 0x68]
add esp, 0x14
movsx ecx, word [ebp + 0x26]
lea eax, [edx + 1]
add eax, ecx
mov ecx, dword [ebx + 0x4c]
cmp eax, ecx
jle 0x496722
mov dword [ebx + 0x4c], eax
push 0x30
push ebp
push edi
push 0
push ebx
call fcn.00492d60
mov eax, dword [ebp]
mov ecx, dword [esp + 0x30]
push 0
push eax
push 0
push ecx
push 0
push 0x5e
push esi
call fcn.00486710
mov ebp, dword [ebp + 0x10]
add esp, 0x30
test ebp, ebp
mov dword [esp + 0x5c], 1
mov dword [esp + 0x14], ebp
je 0x49682f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
push edx
mov ecx, dword [eax + 8]
push ecx
push 0
push ebx
call fcn.0047d090
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x496823
mov dword [esp + 0x58], 0
mov edx, dword [ebp]
mov eax, dword [ebp + 0x20]
push edx
push 0
push eax
push edi
push ebx
call fcn.0048cde0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
push 0
push ecx
push edx
push ebp
push ebx
call fcn.00491e10
add esp, 0x28
test eax, eax
jne 0x49681b
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4967d0
mov eax, dword [esp + 0x5c]
push 0x30
push ebp
push edi
push eax
push ebx
call fcn.00492d60
add esp, 0x14
jmp 0x4967fd
push eax
push ebx
call fcn.004909a0
mov ecx, dword [esp + 0x60]
mov ebp, eax
mov eax, dword [esp + 0x64]
push edi
mov edx, dword [ecx + 0x28]
push edx
push eax
push 0x30
push esi
call fcn.00486750
push 0xfffffffffffffff0
push ebp
push 0xffffffffffffffff
push esi
call fcn.0047a4d0
add esp, 0x2c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
inc edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x5c], edx
test eax, eax
mov dword [esp + 0x14], eax
jne 0x49675f
jmp 0x49682f
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x497540
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebx + 0x48]
cmp ecx, eax
jge 0x49683d
mov dword [ebx + 0x48], eax
push 0
push 0x65
push esi
call fcn.00487bd0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x5c], 1
mov ebp, dword [edx + 0x10]
mov dword [esp + 0x38], edi
test ebp, ebp
je 0x496aa5
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
push eax
xor edi, edi
push ecx
push edi
push ebx
call fcn.0047d090
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x68]
push edx
push ecx
push ebp
push eax
push ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x50], edi
call fcn.00491e10
push esi
call fcn.00487bf0
mov edi, eax
mov eax, dword [esp + 0x80]
add esp, 0x28
test eax, eax
jne 0x49696f
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x28], eax
movsx ecx, word [edx + 0x24]
cmp eax, ecx
je 0x496922
mov edx, dword [esp + 0x54]
lea eax, [edx + 1]
push eax
mov eax, dword [esp + 0x2c]
push eax
push 0
push 0x29
push esi
call fcn.00486750
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
push esi
call fcn.0049e930
mov ecx, dword [esp + 0x78]
push edi
lea eax, [ecx + 1]
push eax
push 0x49
push esi
call fcn.004870f0
push esi
call fcn.00487c60
mov edx, dword [esp + 0x8c]
add eax, 3
push eax
lea eax, [edx + 1]
push eax
push 0x21
push esi
call fcn.004870f0
add esp, 0x48
jmp 0x496935
mov eax, dword [esp + 0x54]
inc eax
push eax
push 0
push 0x60
push esi
call fcn.004870f0
add esp, 0x10
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
push eax
push 0
push edx
push 0x3f
push esi
call fcn.00486750
push edi
push 0
push 0xe
push esi
call fcn.004870f0
push esi
call fcn.00487c60
sub eax, 2
push eax
push esi
call fcn.00487110
add esp, 0x30
jmp 0x496a1f
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x4969d8
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x496998
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
jmp 0x49699b
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
push esi
call fcn.00489f90
mov ecx, dword [esp + 0x28]
push edi
push ecx
push 0x49
push esi
call fcn.004870f0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov ecx, dword [ebp + 0x14]
add esp, 0x24
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edx
jl 0x496987
mov eax, dword [esp + 0x54]
mov edx, dword [ebp + 0x14]
push eax
inc eax
push edx
push eax
push 0x2b
push esi
call fcn.00486750
mov eax, dword [esp + 0x6c]
add esp, 0x14
push 0
push eax
push esi
call fcn.00492dc0
add esp, 8
push eax
push 0xffffffffffffffff
push esi
call fcn.0047a4d0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
push 0
push ecx
push edi
push edx
push 0x3d
push esi
call fcn.004897b0
add esp, 0x28
mov eax, dword [esp + 0x1c]
inc eax
push eax
push 0
push 0x60
push esi
call fcn.004870f0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
push 0
push ecx
add edx, 2
push 0
push edx
push 0
push 0x5e
push esi
call fcn.00486710
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x88]
add eax, 3
dec ecx
push eax
push ecx
push 0x15
push esi
call fcn.004870f0
mov edx, dword [esp + 0x58]
push 4
push edx
push 0x1e
push esi
call fcn.004870f0
add esp, 0x4c
push edi
push esi
call fcn.00487c40
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004591b0
mov ecx, dword [esp + 0x6c]
mov ebp, dword [ebp + 4]
add esp, 0x10
inc ecx
test ebp, ebp
mov dword [esp + 0x5c], ecx
jne 0x496867
mov edi, dword [esp + 0x38]
lea edx, [edi + 1]
push edx
push 0
push 7
push esi
call fcn.004870f0
push edi
push esi
call fcn.00487110
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
add esp, 0x18
test eax, eax
jne 0x4966b4
jmp 0x497540
push str.case_sensitive_like
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496b10
mov eax, dword [esp + 0x60]
test eax, eax
je 0x497540
push 0
push eax
call fcn.00497810
mov ecx, dword [esp + 0x18]
and eax, 0xff
push eax
push ecx
call fcn.004976b0
add esp, 0x10
jmp 0x497540
push str.integrity_check
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x496fc2
push str.quick_check
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x496fc2
push str.encoding
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496c4e
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x496bbf
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
push 1
push esi
call fcn.004810c0
push edi
push str.encoding
push edi
push edi
push esi
call fcn.00481130
push 1
push edi
push 0x5e
push esi
call fcn.004870f0
mov edx, dword [ebx]
push 0xfffffffffffffffe
mov eax, dword [edx + 0x10]
xor edx, edx
mov ecx, dword [eax + 0xc]
mov dl, byte [ecx + 0x4d]
mov eax, dword [edx*8 + 0x4be1a8]
push eax
push 0xffffffffffffffff
push esi
call fcn.0047a4d0
push 1
push 1
push 0x1e
push esi
call fcn.004870f0
add esp, 0x4c
jmp 0x497540
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0xc]
mov ax, word [eax + 0x4e]
mov cl, al
and cl, 1
cmp cl, 1
jne 0x496be5
and al, 4
cmp al, 4
jne 0x497540
mov edi, dword [esp + 0x60]
mov eax, dword [str.UTF8]
mov esi, 0x4be1a8
test eax, eax
je 0x496c2d
mov edx, dword [esi]
push edx
push edi
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x496c0f
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x496bf3
jmp 0x496c2d
mov al, byte [esi + 4]
test al, al
je 0x496c1d
and eax, 0xff
jmp 0x496c22
mov eax, 2
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0xc]
mov byte [ecx + 0x4d], al
cmp dword [esi], 0
jne 0x497540
mov edx, dword [esp + 0x60]
push edx
push str.unsupported_encoding:__s
push ebx
call fcn.0047a260
add esp, 0xc
jmp 0x497540
push str.schema_version
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x496ed1
push str.user_version
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x496ed1
push str.freelist_count
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x496ed1
push str.application_id
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x496ed1
push str.compile_options
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496d21
push 1
push esi
call fcn.004810c0
push 0
push str.compile_option
push 0
push 0
push esi
mov dword [ebx + 0x4c], 1
call fcn.00481130
push 0
mov edi, 1
call fcn.00456980
add esp, 0x20
test eax, eax
je 0x497540
push 0
push eax
push 0
push 1
push 0
push 0x5e
push esi
call fcn.00486710
push 1
push 1
push 0x1e
push esi
call fcn.004870f0
mov eax, edi
inc edi
push eax
call fcn.00456980
add esp, 0x30
test eax, eax
jne 0x496cef
jmp 0x497540
push str.wal_checkpoint
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496dfb
mov eax, dword [esp + 0x5c]
cmp dword [eax], 0
jne 0x496d45
mov edi, 0xa
mov eax, dword [esp + 0x60]
xor ebp, ebp
test eax, eax
je 0x496d85
mov ecx, eax
push str.full
push ecx
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496d6a
mov ebp, 1
jmp 0x496d85
mov edx, dword [esp + 0x60]
push str.restart
push edx
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496d85
mov ebp, 2
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
push 3
push esi
call fcn.004810c0
push 0
push str.busy
push 0
push 0
push esi
mov dword [ebx + 0x4c], 3
call fcn.00481130
push 0
push 0x4dae48
push 0
push 1
push esi
call fcn.00481130
push 0
push str.checkpointed
push 0
push 2
push esi
call fcn.00481130
add esp, 0x44
push 1
push ebp
push edi
push 9
push esi
call fcn.00486750
push 3
push 1
push 0x1e
push esi
call fcn.004870f0
add esp, 0x24
jmp 0x497540
push str.wal_autocheckpoint
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496e5b
mov eax, dword [esp + 0x60]
test eax, eax
je 0x496e2b
push eax
call fcn.004805d0
mov esi, dword [esp + 0x14]
push eax
push esi
call fcn.004a8780
add esp, 0xc
jmp 0x496e2f
mov esi, dword [esp + 0x10]
cmp dword [esi + 0xcc], 0x4a8750
jne 0x496e43
mov eax, dword [esi + 0xd0]
jmp 0x496e45
xor eax, eax
cdq
push edx
push eax
push str.wal_autocheckpoint
push ebx
call fcn.004979d0
add esp, 0x10
jmp 0x497540
push str.shrink_memory
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x496e7f
mov eax, dword [esp + 0x10]
push eax
call fcn.004a7830
add esp, 4
jmp 0x497540
push str.busy_timeout
push ebp
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x497540
mov eax, dword [esp + 0x60]
test eax, eax
je 0x496eb1
push eax
call fcn.004805d0
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004a8180
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x1ec]
cdq
push edx
push eax
push str.timeout
push ebx
call fcn.004979d0
add esp, 0x10
jmp 0x497540
push edi
push esi
call fcn.0047a690
movsx eax, byte [ebp]
add eax, 0xffffffbf
add esp, 8
cmp eax, 0x32
ja case.0x496eef.68
xor ecx, ecx
mov cl, byte [eax + 0x497578]
jmp dword [ecx*4 + 0x497568]
mov dword [esp + 0x5c], 8
jmp 0x496f1c
mov dword [esp + 0x5c], 0
jmp 0x496f1c
mov dword [esp + 0x5c], 1
jmp 0x496f1c
mov dword [esp + 0x5c], 6
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x496f76
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x496f76
push 0x4be1f0
push 3
push esi
call fcn.0047a300
mov ebp, eax
push edi
push ebp
push esi
call fcn.0047a420
push ebx
call fcn.004805d0
lea edx, [ebp + 1]
push eax
push edx
push esi
call fcn.0047a420
lea ebx, [ebp + 2]
push edi
push ebx
push esi
call fcn.0047a420
mov eax, dword [esp + 0x90]
push eax
push ebx
push esi
call fcn.0047a440
add esp, 0x40
jmp 0x497540
push 0x4be1fc
push 3
push esi
call fcn.0047a300
mov ebx, eax
push edi
push ebx
push esi
call fcn.0047a420
inc ebx
push edi
push ebx
push esi
call fcn.0047a420
mov ecx, dword [esp + 0x80]
push ecx
push ebx
push esi
call fcn.0047a460
push 1
push esi
call fcn.004810c0
push 0xffffffffffffffff
push ebp
push 0
push 0
push esi
call fcn.00481130
add esp, 0x4c
jmp 0x497540
xor edx, edx
xor eax, eax
mov dl, byte [ebp]
mov cl, byte [edx + 0x4bd464]
cmp cl, 0x71
mov ecx, dword [esp + 0x5c]
sete al
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
test eax, eax
jne 0x496feb
mov dword [esp + 0x20], 0xffffffff
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
push 1
push esi
mov dword [ebx + 0x4c], 6
call fcn.004810c0
push 0
push str.integrity_check
push 0
push 0
push esi
call fcn.00481130
mov ecx, dword [esp + 0x7c]
add esp, 0x1c
mov eax, 0x64
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x49704f
lea edx, [esp + 0x18]
push edx
push ecx
call fcn.00479bc0
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
jg 0x49704f
mov eax, 0x64
mov dword [esp + 0x18], eax
push 1
push eax
push 0x15
push esi
call fcn.004870f0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x58], 0
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x497478
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jl 0x497090
cmp dword [esp + 0x58], eax
jne 0x497455
mov ecx, dword [esp + 0x58]
push ecx
push ebx
call fcn.00490580
push 1
push 0x7e
push esi
call fcn.00487bd0
push 0
push 0
push 0x14
push esi
mov ebp, eax
call fcn.004870f0
push ebp
push esi
call fcn.00487110
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
add esp, 0x2c
mov eax, dword [edx + 0x10]
mov ebp, dword [eax + ecx + 0xc]
mov eax, dword [ebp + 0x10]
add ebp, 8
mov dword [esp + 0x5c], eax
test eax, eax
mov dword [esp + 0x38], ebp
je 0x49713e
mov edx, dword [esp + 0x5c]
lea eax, [edi + 2]
push eax
mov ebp, dword [edx + 8]
mov ecx, dword [ebp + 0x20]
push ecx
push 0x15
push esi
call fcn.004870f0
mov ebp, dword [ebp + 8]
add esp, 0x10
inc edi
test ebp, ebp
je 0x49712c
lea edx, [edi + 2]
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x28]
push eax
push ecx
push 0x15
push esi
call fcn.004870f0
mov ecx, dword [esp + 0x74]
mov ebp, dword [ebp + 0x14]
add esp, 0x10
inc edi
inc ecx
test ebp, ebp
mov dword [esp + 0x64], ecx
jne 0x497107
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x5c], eax
jne 0x4970de
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebx + 0x4c]
lea eax, [edi + 7]
cmp ecx, eax
jle 0x49714a
mov eax, ecx
push 1
push edi
push 2
push 0x75
push esi
mov dword [ebx + 0x4c], eax
call fcn.00486750
mov eax, dword [esp + 0x6c]
push eax
push esi
call fcn.00487620
push 2
push 0x49
push esi
call fcn.00487bd0
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x38]
add esp, 0x28
mov ecx, dword [eax + 0x10]
push 0xffffffffffffffff
mov ecx, dword [ecx + edx]
push ecx
push str._in_database__s__n
push eax
call fcn.0046a310
add esp, 0xc
push eax
push 0
push 3
push 0
push 0x5e
push esi
call fcn.00486710
push 4
push 2
push 0x1b
push esi
call fcn.004870f0
push 2
push 3
push 4
push 0x5b
push esi
call fcn.00486750
add esp, 0x40
push 1
push 2
push 0x1e
push esi
call fcn.004870f0
push edi
push esi
call fcn.00487110
mov ebp, dword [ebp + 8]
add esp, 0x18
test ebp, ebp
mov dword [esp + 0x5c], ebp
je 0x497455
jmp 0x4971ea
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x497455
mov ebp, dword [ebp + 8]
mov dword [esp + 0x30], ebp
mov eax, dword [ebp + 8]
test eax, eax
je 0x497443
push 1
push 0x7e
push esi
call fcn.00487bd0
push 0
push 0
push 0x14
push esi
mov edi, eax
call fcn.004870f0
push edi
push esi
call fcn.00487110
push ebx
call fcn.00497670
push 0x30
mov edi, ebp
push 1
push edi
push ebx
call fcn.004949f0
mov edi, dword [edi + 8]
add esp, 0x38
xor ebp, ebp
test edi, edi
je 0x497271
mov dword [esp + 0x64], 7
mov edx, dword [esp + 0x64]
push edx
push 0
push 0x15
push esi
call fcn.004870f0
mov ecx, dword [esp + 0x74]
mov edi, dword [edi + 0x14]
add esp, 0x10
inc ebp
inc ecx
test edi, edi
mov dword [esp + 0x64], ecx
jne 0x49724e
mov ecx, dword [ebx + 0x4c]
lea eax, [ebp + 7]
cmp ecx, eax
jle 0x49727d
mov eax, ecx
push 0
push 1
push 0x65
push esi
mov dword [ebx + 0x4c], eax
call fcn.004870f0
mov ebp, eax
mov eax, dword [esp + 0x40]
add esp, 0x10
inc ebp
mov edi, dword [eax + 8]
mov dword [esp + 0x14], ebp
test edi, edi
je 0x497373
mov dword [esp + 0x64], 2
lea ecx, [esp + 0x28]
push ecx
push 0
push 3
push 1
push edi
push ebx
call fcn.00491800
mov edx, dword [esp + 0x7c]
push 1
add edx, 5
mov ebp, eax
push edx
push 0x20
push esi
call fcn.004870f0
mov ecx, dword [esp + 0x8c]
xor eax, eax
mov ax, word [edi + 0x2c]
inc eax
push eax
push ebp
push 0
push ecx
push 0x3d
push esi
call fcn.004897b0
add esp, 0x40
mov dword [esp + 0x38], eax
push 0x4be17c
push 0xb
push esi
call fcn.0047a300
mov ebp, eax
push 0xfffffffffffffffe
push 0x4e111c
lea edx, [ebp + 1]
push edx
push esi
call fcn.0047a4d0
push 0xfffffffffffffffe
lea eax, [ebp + 3]
push str._missing_from_index
push eax
push esi
call fcn.0047a4d0
mov ecx, dword [edi]
push 0
lea edx, [ebp + 4]
push ecx
push edx
push esi
call fcn.0047a4d0
add ebp, 9
push ebp
push esi
call fcn.00487110
mov eax, dword [esp + 0x7c]
add esp, 0x44
push eax
push esi
call fcn.00487110
mov ecx, dword [esp + 0x30]
push ecx
push esi
call fcn.00487c40
mov ecx, dword [esp + 0x74]
mov edi, dword [edi + 0x14]
add esp, 0x10
inc ecx
test edi, edi
mov dword [esp + 0x64], ecx
jne 0x4972ad
mov ebp, dword [esp + 0x14]
push ebp
push 1
push 7
push esi
call fcn.004870f0
dec ebp
push ebp
push esi
call fcn.00487110
push 0xfffffffffffffffe
push str.wrong__of_entries_in_index
push 0
push 2
push 0
push 0x5e
push esi
call fcn.00486710
mov edx, dword [esp + 0x64]
add esp, 0x34
mov edi, dword [edx + 8]
test edi, edi
je 0x497443
mov ebp, 7
push esi
call fcn.00487c60
mov ebx, eax
lea eax, [ebx + 2]
push eax
push 1
push 0x7e
push esi
call fcn.004870f0
push 0
push 0
push 0x14
push esi
call fcn.004870f0
lea ecx, [ebp - 5]
push 3
push ecx
push 0x2c
push esi
call fcn.004870f0
add ebx, 8
push 3
push ebx
push ebp
push 0x4c
push esi
call fcn.00486750
add esp, 0x48
push 0xffffffffffffffff
push 1
push 0x20
push esi
call fcn.004870f0
mov edx, dword [edi]
push 0
push edx
push 0
push 3
push 0
push 0x5e
push esi
call fcn.00486710
push 7
push 2
push 3
push 0x5b
push esi
call fcn.00486750
add esp, 0x40
push 1
push 7
push 0x1e
push esi
call fcn.004870f0
mov edi, dword [edi + 0x14]
add esp, 0x10
inc ebp
test edi, edi
jne 0x4973b2
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x5c], eax
jne 0x4971e6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
inc eax
mov edx, dword [ecx + 0x14]
add edi, 0x10
cmp eax, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], edi
jl 0x49707c
push 0x4be16c
push 4
push esi
call fcn.0047a300
mov edx, dword [esp + 0x24]
mov edi, eax
neg edx
push edx
push edi
push esi
call fcn.0047a440
lea eax, [edi + 1]
push eax
push esi
call fcn.00487110
push 0xfffffffffffffffe
add edi, 2
push 0x4e10e0
push edi
push esi
call fcn.0047a4d0
add esp, 0x30
jmp 0x497540
push ebx
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x497540
push edi
push ebx
call fcn.00490580
mov ecx, dword [ebx + 0x4c]
mov ebp, dword [esp + 0x2c]
add esp, 8
inc ecx
mov dword [ebx + 0x4c], ecx
mov ebx, ecx
xor ecx, ecx
mov cl, byte [ebp]
cmp byte [ecx + 0x4bd464], 0x70
jne 0x4974fc
push ebx
push edi
push 0x92
push esi
call fcn.004870f0
add esp, 0x10
jmp 0x49751d
mov edx, dword [esp + 0x60]
push edx
call fcn.004805d0
push eax
call fcn.00467760
push eax
push ebx
push edi
push 0x93
push esi
call fcn.00486750
add esp, 0x1c
push 1
push ebx
push 0x1e
push esi
call fcn.004870f0
push 1
push esi
call fcn.004810c0
push 0xffffffffffffffff
push ebp
push 0
push 0
push esi
call fcn.00481130
add esp, 0x2c
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
push eax
push esi
call fcn.004591b0
mov ecx, dword [esp + 0x68]
push ecx
push esi
call fcn.004591b0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret