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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x5b3680]
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.00488a10
mov esi, eax
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x4cd366
push 0xc8
push 0
push esi
call fcn.00531bd0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [esi], ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x4cd34d
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 0x4cd36b
xor esi, esi
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], esi
test esi, esi
je 0x4cf437
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.004bd430
mov edi, eax
add esp, 8
mov dword [ebp - 0x40], edi
test edi, edi
js 0x4cf437
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 0x4cd3c9
mov ecx, dword [ebp - 0x24]
call fcn.004c1090
test eax, eax
jne 0x4cf437
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x48]
mov ecx, eax
call fcn.004bd200
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4cf437
cmp dword [ebp + 0x10], 0
je 0x4cd3fe
push dword [ebp - 0x34]
push 0x5911a0
push dword [ebp - 0x1c]
call fcn.00489dd0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x30], ecx
jmp 0x4cd40e
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
call fcn.004bd200
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jbe 0x4cd41e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
jmp 0x4cd420
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.004bc410
add esp, 0xc
test eax, eax
jne 0x4cf421
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.004ebb70
add esp, 0x10
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4cd4dd
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4cf3f3
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.004a3d90
add esp, 0x14
mov edx, 1
mov ecx, esi
call fcn.004a5380
push 0
push str.result
push 0
xor edx, edx
mov ecx, esi
call fcn.004a5410
add esp, 0xc
mov edx, 0x10
mov ecx, esi
push 1
push edi
call fcn.004a3d20
push dword [ebp - 0x18]
call fcn.00488710
add esp, 0xc
jmp 0x4cf3f3
cmp eax, 0xc
je 0x4cd516
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4cd508
push ecx
push 0x58ec5c
push dword [ebp - 0x24]
call fcn.0048a980
add esp, 0xc
push dword [ebp - 0x18]
call fcn.00488710
mov eax, dword [ebp - 0x38]
add esp, 4
mov ecx, dword [ebp - 0x24]
inc dword [ecx + 0x44]
mov dword [ecx + 0xc], eax
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.default_cache_size
call fcn.0048aa80
test eax, eax
jne 0x4cd625
mov ecx, dword [ebp - 0x24]
call fcn.004cfb90
test eax, eax
jne 0x4cf421
mov edx, edi
mov ecx, esi
call fcn.004a47d0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4cd5d2
lea edx, [eax + 1]
mov ecx, esi
call fcn.004a5380
push 0
push str.cache_size
push 0
xor edx, edx
mov ecx, esi
call fcn.004a5410
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov edx, 8
mov ecx, esi
add dword [eax + 0x4c], 2
push 0x586280
call fcn.004a4140
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x1c], eax
jbe 0x4cd59b
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 0x4cd5b0
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 0x4cf3f6
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], 0x7d0
jmp 0x4cf3f6
mov ecx, eax
call fcn.0048b3d0
mov ecx, eax
call fcn.0048ba70
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov edi, eax
call fcn.004c1260
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push edi
call fcn.004a3d20
push 1
push 3
push dword [ebp - 0x40]
mov edx, 0x25
mov ecx, esi
call fcn.004a3c00
mov esi, dword [ebp - 0x20]
add esp, 0x14
mov eax, dword [esi + 0xc]
mov dword [eax + 0x50], edi
jmp 0x4cdc1b
mov ecx, dword [ebp - 0x2c]
mov edx, str.page_size
call fcn.0048aa80
test eax, eax
jne 0x4cd69e
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x30]
mov esi, dword [eax + 4]
test edi, edi
jne 0x4cd669
test esi, esi
je 0x4cd64f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
jmp 0x4cd651
xor eax, eax
mov ecx, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, str.page_size
call fcn.004ccf70
add esp, 8
jmp 0x4cf3f3
mov ecx, edi
call fcn.0048b3d0
mov ecx, dword [ebp - 0x1c]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x3c], eax
mov ecx, esi
call fcn.0049a2b0
mov edx, dword [ebp - 0x1c]
add esp, 8
mov esi, dword [ebp - 0x20]
cmp eax, 7
jne 0x4cf3f9
mov byte [edx + 0x36], 1
jmp 0x4cf3f9
mov ecx, dword [ebp - 0x2c]
mov edx, str.secure_delete
call fcn.0048aa80
test eax, eax
jne 0x4cd735
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 0x4cd6d8
xor edx, edx
mov ecx, edi
call fcn.004ccda0
movzx edx, al
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x4cd70f
test edx, edx
js 0x4cd70f
mov eax, dword [ebp - 0x1c]
xor edi, edi
cmp dword [eax + 0x14], edi
jle 0x4cd70f
xor esi, esi
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + esi + 4]
call fcn.0049a420
mov eax, dword [ebp - 0x1c]
lea esi, [esi + 0x10]
mov edx, dword [ebp - 0x3c]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x4cd6f1
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
call fcn.0049a420
mov ecx, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, str.secure_delete
call fcn.004ccf70
mov edx, dword [ebp - 0x1c]
add esp, 8
jmp 0x4cf3f9
mov ecx, dword [ebp - 0x2c]
mov edx, str.page_count
call fcn.0048aa80
test eax, eax
je 0x4cf358
mov ecx, dword [ebp - 0x2c]
mov edx, str.max_page_count
call fcn.0048aa80
test eax, eax
je 0x4cf358
mov ecx, dword [ebp - 0x2c]
mov edx, str.locking_mode
call fcn.0048aa80
test eax, eax
jne 0x4cd844
mov ecx, dword [ebp - 0x30]
call fcn.004ccdc0
mov edx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4cd7d3
cmp edx, 0xffffffff
jne 0x4cd796
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x37]
jmp 0x4cd7e3
test eax, eax
jne 0x4cd7d3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 2
jle 0x4cd7d0
mov edi, 0x20
lea esi, [edi - 0x1e]
jmp 0x4cd7b0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.00495220
mov eax, dword [ebp - 0x1c]
lea edi, [edi + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x4cd7b0
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.00495220
cmp eax, 1
mov edi, str.exclusive
mov eax, str.normal
mov edx, 1
mov ecx, esi
cmovne edi, eax
call fcn.004a5380
push 0
push str.locking_mode
push 0
xor edx, edx
mov ecx, esi
call fcn.004a5410
add esp, 0xc
push 0
push edi
push 0
push 1
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.004a3d90
add esp, 0x14
push 1
push 1
mov edx, 0x10
mov ecx, esi
call fcn.004a3d20
add esp, 8
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.journal_mode
call fcn.0048aa80
test eax, eax
jne 0x4cd95d
mov ecx, dword [ebp - 0x24]
call fcn.004cfb90
test eax, eax
jne 0x4cf421
lea edx, [eax + 1]
mov ecx, esi
call fcn.004a5380
push 0
push str.journal_mode
push 0
xor edx, edx
mov ecx, esi
call fcn.004a5410
mov edx, dword [ebp - 0x30]
add esp, 0xc
test edx, edx
je 0x4cd93c
mov ecx, edx
call fcn.0048a880
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp edi, 6
je 0x4cd93c
mov ecx, dword [edi*4 + 0x5883a0]
test ecx, ecx
je 0x4cd93c
push eax
push ecx
push edx
call fcn.0048aad0
add esp, 0xc
test eax, eax
je 0x4cd8d2
mov eax, dword [ebp - 0x38]
inc edi
mov edx, dword [ebp - 0x30]
jmp 0x4cd89f
cmp edi, 0xffffffff
je 0x4cd943
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 0x14]
dec edi
js 0x4cd82c
mov edx, edi
shl edx, 4
mov dword [ebp - 0x34], edx
nop
mov eax, dword [eax + 0x10]
cmp dword [eax + edx + 4], 0
je 0x4cd928
cmp edi, ecx
je 0x4cd907
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x4cd928
mov edx, edi
mov ecx, esi
call fcn.004a47d0
push dword [ebp - 0x3c]
mov edx, 0x7e
mov ecx, esi
push 1
push edi
call fcn.004a3c00
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 0x4cd8f0
jmp 0x4cd82c
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x4cd8d7
xor ecx, ecx
mov dword [eax + 4], 1
mov dword [ebp - 0x40], ecx
jmp 0x4cd8da
mov ecx, dword [ebp - 0x2c]
mov edx, str.journal_size_limit
call fcn.0048aa80
test eax, eax
jne 0x4cd9de
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 0x4cd9be
push 1
push 0xf4240
lea edx, [ebp - 0x5c]
mov ecx, edi
call fcn.0048b150
mov ecx, dword [ebp - 0x58]
add esp, 8
cmp ecx, 0xffffffff
jg 0x4cd9bb
jl 0x4cd9b4
mov eax, dword [ebp - 0x5c]
cmp eax, 0xffffffff
jae 0x4cd9be
or eax, 0xffffffff
or ecx, eax
jmp 0x4cd9be
mov eax, dword [ebp - 0x5c]
push ecx
push eax
mov ecx, esi
call fcn.00495340
mov ecx, dword [ebp - 0x24]
push edx
push eax
mov edx, str.journal_size_limit
call fcn.004ccf70
add esp, 0x10
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.auto_vacuum
call fcn.0048aa80
test eax, eax
jne 0x4cdb04
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
call fcn.004cfb90
test eax, eax
jne 0x4cf421
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4cda3d
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4cda23
mov ecx, eax
call fcn.0049a510
jmp 0x4cda25
xor eax, eax
mov ecx, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, str.auto_vacuum
call fcn.004ccf70
add esp, 8
jmp 0x4cf3f3
mov ecx, eax
call fcn.004cce00
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov byte [edx + 0x38], al
test eax, eax
js 0x4cf3f6
mov ecx, dword [ebp - 0x34]
mov edx, eax
call fcn.0049a490
test eax, eax
jne 0x4cf3f3
mov eax, dword [ebp - 0x4c]
cmp eax, 1
je 0x4cda78
cmp eax, 2
jne 0x4cf3f3
push 0x5885d0
mov edx, 6
mov ecx, esi
call fcn.004a4140
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [esi + 0x1c], eax
jbe 0x4cda9e
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 0x4cdab3
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 0x4cdacb
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 0x4cdae4
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 0x4cdaf6
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.004a47d0
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.incremental_vacuum
call fcn.0048aa80
test eax, eax
jne 0x4cdbc1
mov ecx, dword [ebp - 0x24]
call fcn.004cfb90
test eax, eax
jne 0x4cf421
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4cdb48
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.0048b2f0
test eax, eax
je 0x4cdb48
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
test eax, eax
jg 0x4cdb4f
mov dword [ebp - 0x34], closesocket
mov ecx, dword [ebp - 0x24]
xor edx, edx
push edi
call fcn.004c1260
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push dword [ebp - 0x34]
call fcn.004a3d20
push edi
mov edx, 0x80
mov ecx, esi
call fcn.004a3cc0
add esp, 0xc
mov edx, 0x10
mov ecx, esi
mov edi, eax
push 1
call fcn.004a3cc0
add esp, 4
mov edx, 0x14
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.004a3d20
push edi
push 1
mov edx, 0x78
mov ecx, esi
call fcn.004a3d20
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.004a41f0
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.cache_size
call fcn.0048aa80
test eax, eax
jne 0x4cdc31
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.004cfb90
test eax, eax
jne 0x4cf421
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x4cdc0b
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.004ccf70
add esp, 8
jmp 0x4cf3f3
mov ecx, edi
call fcn.0048b3d0
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.0049a180
mov edx, dword [ebp - 0x1c]
jmp 0x4cf3f9
mov ecx, dword [ebp - 0x2c]
mov edx, str.temp_store
call fcn.0048aa80
test eax, eax
jne 0x4cdc74
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x4cdc68
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x35]
cdq
push edx
push eax
mov edx, str.temp_store
call fcn.004ccf70
add esp, 8
jmp 0x4cf3f3
mov edx, edi
call fcn.004cced0
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.temp_store_directory
call fcn.0048aa80
test eax, eax
jne 0x4cdd45
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x4cdcc5
cmp dword [0x5ba518], edi
je 0x4cf3f3
lea edx, [eax + 1]
mov ecx, esi
call fcn.004a5380
push edi
push str.temp_store_directory
push edi
xor edx, edx
mov ecx, esi
call fcn.004a5410
add esp, 0xc
push edi
push dword [0x5ba518]
jmp 0x4cd817
cmp byte [edi], 0
je 0x4cdcfa
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 0x4cdce8
cmp dword [ebp - 0x38], eax
jne 0x4cdcfa
push str.not_a_writable_directory
push dword [ebp - 0x24]
call fcn.0048a980
jmp 0x4cf41e
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x35], 1
ja 0x4cdd0b
mov ecx, dword [ebp - 0x24]
call fcn.004cce80
push dword [0x5ba518]
call fcn.00488710
add esp, 4
cmp byte [edi], 0
je 0x4cdd36
push edi
push 0x58ec5c
call fcn.00489eb0
add esp, 8
mov dword [0x5ba518], eax
jmp 0x4cf3f3
mov dword [0x5ba518], 0
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.data_store_directory
call fcn.0048aa80
test eax, eax
jne 0x4cddfb
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x4cdd96
cmp dword [0x5ba414], edi
je 0x4cf3f3
lea edx, [eax + 1]
mov ecx, esi
call fcn.004a5380
push edi
push str.data_store_directory
push edi
xor edx, edx
mov ecx, esi
call fcn.004a5410
add esp, 0xc
push edi
push dword [0x5ba414]
jmp 0x4cd817
cmp byte [edi], 0
je 0x4cddc1
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 0x4cdce8
cmp dword [ebp - 0x38], eax
je 0x4cdce8
push dword [0x5ba414]
call fcn.00488710
add esp, 4
cmp byte [edi], 0
je 0x4cddec
push edi
push 0x58ec5c
call fcn.00489eb0
add esp, 8
mov dword [0x5ba414], eax
jmp 0x4cf3f3
mov dword [0x5ba414], 0
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.synchronous
call fcn.0048aa80
test eax, eax
jne 0x4cde7e
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.004cfb90
test eax, eax
jne 0x4cf421
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x4cde44
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.004ccf70
add esp, 8
jmp 0x4cf3f3
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x34], 0
jne 0x4cde60
push str.Safety_level_may_not_be_changed_inside_a_transaction
push esi
call fcn.0048a980
add esp, 8
jmp 0x4cf3f3
push 1
xor edx, edx
mov ecx, edi
call fcn.004cccf0
mov esi, dword [ebp - 0x20]
add esp, 4
mov edx, dword [ebp - 0x1c]
inc al
mov byte [esi + 9], al
jmp 0x4cf3f9
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
call fcn.004cd160
add esp, 4
test eax, eax
jne 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.table_info
call fcn.0048aa80
test eax, eax
jne 0x4ce09b
cmp dword [ebp - 0x30], eax
je 0x4ce09b
mov ecx, dword [ebp - 0x24]
call fcn.004cfb90
test eax, eax
jne 0x4cf421
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.004bca30
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
test edi, edi
je 0x4cf3f3
mov edx, 6
mov dword [ebp - 0x28], 0
mov ecx, esi
call fcn.004a5380
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push 0x591300
push 0
mov ecx, esi
mov dword [eax + 0x4c], 6
call fcn.004a5410
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.type
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push str.notnull
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push str.dflt_value
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push 0x591320
push 0
call fcn.004a5410
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov edx, edi
call fcn.004be960
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x4c], eax
cmp dword [ecx + 8], eax
jle 0x4cf3f3
jmp 0x4cdfb0
cmp byte [edi + 0x17], 0
je 0x4cdfbe
inc dword [ebp - 0x28]
jmp 0x4ce086
sub eax, dword [ebp - 0x28]
mov edx, 7
push 1
push eax
mov ecx, esi
call fcn.004a3d20
push 0
push dword [edi]
mov edx, 0x5e
mov ecx, esi
push 0
push 2
push 0
call fcn.004a3d90
mov eax, dword [edi + 0xc]
add esp, 0x1c
test eax, eax
mov ecx, 0x581d3c
mov edx, 0x5e
cmovne ecx, eax
push 0
push ecx
push 0
push 3
push 0
mov ecx, esi
call fcn.004a3d90
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.004a3d20
mov eax, dword [edi + 8]
add esp, 8
mov ecx, esi
test eax, eax
je 0x4ce049
push 0
push eax
push 0
push 5
push 0
mov edx, 0x5e
call fcn.004a3d90
add esp, 0x14
jmp 0x4ce05a
push 5
push 0
mov edx, 0xa
call fcn.004a3d20
add esp, 8
movzx eax, byte [edi + 0x15]
mov edx, 7
push 6
push eax
mov ecx, esi
call fcn.004a3d20
push 6
push 1
mov edx, 0x10
mov ecx, esi
call fcn.004a3d20
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 0x4cdfb0
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.index_info
call fcn.0048aa80
test eax, eax
jne 0x4ce1c4
cmp dword [ebp - 0x30], eax
je 0x4ce1c4
mov ecx, dword [ebp - 0x24]
call fcn.004cfb90
test eax, eax
jne 0x4cf421
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.004bcbb0
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
test edi, edi
je 0x4cf3f3
mov eax, dword [edi + 0xc]
mov edx, 3
mov ecx, esi
mov dword [ebp - 0x38], eax
call fcn.004a5380
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.004a5410
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x591300
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.name
push 0
call fcn.004a5410
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x34], ecx
cmp dword [edi + 0x24], ecx
jle 0x4cf3f3
mov eax, dword [edi + 4]
mov edx, 7
push 1
push ecx
mov edi, dword [eax + ecx*4]
mov ecx, esi
call fcn.004a3d20
push 2
push edi
mov edx, 7
mov ecx, esi
call fcn.004a3d20
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.004a3d90
add esp, 0x24
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.004a3d20
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 0x4ce156
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.index_list
call fcn.0048aa80
test eax, eax
jne 0x4ce2ec
cmp dword [ebp - 0x30], eax
je 0x4ce2ec
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.004cfb90
test eax, eax
jne 0x4cf421
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.004bca30
mov esi, eax
add esp, 4
test esi, esi
je 0x4cf3f3
mov ecx, edi
call fcn.004d28c0
mov esi, dword [esi + 0x10]
mov edi, eax
test esi, esi
je 0x4cf3f3
mov edx, 3
mov dword [ebp - 0x34], 0
mov ecx, edi
call fcn.004a5380
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push 0x591344
push 0
mov ecx, edi
mov dword [eax + 0x4c], 3
call fcn.004a5410
add esp, 0xc
mov edx, 1
mov ecx, edi
push 0
push str.name
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push str.unique
push 0
call fcn.004a5410
add esp, 0xc
xor eax, eax
push 1
push eax
mov edx, 7
mov ecx, edi
call fcn.004a3d20
push 0
push dword [esi]
mov edx, 0x5e
mov ecx, edi
push 0
push 2
push 0
call fcn.004a3d90
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.004a3d20
push 3
push 1
mov edx, 0x10
mov ecx, edi
call fcn.004a3d20
mov eax, dword [ebp - 0x34]
add esp, 0x10
mov esi, dword [esi + 0x14]
inc eax
mov dword [ebp - 0x34], eax
test esi, esi
jne 0x4ce287
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.database_list
call fcn.0048aa80
test eax, eax
jne 0x4ce40e
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.004cfb90
test eax, eax
jne 0x4cf421
lea edx, [eax + 3]
mov ecx, esi
call fcn.004a5380
push 0
push 0x591344
push 0
xor edx, edx
mov dword [edi + 0x4c], 3
mov ecx, esi
call fcn.004a5410
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.file
push 0
call fcn.004a5410
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x34], ecx
cmp dword [edx + 0x14], ecx
jle 0x4cf3f6
xor edi, edi
lea esp, [esp]
mov eax, dword [edx + 0x10]
cmp dword [eax + edi + 4], 0
je 0x4ce3f9
push 1
push ecx
mov edx, 7
mov ecx, esi
call fcn.004a3d20
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.004a3d90
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
mov ecx, dword [eax + 0x10]
push 0
mov ecx, dword [ecx + edi + 4]
call fcn.004a16c0
push eax
push 0
push 3
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.004a3d90
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.004a3d20
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 0x4ce380
jmp 0x4cf3f6
mov ecx, dword [ebp - 0x2c]
mov edx, str.collation_list
call fcn.0048aa80
test eax, eax
jne 0x4ce4d4
lea edx, [eax + 2]
mov dword [ebp - 0x28], eax
mov ecx, esi
call fcn.004a5380
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push 0x591344
push 0
mov ecx, esi
mov dword [eax + 0x4c], 2
call fcn.004a5410
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.004a5410
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [eax + 0x1a4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4cf3f3
jmp 0x4ce480
mov edi, dword [eax + 8]
mov edx, 7
push 1
push dword [ebp - 0x28]
mov ecx, esi
call fcn.004a3d20
inc dword [ebp - 0x28]
mov edx, 0x5e
push 0
push dword [edi]
mov ecx, esi
push 0
push 2
push 0
call fcn.004a3d90
add esp, 0x1c
mov edx, 0x10
mov ecx, esi
push 2
push 1
call fcn.004a3d20
mov eax, dword [ebp - 0x34]
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4ce480
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.foreign_key_list
call fcn.0048aa80
test eax, eax
jne 0x4ce779
cmp dword [ebp - 0x30], eax
je 0x4ce779
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.004cfb90
test eax, eax
jne 0x4cf421
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.004bca30
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
test edi, edi
je 0x4cf3f3
mov ecx, esi
call fcn.004d28c0
mov edi, dword [edi + 0x24]
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x44], edi
test edi, edi
je 0x4cf3f3
mov edx, 8
mov dword [ebp - 0x50], 0
mov ecx, esi
call fcn.004a5380
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0
push 0x591384
push 0
mov ecx, esi
mov dword [eax + 0x4c], 8
call fcn.004a5410
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x591344
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.table
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push str.from
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push 0x591390
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push str.on_update
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 6
mov ecx, esi
push 0
push str.on_delete
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 7
mov ecx, esi
push 0
push str.match
push 0
call fcn.004a5410
add esp, 0xc
xor eax, eax
jmp 0x4ce620
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x3c], 0
jle 0x4ce762
lea ecx, [edi + 0x24]
mov dword [ebp - 0x40], ecx
jmp 0x4ce640
mov esi, dword [ecx + 4]
mov cl, byte [edi + 0x19]
call fcn.004cd2b0
mov cl, byte [edi + 0x1a]
mov dword [ebp - 0x48], eax
call fcn.004cd2b0
mov ecx, dword [ebp - 0x28]
mov edx, 7
push 1
push dword [ebp - 0x50]
mov edi, eax
call fcn.004a3d20
mov ecx, dword [ebp - 0x28]
mov edx, 7
push 2
push dword [ebp - 0x3c]
call fcn.004a3d20
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.004a3d90
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.004a3d90
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.004a3d90
add esp, 0x14
mov ecx, esi
push 0
push edi
push 0
push 6
mov edi, 0x5e
push 0
mov edx, edi
call fcn.004a3d90
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push dword [ebp - 0x48]
push 0
push 7
push 0
call fcn.004a3d90
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push str.NONE
push 0
push 8
push 0
call fcn.004a3d90
add esp, 0x14
lea edx, [edi - 0x4e]
mov ecx, esi
push 8
push 1
call fcn.004a3d20
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 0x4ce640
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 0x4ce620
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.case_sensitive_like
call fcn.0048aa80
test eax, eax
jne 0x4ce7ae
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x4cf3f3
xor edx, edx
mov ecx, edi
call fcn.004ccda0
mov ecx, dword [ebp - 0x1c]
movzx edx, al
call fcn.004c59a0
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.integrity_check
call fcn.0048aa80
test eax, eax
je 0x4cec95
mov ecx, dword [ebp - 0x2c]
mov edx, str.quick_check
call fcn.0048aa80
test eax, eax
je 0x4cec95
mov ecx, dword [ebp - 0x2c]
mov edx, str.encoding
call fcn.0048aa80
test eax, eax
jne 0x4ce935
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x4ce8b3
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.004cfb90
test eax, eax
jne 0x4cf421
lea edx, [eax + 1]
mov ecx, esi
call fcn.004a5380
push 0
push str.encoding
push 0
xor edx, edx
mov ecx, esi
call fcn.004a5410
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push 1
push 0
call fcn.004a3d20
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 + 0x585b80]
mov dword [ebp - 0x38], eax
test edx, edx
je 0x4ce8a0
cmp byte [ecx + 0x36], 0
jne 0x4ce8a0
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.004a4210
mov eax, dword [ebp - 0x38]
add esp, 4
mov dword [edi + 0x10], 0
test eax, eax
jne 0x4ce894
mov dword [edi + 0x10], eax
mov byte [edi + 1], al
jmp 0x4cd82c
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfe
jmp 0x4cd82c
push eax
mov edx, 0xfffffffe
call fcn.004a4210
add esp, 4
jmp 0x4cd82c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x4e]
test al, 1
je 0x4ce8cc
test al, 4
je 0x4cf3f3
mov eax, dword [str.UTF8]
mov esi, 0x585b80
test eax, eax
je 0x4ce91f
lea ebx, [ebx]
mov edx, eax
mov ecx, edi
call fcn.0048aa80
test eax, eax
je 0x4ce8f9
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x4ce8e0
jmp 0x4ce91f
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x4ce908
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 0x4cf3f3
push edi
push str.unsupported_encoding:__s
push dword [ebp - 0x24]
call fcn.0048a980
add esp, 0xc
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.schema_version
call fcn.0048aa80
test eax, eax
je 0x4ceb62
mov ecx, dword [ebp - 0x2c]
mov edx, str.user_version
call fcn.0048aa80
test eax, eax
je 0x4ceb62
mov ecx, dword [ebp - 0x2c]
mov edx, str.freelist_count
call fcn.0048aa80
test eax, eax
je 0x4ceb62
mov ecx, dword [ebp - 0x2c]
mov edx, str.compile_options
call fcn.0048aa80
test eax, eax
jne 0x4cea03
lea edx, [eax + 1]
mov ecx, esi
xor edi, edi
call fcn.004a5380
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.004a5410
add esp, 0xc
push edi
call fcn.00485940
add esp, 4
test eax, eax
je 0x4cf3f3
lea ecx, [edi + 0x5e]
push 0
push eax
push 0
push 1
mov edx, ecx
inc edi
push 0
mov ecx, esi
call fcn.004a3d90
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 1
push 1
call fcn.004a3d20
push edi
call fcn.00485940
add esp, 0xc
mov ecx, 0x5e
test eax, eax
jne 0x4ce9c6
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x2c]
mov edx, str.wal_checkpoint
call fcn.0048aa80
test eax, eax
jne 0x4ceae3
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 0x4cea5e
mov edx, str.full
mov ecx, eax
call fcn.0048aa80
test eax, eax
jne 0x4cea47
lea edi, [eax + 1]
jmp 0x4cea5e
mov ecx, dword [ebp - 0x30]
mov edx, str.restart
call fcn.0048aa80
test eax, eax
mov eax, 2
cmove edi, eax
mov ecx, dword [ebp - 0x24]
call fcn.004cfb90
test eax, eax
jne 0x4cf421
lea edx, [eax + 3]
mov ecx, esi
call fcn.004a5380
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.004a5410
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x591528
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.checkpointed
push 0
call fcn.004a5410
add esp, 0xc
mov edx, 0x7d
mov ecx, esi
push 1
push edi
push dword [ebp - 0x38]
call fcn.004a3c00
add esp, 0xc
push 3
jmp 0x4cd82e
mov esi, dword [ebp - 0x2c]
mov edx, str.wal_autocheckpoint
mov ecx, esi
call fcn.0048aa80
test eax, eax
jne 0x4ceb41
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x4ceb10
mov ecx, edi
call fcn.0048b3d0
push eax
push dword [ebp - 0x1c]
call fcn.004ea4c0
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0x4ea480
jne 0x4ceb27
mov eax, dword [eax + 0xc0]
jmp 0x4ceb29
xor eax, eax
mov ecx, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, str.wal_autocheckpoint
call fcn.004ccf70
add esp, 8
jmp 0x4cf3f3
mov edx, str.shrink_memory
mov ecx, esi
call fcn.0048aa80
test eax, eax
jne 0x4cf3f3
mov ecx, dword [ebp - 0x1c]
call fcn.004e92a0
jmp 0x4cf3f3
mov edx, edi
mov ecx, esi
call fcn.004a47d0
mov ecx, dword [ebp - 0x2c]
movsx eax, byte [ecx]
add eax, 0xffffffba
cmp eax, 0x2d
ja case.0x4ceb80.71
movzx eax, byte [eax + 0x4cf454]
jmp dword [eax*4 + 0x4cf448]
xor eax, eax
jmp 0x4ceb97
mov eax, 1
jmp 0x4ceb97
mov eax, 6
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x4cec2a
test eax, eax
je 0x4cec2a
push 0x5858c4
mov edx, 3
mov ecx, esi
call fcn.004a4140
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x1c], eax
jbe 0x4cebd3
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4 + 4], edi
mov ecx, dword [ebp - 0x30]
call fcn.0048b3d0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
lea ecx, [eax + 1]
cmp dword [esi + 0x1c], ecx
jbe 0x4cebf9
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 0x4cf3f3
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 4], edi
cmp dword [esi + 0x1c], edx
jbe 0x4cf3f3
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x28]
mov dword [eax + ecx*4 + 8], edx
jmp 0x4cf3f3
push 0x587154
mov edx, 3
mov ecx, esi
call fcn.004a4140
add esp, 4
cmp dword [esi + 0x1c], eax
jbe 0x4cec4d
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 0x4cec71
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 4], edi
cmp dword [esi + 0x1c], edx
jbe 0x4cec71
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.004a5380
push 0xffffffffffffffff
push dword [ebp - 0x2c]
xor edx, edx
mov ecx, esi
push 0
call fcn.004a5410
add esp, 0xc
jmp 0x4cf3f3
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edi, dword [ebp - 0x24]
movzx eax, byte [eax]
cmp byte [eax + 0x585a50], 0x71
sete cl
mov dword [ebp - 0x4c], ecx
mov ecx, edi
call fcn.004cfb90
test eax, eax
jne 0x4cf421
lea edx, [eax + 1]
mov dword [edi + 0x4c], 6
mov ecx, esi
call fcn.004a5380
push 0
push str.integrity_check
push 0
xor edx, edx
mov ecx, esi
call fcn.004a5410
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 0x4ced0e
lea edx, [ebp - 0x34]
mov ecx, eax
call fcn.0048b2f0
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.004a3d20
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x34], ecx
cmp dword [eax + 0x14], ecx
jle 0x4cf2cd
mov dword [ebp - 0x40], ecx
mov edx, ecx
mov dword [ebp - 0x28], 0
mov ecx, edi
call fcn.004c1120
push 1
mov edx, 0x78
mov ecx, esi
call fcn.004a3cc0
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.004a3d20
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.004a41f0
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 0x4cedf0
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.004a3d20
mov eax, dword [ebp - 0x28]
add esp, 8
mov edi, dword [edi + 0x10]
inc eax
mov dword [ebp - 0x28], eax
test edi, edi
je 0x4cede4
lea ebx, [ebx]
add eax, 2
mov edx, 7
push eax
push dword [edi + 0x28]
mov ecx, esi
call fcn.004a3d20
mov eax, dword [ebp - 0x28]
add esp, 8
mov edi, dword [edi + 0x14]
inc eax
mov dword [ebp - 0x28], eax
test edi, edi
jne 0x4cedc0
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
mov dword [ebp - 0x44], ecx
test ecx, ecx
jne 0x4ced93
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
lea ecx, [eax + 4]
cmp dword [edx + 0x4c], ecx
jge 0x4cee01
mov dword [edx + 0x4c], ecx
push 1
push eax
push 2
mov edx, 0x6f
mov ecx, esi
call fcn.004a3c00
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
je 0x4cee29
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.004a3cc0
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.00489dd0
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.004a3d90
add esp, 0x14
mov edx, 0xd
mov ecx, esi
push 1
push 4
push 2
call fcn.004a3c00
add esp, 0xc
mov edx, 0x5b
mov ecx, esi
push 2
push 3
push 4
call fcn.004a3c00
add esp, 0xc
mov edx, 0x10
mov ecx, esi
push 1
push 2
call fcn.004a3d20
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.004a41f0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4cf2b3
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
jne 0x4cf2b3
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
cmp dword [eax + 0x10], ecx
je 0x4cf2a3
lea edx, [ecx + 0x78]
mov ecx, esi
push 1
call fcn.004a3cc0
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.004a3d20
mov edx, edi
mov ecx, esi
call fcn.004a41f0
mov edi, dword [ebp - 0x3c]
mov edx, edi
mov ecx, dword [ebp - 0x24]
push 0x27
push 1
call fcn.004cbad0
push 2
push 0
mov edx, 7
mov ecx, esi
call fcn.004a3d20
push 0
push 1
mov edx, 0x48
mov ecx, esi
call fcn.004a3d20
push 1
push 2
mov edx, 0x14
mov dword [ebp - 0x58], eax
mov ecx, esi
call fcn.004a3d20
mov edi, dword [edi + 0x10]
add esp, 0x28
mov dword [ebp - 0x50], edi
test edi, edi
je 0x4cf0e8
mov dword [ebp - 0x28], 2
mov ecx, dword [ebp - 0x24]
mov edx, edi
push 0
push 3
push 1
call fcn.004c2cd0
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.004a3f00
push 0x585ef0
mov edx, 0xb
mov dword [ebp - 0x60], eax
mov ecx, esi
call fcn.004a4140
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 0x4cefe5
cmp byte [eax + 0x36], 0
jne 0x4cefe5
test ecx, ecx
jns 0x4cefc3
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.004a4210
mov dword [edi + 0x10], 0x591404
mov byte [edi + 1], 0xfe
jmp 0x4ceff6
push 0x591404
mov edx, 0xfffffffe
mov ecx, eax
call fcn.004a4210
mov eax, dword [ebp - 0x44]
add esp, 4
mov edx, dword [esi + 4]
add eax, 3
mov ecx, dword [esi]
test edx, edx
je 0x4cf036
cmp byte [ecx + 0x36], 0
jne 0x4cf036
test eax, eax
jns 0x4cf016
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.004a4210
mov dword [edi + 0x10], str._missing_from_index
mov byte [edi + 1], 0xfe
jmp 0x4cf045
push str._missing_from_index
mov edx, 0xfffffffe
call fcn.004a4210
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 0x4cf0b2
cmp byte [ecx + 0x36], 0
jne 0x4cf0b2
test eax, eax
jns 0x4cf06d
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.004a4210
mov ecx, dword [ebp - 0x64]
add esp, 4
mov dword [edi + 0x10], 0
test ecx, ecx
jne 0x4cf09a
mov dword [edi + 0x10], ecx
mov byte [edi + 1], cl
jmp 0x4cf0bd
call fcn.0048a880
mov edx, ecx
mov ecx, dword [esi]
push eax
call fcn.00488b70
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xff
jmp 0x4cf0ba
push edx
xor edx, edx
call fcn.004a4210
add esp, 4
mov edx, dword [ebp - 0x44]
mov ecx, esi
lea edx, [edx + 9]
call fcn.004a41f0
mov edx, dword [ebp - 0x60]
mov ecx, esi
call fcn.004a41f0
mov edi, dword [ebp - 0x50]
inc dword [ebp - 0x28]
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x50], edi
test edi, edi
jne 0x4cef65
mov edi, dword [ebp - 0x58]
mov edx, 0x5f
mov ecx, esi
lea eax, [edi + 1]
push eax
push 1
call fcn.004a3d20
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.004a41f0
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4cf2a0
mov dword [ebp - 0x3c], 2
push 1
mov edx, 0x78
mov ecx, esi
call fcn.004a3cc0
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.004a3d20
mov edx, edi
mov ecx, esi
call fcn.004a41f0
push 0x5871d0
mov edx, 0xa
mov ecx, esi
call fcn.004a4140
add esp, 0xc
mov dword [ebp - 0x28], eax
lea edi, [eax + 1]
cmp dword [esi + 0x1c], edi
jbe 0x4cf191
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 0x4cf191
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 0x4cf1bb
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 0x4cf1bb
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.004a41f0
mov edx, dword [esi + 4]
lea eax, [edi + 6]
mov ecx, dword [esi]
test edx, edx
je 0x4cf205
cmp byte [ecx + 0x36], 0
jne 0x4cf205
test eax, eax
jns 0x4cf1e2
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.004a4210
mov dword [edi + 0x10], str.wrong__of_entries_in_index
mov byte [edi + 1], 0xfe
mov edi, dword [ebp - 0x28]
jmp 0x4cf214
push str.wrong__of_entries_in_index
mov edx, 0xfffffffe
call fcn.004a4210
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 0x4cf27f
cmp byte [edi + 0x36], 0
jne 0x4cf27f
test eax, eax
jns 0x4cf239
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.004a4210
mov ecx, dword [ebp - 0x58]
add esp, 4
mov dword [edi + 0x10], 0
test ecx, ecx
jne 0x4cf267
mov dword [edi + 0x10], ecx
mov byte [edi + 1], cl
jmp 0x4cf28c
call fcn.0048a880
mov edx, ecx
mov ecx, dword [esi]
push eax
call fcn.00488b70
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xff
jmp 0x4cf289
push ecx
xor edx, edx
mov ecx, edi
call fcn.004a4210
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 0x4cf121
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x4ceec8
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 0x4ced34
push 0x587e30
mov edx, 4
mov ecx, esi
call fcn.004a4140
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x4cf2f7
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.004a41f0
mov edx, dword [esi + 4]
lea eax, [edi + 2]
mov ecx, dword [esi]
test edx, edx
je 0x4cf341
cmp byte [ecx + 0x36], 0
jne 0x4cf341
test eax, eax
jns 0x4cf31b
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.004a4210
add esp, 4
mov dword [esi + 0x10], 0x591444
mov byte [esi + 1], 0xfe
jmp 0x4cf3f3
push 0x591444
mov edx, 0xfffffffe
call fcn.004a4210
add esp, 4
jmp 0x4cf3f3
mov ecx, dword [ebp - 0x24]
call fcn.004cfb90
test eax, eax
jne 0x4cf421
mov ecx, dword [ebp - 0x24]
mov edx, edi
call fcn.004c1120
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 + 0x585a50], 0x70
jne 0x4cf3a0
push ecx
push edi
mov edx, 0x92
mov ecx, esi
call fcn.004a3d20
add esp, 8
jmp 0x4cf3c3
mov ecx, dword [ebp - 0x30]
call fcn.0048b3d0
mov ecx, eax
call fcn.0048ba70
push eax
push dword [ebp - 0x38]
mov edx, 0x93
mov ecx, esi
push edi
call fcn.004a3c00
add esp, 0xc
push 1
push dword [ebp - 0x38]
mov edx, 0x10
mov ecx, esi
call fcn.004a3d20
mov edx, 1
mov ecx, esi
call fcn.004a5380
push 0xffffffffffffffff
push dword [ebp - 0x2c]
xor edx, edx
mov ecx, esi
push 0
call fcn.004a5410
add esp, 0x14
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
cmp byte [edx + 0x34], 0
je 0x4cf421
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.0049a220
add esp, 8
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
call fcn.004887b0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
call fcn.004887b0
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.005295e2
mov esp, ebp
pop ebp
ret