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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
push edi
mov edi, dword [ebx]
push edi
mov dword [esp + 0x18], edi
call fcn.004716b0
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebx + 0xc], eax
je 0x4885df
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x28]
mov dword [ebx + 0x48], 2
push eax
push ecx
push edx
push ebx
call fcn.004807b0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jl 0x4885df
mov ecx, dword [edi + 8]
lea eax, [ebp + ebp*2]
cmp ebp, 1
lea edx, [ecx + eax*8]
mov dword [esp + 0x10], edx
jne 0x486de4
push ebx
call fcn.00473160
add esp, 4
test eax, eax
jne 0x4885df
mov eax, dword [esp + 0x28]
push eax
push edi
call fcn.00480750
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x4885df
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x486e1b
mov ecx, dword [esp + 0x48]
push ecx
push 0x4e0d4c
push edi
call fcn.004656e0
add esp, 0xc
jmp 0x486e29
mov edx, dword [esp + 0x48]
push edx
push edi
call fcn.00480750
add esp, 8
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
test dword [eax + 4], 0xfffffffe
jbe 0x486e46
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
jmp 0x486e4e
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
push 0x13
push ebx
call fcn.004802e0
add esp, 0x14
test eax, eax
jne 0x4885c6
mov eax, dword [esp + 0x40]
push str.default_cache_size
push eax
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x486f85
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
push ebp
push esi
call fcn.00471910
mov eax, dword [esp + 0x50]
add esp, 8
test eax, eax
jne 0x486efd
push 1
push esi
call fcn.004762e0
push 0
push str.cache_size
push 0
push 0
push esi
call fcn.00476350
mov edx, dword [ebx + 0x48]
push 0x4c4988
add edx, 2
push 7
push esi
mov dword [ebx + 0x48], edx
call fcn.00471700
mov edi, eax
push ebp
push edi
push esi
call fcn.00471820
add edi, 5
push 0x7d0
push edi
push esi
call fcn.00471820
add esp, 0x40
jmp 0x48858c
push eax
call fcn.00499718
mov edi, eax
add esp, 4
test edi, edi
jge 0x486f0e
neg edi
push ebp
push 0
push ebx
call fcn.004839a0
push 1
push edi
push 0x31
push esi
call fcn.0047b6a0
push 2
push 2
push ebp
push 0x70
push esi
call fcn.0047aa10
push 0
push 2
push 0x7f
push esi
call fcn.0047b6a0
add esp, 0x40
mov ecx, edi
neg ecx
push 1
push ecx
push 0x31
push esi
mov ebx, eax
call fcn.0047b6a0
push ebx
push esi
call fcn.0047bb50
push 1
push 2
push ebp
push 4
push esi
call fcn.0047aa10
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x14]
mov dword [edx + 0x4c], edi
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 0x4c]
push edx
push eax
call fcn.00475b20
add esp, 0x34
jmp 0x48858c
mov ecx, dword [esp + 0x40]
push str.page_size
push ecx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487008
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
test eax, eax
mov ebp, dword [edx + 4]
jne 0x486fe1
test ebp, ebp
je 0x486fcb
push ebp
call fcn.0045fa20
add esp, 4
push eax
push str.page_size
push ebx
call fcn.00488a70
add esp, 0xc
jmp 0x48858c
xor eax, eax
push eax
push str.page_size
push ebx
call fcn.00488a70
add esp, 0xc
jmp 0x48858c
push eax
call fcn.00499718
push 0xffffffffffffffff
push eax
push ebp
mov dword [edi + 0x24], eax
call fcn.00477080
add esp, 0x10
cmp eax, 7
jne 0x48858c
mov byte [edi + 0x1e], 1
jmp 0x48858c
mov eax, dword [esp + 0x40]
push str.max_page_count
push eax
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487058
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 4]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x487036
push ecx
call fcn.00499718
add esp, 4
test edi, edi
je 0x487044
push eax
push edi
call fcn.00488700
add esp, 8
push eax
push str.max_page_count
push ebx
call fcn.00488a70
add esp, 0xc
jmp 0x48858c
mov edx, dword [esp + 0x40]
push str.page_count
push edx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x4870c5
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
push ebp
push ebx
call fcn.00483a00
mov edx, dword [ebx + 0x48]
inc edx
mov dword [ebx + 0x48], edx
mov ebx, edx
push ebx
push ebp
push 0x11
push esi
call fcn.0047b6a0
push 1
push ebx
push 0x5b
push esi
call fcn.0047b6a0
push 1
push esi
call fcn.004762e0
push 0
push str.page_count
push 0
push 0
push esi
call fcn.00476350
add esp, 0x44
jmp 0x48858c
mov eax, dword [esp + 0x40]
push str.locking_mode
push eax
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x4871ba
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], str.normal
push ecx
call fcn.004888c0
mov edx, dword [esp + 0x48]
mov ebx, eax
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [edx + 4]
and eax, 0xfffffffe
jne 0x487112
cmp ebx, 0xffffffff
jne 0x487112
xor eax, eax
mov al, byte [edi + 0x1f]
jmp 0x48716b
test eax, eax
jne 0x487154
mov eax, dword [edi + 4]
mov ebp, 2
cmp eax, ebp
jle 0x487151
mov ebx, 0x30
mov eax, dword [edi + 8]
mov ecx, dword [eax + ebx + 4]
push ecx
call fcn.0045c4f0
mov edx, dword [esp + 0x40]
push edx
push eax
call fcn.00472260
mov eax, dword [edi + 4]
add esp, 0xc
inc ebp
add ebx, 0x18
cmp ebp, eax
jl 0x487127
mov ebx, dword [esp + 0x3c]
mov byte [edi + 0x1f], bl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
push ecx
call fcn.0045c4f0
push ebx
push eax
call fcn.00472260
add esp, 0xc
cmp eax, 1
jne 0x487178
mov dword [esp + 0x4c], str.exclusive
push 1
push esi
call fcn.004762e0
push 0
push str.locking_mode
push 0
push 0
push esi
call fcn.00476350
mov edx, dword [esp + 0x68]
push 0
push edx
push 0
push 1
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 1
push 1
push 0x5b
push esi
call fcn.0047b6a0
add esp, 0x48
jmp 0x48858c
mov eax, dword [esp + 0x40]
push str.journal_mode
push eax
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x4872c4
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4871e1
or ebx, 0xffffffff
jmp 0x487222
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0045a660
add esp, 4
mov dword [esp + 0x3c], eax
mov ebx, 4
mov ebp, 0x4c49b4
mov edx, dword [esp + 0x3c]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
call fcn.00472610
add esp, 0xc
test eax, eax
je 0x487222
sub ebp, 4
dec ebx
cmp ebp, 0x4c49a4
jge 0x4871fc
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 4]
and eax, 0xfffffffe
jne 0x48723a
cmp ebx, 0xffffffff
jne 0x48723a
xor eax, eax
mov al, byte [edi + 0x20]
jmp 0x48729b
test eax, eax
jne 0x487284
mov ecx, dword [edi + 4]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x3c], eax
jle 0x487281
mov ebp, 0x18
mov ecx, dword [edi + 8]
mov eax, dword [ecx + ebp + 4]
test eax, eax
je 0x48726e
push eax
call fcn.0045c4f0
push ebx
push eax
call fcn.00472280
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
inc eax
add ebp, 0x18
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x487253
mov byte [edi + 0x20], bl
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push eax
call fcn.0045c4f0
push ebx
push eax
call fcn.00472280
add esp, 0xc
push 1
push esi
mov edi, eax
call fcn.004762e0
push 0
push str.journal_mode
push 0
push 0
push esi
call fcn.00476350
mov ecx, dword [edi*4 + 0x4c49a4]
push 0xfffffffffffffffe
jmp 0x4875fb
mov edx, dword [esp + 0x40]
push str.journal_size_limit
push edx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x48732e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
push ecx
call fcn.0045c4f0
mov ecx, dword [esp + 0x4c]
add esp, 4
or edx, 0xffffffff
mov edi, eax
test ecx, ecx
mov eax, 0xfffffffe
je 0x48730e
push ecx
call fcn.00499718
add esp, 4
cmp eax, 0xffffffff
jge 0x48730d
or eax, 0xffffffff
cdq
push edx
push eax
push edi
call fcn.00488630
push eax
push str.journal_size_limit
push ebx
mov dword [esp + 0x4c], edx
call fcn.00488a70
add esp, 0x18
jmp 0x48858c
mov edx, dword [esp + 0x40]
push str.auto_vacuum
push edx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487440
mov eax, dword [esp + 0x10]
push ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4873a9
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x487393
mov edx, eax
push edx
call fcn.004771b0
add esp, 4
push eax
push str.auto_vacuum
push ebx
call fcn.00488a70
add esp, 0xc
jmp 0x48858c
xor eax, eax
push eax
push str.auto_vacuum
push ebx
call fcn.00488a70
add esp, 0xc
jmp 0x48858c
mov eax, dword [esp + 0x48]
push eax
call fcn.00488900
mov ebx, eax
add esp, 4
test ebx, ebx
mov byte [edi + 0x21], bl
jl 0x48858c
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
call fcn.00477150
add esp, 8
test eax, eax
jne 0x48858c
cmp ebx, 1
je 0x4873e7
cmp ebx, 2
jne 0x48858c
push 0x4c49b8
push 6
push esi
call fcn.00471700
mov edi, eax
push ebp
push edi
push esi
call fcn.00471820
lea edx, [edi + 1]
push ebp
push edx
push esi
call fcn.00471820
lea eax, [edi + 4]
push eax
lea eax, [edi + 2]
push eax
push esi
call fcn.00471850
dec ebx
lea eax, [edi + 4]
push ebx
push eax
push esi
call fcn.00471820
add edi, 5
push ebp
push edi
push esi
call fcn.00471820
add esp, 0x48
push ebp
push esi
call fcn.00471910
add esp, 8
jmp 0x48858c
mov ecx, dword [esp + 0x40]
push str.incremental_vacuum
push ecx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x4874eb
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x48748d
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.0047da20
add esp, 8
test eax, eax
je 0x48748d
mov eax, dword [esp + 0x3c]
test eax, eax
jg 0x487495
mov dword [esp + 0x3c], getpeername
push ebp
push 0
push ebx
call fcn.004839a0
mov eax, dword [esp + 0x48]
push 1
push eax
push 0x31
push esi
call fcn.0047b6a0
push ebp
push 0x39
push esi
call fcn.0047bab0
push 1
push 0x5b
push esi
mov edi, eax
call fcn.0047bab0
push 0xffffffffffffffff
push 1
push 0x2b
push esi
call fcn.0047b6a0
add esp, 0x44
push edi
push 1
push 0x7f
push esi
call fcn.0047b6a0
push edi
push esi
call fcn.0047bb50
add esp, 0x18
jmp 0x48858c
mov ecx, dword [esp + 0x40]
push str.cache_size
push ecx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487569
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x487538
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x4c]
push ecx
push str.cache_size
push ebx
call fcn.00488a70
add esp, 0xc
jmp 0x48858c
push eax
call fcn.00499718
add esp, 4
test eax, eax
jge 0x487547
neg eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [edx + 0x4c], eax
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 0x4c]
mov eax, dword [ecx + 4]
push edx
push eax
call fcn.00475b20
add esp, 8
jmp 0x48858c
mov ecx, dword [esp + 0x40]
push str.temp_store
push ecx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x4875af
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4875a0
xor edx, edx
mov dl, byte [edi + 0x1d]
push edx
push str.temp_store
push ebx
call fcn.00488a70
add esp, 0xc
jmp 0x48858c
push eax
push ebx
call fcn.004889e0
add esp, 8
jmp 0x48858c
mov eax, dword [esp + 0x40]
push str.temp_store_directory
push eax
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x48769f
mov ebp, dword [esp + 0x48]
test ebp, ebp
jne 0x48761e
mov eax, dword [0x4f51d0]
test eax, eax
je 0x48858c
push 1
push esi
call fcn.004762e0
push ebp
push str.temp_store_directory
push ebp
push ebp
push esi
call fcn.00476350
mov ecx, dword [0x4f51d0]
push ebp
push ecx
push 0
push 1
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 1
push 1
push 0x5b
push esi
call fcn.0047b6a0
add esp, 0x48
jmp 0x48858c
cmp byte [ebp], 0
je 0x487656
mov eax, dword [edi]
lea edx, [esp + 0x3c]
push edx
push 1
push ebp
push eax
call fcn.0045d610
add esp, 0x10
test eax, eax
jne 0x487643
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x487656
push str.not_a_writable_directory
push ebx
call fcn.00471510
add esp, 8
jmp 0x4885c6
cmp byte [edi + 0x1d], 1
ja 0x487665
push ebx
call fcn.00488970
add esp, 4
mov ecx, dword [0x4f51d0]
push ecx
call fcn.004591a0
mov al, byte [ebp]
add esp, 4
test al, al
je 0x487690
push ebp
push 0
call fcn.004665d0
add esp, 8
mov dword [0x4f51d0], eax
jmp 0x48858c
mov dword [0x4f51d0], 0
jmp 0x48858c
mov edx, dword [esp + 0x40]
push str.synchronous
push edx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x48771b
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4876ea
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 9]
dec eax
push eax
push str.synchronous
push ebx
call fcn.00488a70
add esp, 0xc
jmp 0x48858c
mov cl, byte [edi + 0x1c]
test cl, cl
jne 0x487704
push str.Safety_level_may_not_be_changed_inside_a_transaction
push ebx
call fcn.00471510
add esp, 8
jmp 0x48858c
push eax
call fcn.00488830
mov edx, dword [esp + 0x14]
add esp, 4
inc al
mov byte [edx + 9], al
jmp 0x48858c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
call fcn.00488ad0
add esp, 0xc
test eax, eax
jne 0x48858c
mov edx, dword [esp + 0x40]
push str.table_info
push edx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x4878e7
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4878e7
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push edi
call fcn.00472430
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x48858c
xor edi, edi
push 6
push esi
mov dword [esp + 0x44], edi
call fcn.004762e0
push edi
push 0x4e0c08
push edi
push edi
push esi
mov dword [ebx + 0x48], 6
call fcn.00476350
push edi
push str.name
push edi
push 1
push esi
call fcn.00476350
push edi
push str.type
push edi
push 2
push esi
call fcn.00476350
add esp, 0x44
push edi
push str.notnull
push edi
push 3
push esi
call fcn.00476350
push edi
push str.dflt_value
push edi
push 4
push esi
call fcn.00476350
push edi
push 0x4e0be0
push edi
push 5
push esi
call fcn.00476350
push ebp
push ebx
call fcn.00481da0
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
add esp, 0x44
test eax, eax
jle 0x48858c
mov al, byte [ebx + 0x13]
test al, al
je 0x487823
inc dword [esp + 0x3c]
jmp 0x4878d3
mov eax, dword [esp + 0x3c]
mov edx, edi
sub edx, eax
push 1
push edx
push 0x31
push esi
call fcn.0047b6a0
mov eax, dword [ebx]
push 0
push eax
push 0
push 2
push 0
push 0x5d
push esi
call fcn.0047a9d0
mov eax, dword [ebx + 8]
add esp, 0x2c
test eax, eax
jne 0x487858
mov eax, 0x4f51d4
push 0
push eax
push 0
push 3
push 0
push 0x5d
push esi
call fcn.0047a9d0
mov al, byte [ebx + 0x10]
xor ecx, ecx
test al, al
setne cl
push 4
push ecx
push 0x31
push esi
call fcn.0047b6a0
mov eax, dword [ebx + 4]
add esp, 0x2c
test eax, eax
je 0x4878a5
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
shr edx, 1
push edx
push eax
push 0
push 5
push 0
push 0x5d
push esi
call fcn.0047a9d0
add esp, 0x1c
jmp 0x4878b4
push 5
push 0
push 0x75
push esi
call fcn.0047b6a0
add esp, 0x10
xor ecx, ecx
push 6
mov cl, byte [ebx + 0x11]
push ecx
push 0x31
push esi
call fcn.0047b6a0
push 6
push 1
push 0x5b
push esi
call fcn.0047b6a0
add esp, 0x20
mov eax, dword [ebp + 0xc]
inc edi
add ebx, 0x14
cmp edi, eax
jl 0x487813
jmp 0x48858c
mov edx, dword [esp + 0x40]
push str.index_info
push edx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x4879ef
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4879ef
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00472700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x48858c
mov eax, dword [edi + 0x10]
push 3
push esi
mov dword [esp + 0x44], eax
call fcn.004762e0
push 0
push str.seqno
push 0
push 0
push esi
mov dword [ebx + 0x48], 3
call fcn.00476350
push 0
push 0x4e0c08
push 0
push 1
push esi
call fcn.00476350
push 0
push str.name
push 0
push 2
push esi
call fcn.00476350
mov eax, dword [edi + 4]
add esp, 0x44
xor ebx, ebx
test eax, eax
jle 0x48858c
mov ecx, dword [edi + 8]
push 1
push ebx
push 0x31
mov ebp, dword [ecx + ebx*4]
push esi
call fcn.0047b6a0
push 2
push ebp
push 0x31
push esi
call fcn.0047b6a0
mov eax, dword [esp + 0x5c]
lea edx, [ebp + ebp*4]
push 0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx*4]
push edx
push 0
push 3
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 3
push 1
push 0x5b
push esi
call fcn.0047b6a0
mov eax, dword [edi + 4]
add esp, 0x4c
inc ebx
cmp ebx, eax
jl 0x487998
jmp 0x48858c
mov eax, dword [esp + 0x40]
push str.index_list
push eax
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487ae9
mov eax, dword [esp + 0x48]
test eax, eax
je 0x487ae9
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
push edi
call fcn.00472430
mov edi, eax
add esp, 0xc
test edi, edi
je 0x48858c
push ebx
call fcn.00489330
mov ebp, dword [edi + 0x14]
add esp, 4
test ebp, ebp
mov esi, eax
je 0x48858c
push 3
push esi
xor edi, edi
call fcn.004762e0
push edi
push 0x4e0bbc
push edi
push edi
push esi
mov dword [ebx + 0x48], 3
call fcn.00476350
push edi
push str.name
push edi
push 1
push esi
call fcn.00476350
push edi
push str.unique
push edi
push 2
push esi
call fcn.00476350
add esp, 0x44
push 1
push edi
push 0x31
push esi
call fcn.0047b6a0
mov eax, dword [ebp]
push 0
push eax
push 0
push 2
push 0
push 0x5d
push esi
call fcn.0047a9d0
mov bl, byte [ebp + 0x18]
xor ecx, ecx
test bl, bl
setne cl
push 3
push ecx
push 0x31
push esi
call fcn.0047b6a0
push 3
push 1
push 0x5b
push esi
call fcn.0047b6a0
mov ebp, dword [ebp + 0x20]
add esp, 0x4c
inc edi
test ebp, ebp
jne 0x487a99
jmp 0x48858c
mov edx, dword [esp + 0x40]
push str.database_list
push edx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487bd8
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
push 3
push esi
call fcn.004762e0
push 0
push 0x4e0bbc
push 0
push 0
push esi
mov dword [ebx + 0x48], 3
call fcn.00476350
push 0
push str.name
push 0
push 1
push esi
call fcn.00476350
push 0
push str.file
push 0
push 2
push esi
call fcn.00476350
mov eax, dword [edi + 4]
add esp, 0x44
xor ebp, ebp
test eax, eax
jle 0x48858c
xor ebx, ebx
mov eax, dword [edi + 8]
mov ecx, dword [ebx + eax + 4]
test ecx, ecx
je 0x487bc8
push 1
push ebp
push 0x31
push esi
call fcn.0047b6a0
mov ecx, dword [edi + 8]
push 0
mov edx, dword [ebx + ecx]
push edx
push 0
push 2
push 0
push 0x5d
push esi
call fcn.0047a9d0
mov eax, dword [edi + 8]
add esp, 0x2c
mov ecx, dword [ebx + eax + 4]
push 0
push ecx
call fcn.00465740
add esp, 4
push eax
push 0
push 3
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 3
push 1
push 0x5b
push esi
call fcn.0047b6a0
add esp, 0x2c
mov eax, dword [edi + 4]
inc ebp
add ebx, 0x18
cmp ebp, eax
jl 0x487b68
jmp 0x48858c
mov edx, dword [esp + 0x40]
push str.collation_list
push edx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487c6b
push 2
push esi
xor ebp, ebp
call fcn.004762e0
push ebp
push 0x4e0bbc
push ebp
push ebp
push esi
mov dword [ebx + 0x48], 2
call fcn.00476350
push ebp
push str.name
push ebp
push 1
push esi
call fcn.00476350
mov ebx, dword [edi + 0x18c]
add esp, 0x30
test ebx, ebx
je 0x48858c
mov edi, dword [ebx + 8]
mov eax, ebp
push 1
push eax
push 0x31
push esi
inc ebp
call fcn.0047b6a0
mov eax, dword [edi]
push 0
push eax
push 0
push 2
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 2
push 1
push 0x5b
push esi
call fcn.0047b6a0
mov ebx, dword [ebx]
add esp, 0x3c
test ebx, ebx
jne 0x487c2d
jmp 0x48858c
mov ecx, dword [esp + 0x40]
push str.foreign_key_list
push ecx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487e9a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x487e9a
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push edx
push eax
push edi
call fcn.00472430
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x44], edi
je 0x48858c
push ebx
call fcn.00489330
mov ebp, dword [edi + 0x28]
add esp, 4
test ebp, ebp
mov esi, eax
je 0x48858c
push 8
push esi
mov dword [esp + 0x44], 0
call fcn.004762e0
push 0
push 0x4e0b74
push 0
push 0
push esi
mov dword [ebx + 0x48], 8
call fcn.00476350
push 0
push 0x4e0bbc
push 0
push 1
push esi
call fcn.00476350
push 0
push str.table
push 0
push 2
push esi
call fcn.00476350
add esp, 0x44
push 0
push str.from
push 0
push 3
push esi
call fcn.00476350
push 0
push 0x4e0b70
push 0
push 4
push esi
call fcn.00476350
push 0
push str.on_update
push 0
push 5
push esi
call fcn.00476350
push 0
push str.on_delete
push 0
push 6
push esi
call fcn.00476350
add esp, 0x50
push 0
push str.match
push 0
push 7
push esi
call fcn.00476350
add esp, 0x14
mov eax, dword [ebp + 0x10]
xor ebx, ebx
test eax, eax
jle 0x487e81
mov ecx, dword [ebp + 0x14]
mov dl, byte [ebp + 0x19]
push edx
mov edi, dword [ecx + ebx*8 + 4]
call fcn.00488b80
mov dword [esp + 0x50], eax
mov al, byte [ebp + 0x1a]
push eax
call fcn.00488b80
mov ecx, dword [esp + 0x44]
push 1
push ecx
push 0x31
push esi
mov dword [esp + 0x3c], eax
call fcn.0047b6a0
push 2
push ebx
push 0x31
push esi
call fcn.0047b6a0
mov edx, dword [ebp + 8]
push 0
push edx
push 0
push 3
push 0
push 0x5d
push esi
call fcn.0047a9d0
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x88]
add esp, 0x44
mov eax, dword [eax + ebx*8]
push 0
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx*4]
push ecx
push 0
push 4
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 0
push edi
neg edi
sbb edi, edi
push 0
and edi, 0xffffffe8
push 5
add edi, 0x75
push 0
push edi
push esi
call fcn.0047a9d0
mov edx, dword [esp + 0x84]
push 0
push edx
push 0
push 6
push 0
push 0x5d
push esi
call fcn.0047a9d0
mov eax, dword [esp + 0x78]
add esp, 0x54
push 0
push eax
push 0
push 7
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 0
push str.NONE
push 0
push 8
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 8
push 1
push 0x5b
push esi
call fcn.0047b6a0
mov eax, dword [ebp + 0x10]
add esp, 0x48
inc ebx
cmp ebx, eax
jl 0x487d8e
mov ecx, dword [esp + 0x3c]
mov ebp, dword [ebp + 4]
inc ecx
test ebp, ebp
mov dword [esp + 0x3c], ecx
jne 0x487d81
jmp 0x48858c
mov ecx, dword [esp + 0x40]
push str.case_sensitive_like
push ecx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x487ed6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x48858c
push eax
call fcn.004888a0
and eax, 0xff
push eax
push edi
call fcn.00488760
add esp, 0xc
jmp 0x48858c
mov edx, dword [esp + 0x40]
push str.integrity_check
push edx
call fcn.0045a680
add esp, 8
test eax, eax
je 0x488120
mov eax, dword [esp + 0x40]
push str.quick_check
push eax
call fcn.0045a680
add esp, 8
test eax, eax
je 0x488120
mov ecx, dword [esp + 0x40]
push str.encoding
push ecx
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x488014
mov ebp, dword [esp + 0x48]
test ebp, ebp
jne 0x487f91
push ebx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
push 1
push esi
call fcn.004762e0
push ebp
push str.encoding
push ebp
push ebp
push esi
call fcn.00476350
push 1
push ebp
push 0x5d
push esi
call fcn.0047b6a0
mov edx, dword [ebx]
push 0xfffffffffffffffe
mov eax, dword [edx + 8]
xor edx, edx
mov ecx, dword [eax + 0x14]
mov dl, byte [ecx + 0x49]
mov eax, dword [edx*8 + 0x4c4a38]
push eax
push 0xffffffffffffffff
push esi
call fcn.0047aa80
push 1
push 1
push 0x5b
push esi
call fcn.0047b6a0
add esp, 0x4c
jmp 0x48858c
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x14]
mov ax, word [edx + 0x4a]
mov cl, al
and cl, 1
cmp cl, 1
jne 0x487faf
and al, 4
cmp al, 4
jne 0x48858c
mov eax, dword [str.UTF8]
mov edi, 0x4c4a38
test eax, eax
je 0x487ff7
mov edx, dword [edi]
push edx
push ebp
call fcn.0045a680
add esp, 8
test eax, eax
je 0x487fd9
mov eax, dword [edi + 8]
add edi, 8
test eax, eax
jne 0x487fbd
jmp 0x487ff7
mov al, byte [edi + 4]
test al, al
je 0x487fe7
and eax, 0xff
jmp 0x487fec
mov eax, 2
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x14]
mov byte [ecx + 0x49], al
cmp dword [edi], 0
jne 0x48858c
push ebp
push str.unsupported_encoding:__s
push ebx
call fcn.00471510
add esp, 0xc
jmp 0x48858c
mov edi, dword [esp + 0x40]
push str.schema_version
push edi
call fcn.0045a680
add esp, 8
test eax, eax
je 0x488052
push str.user_version
push edi
call fcn.0045a680
add esp, 8
test eax, eax
je 0x488052
push str.freelist_count
push edi
call fcn.0045a680
add esp, 8
test eax, eax
jne 0x48858c
push ebp
push esi
call fcn.00471910
movsx eax, byte [edi]
add eax, 0xffffffba
add esp, 8
cmp eax, 0x2d
ja case.0x48806f.72
xor edx, edx
mov dl, byte [eax + 0x4885f4]
jmp dword [edx*4 + 0x4885e8]
xor ebx, ebx
jmp 0x48808d
or eax, 0xffffffff
mov ebx, 1
sub eax, ebp
mov ebp, eax
jmp 0x48808d
mov ebx, 5
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4880e0
test ebp, ebp
jl 0x4880e0
push 0x4c4a80
push 3
push esi
call fcn.00471700
mov edi, eax
push ebp
push edi
push esi
call fcn.00471820
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00499718
lea edx, [edi + 1]
push eax
push edx
push esi
call fcn.00471820
add edi, 2
push ebp
push edi
push esi
call fcn.00471820
push ebx
push edi
push esi
call fcn.00471850
add esp, 0x40
jmp 0x48858c
push 0x4c4a8c
push 2
push esi
call fcn.00471700
mov edi, eax
push ebp
push edi
push esi
call fcn.00471820
push ebx
push edi
push esi
call fcn.00471880
push 1
push esi
call fcn.004762e0
mov eax, dword [esp + 0x6c]
push 0xffffffffffffffff
push eax
push 0
push 0
push esi
call fcn.00476350
add esp, 0x40
jmp 0x48858c
mov edx, dword [esp + 0x40]
xor ecx, ecx
push ebx
cmp byte [edx], 0x71
sete cl
mov dword [esp + 0x30], ecx
call fcn.00475ca0
add esp, 4
test eax, eax
jne 0x4885c6
push 1
push esi
mov dword [ebx + 0x48], 6
call fcn.004762e0
push 0
push str.integrity_check
push 0
push 0
push esi
call fcn.00476350
mov eax, dword [esp + 0x64]
add esp, 0x1c
mov ebp, 0x64
test eax, eax
mov dword [esp + 0x24], ebp
je 0x488191
push eax
call fcn.00499718
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x24], ebp
jg 0x488191
mov ebp, 0x64
mov dword [esp + 0x24], ebp
push 1
push ebp
push 0x31
push esi
call fcn.0047b6a0
mov eax, dword [edi + 4]
add esp, 0x10
test eax, eax
mov dword [esp + 0x18], 0
jle 0x488555
mov dword [esp + 0x1c], 0
jmp 0x4881c0
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
xor ebp, ebp
push eax
push ebx
call fcn.00483a00
push 1
push 0x7f
push esi
call fcn.0047bab0
push ebp
push ebp
push 0x28
push esi
mov edi, eax
call fcn.0047b6a0
push edi
push esi
call fcn.0047bb50
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
add esp, 0x2c
mov edx, dword [ecx + 8]
mov eax, dword [eax + edx + 0x14]
add eax, 4
mov dword [esp + 0x4c], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x44], eax
je 0x48852e
mov edi, eax
mov ebx, dword [edi + 8]
lea ecx, [ebp + 2]
push ecx
mov edx, dword [ebx + 0x18]
push edx
push 0x31
push esi
call fcn.0047b6a0
mov ebx, dword [ebx + 0x14]
add esp, 0x10
inc ebp
test ebx, ebx
je 0x488252
lea edi, [ebp + 2]
mov eax, dword [ebx + 0x14]
push edi
push eax
push 0x31
push esi
call fcn.0047b6a0
mov ebx, dword [ebx + 0x20]
add esp, 0x10
inc ebp
inc edi
test ebx, ebx
jne 0x488235
mov edi, dword [esp + 0x44]
mov edi, dword [edi]
test edi, edi
mov dword [esp + 0x44], edi
jne 0x488214
test ebp, ebp
je 0x48852e
mov ecx, dword [esp + 0x3c]
lea eax, [ebp + 4]
cmp dword [ecx + 0x48], eax
jge 0x488273
mov dword [ecx + 0x48], eax
push 1
push ebp
push 2
push 0x12
push esi
call fcn.0047aa10
mov ecx, dword [esp + 0x2c]
push ecx
push esi
call fcn.0047b6c0
push 2
push 0x46
push esi
call fcn.0047bab0
mov ecx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x3c]
add esp, 0x28
mov edx, dword [eax + 8]
push 0xffffffffffffffff
mov edx, dword [ecx + edx]
push edx
push str._in_database__s__n
push eax
call fcn.004656e0
add esp, 0xc
push eax
push 0
push 3
push 0
push 0x5d
push esi
call fcn.0047a9d0
push 1
push 4
push 2
push 0x76
push esi
call fcn.0047aa10
push 2
push 3
push 4
push 0x58
push esi
call fcn.0047aa10
add esp, 0x44
push 1
push 2
push 0x5b
push esi
call fcn.0047b6a0
push edi
push esi
call fcn.0047bb50
mov eax, dword [esp + 0x64]
add esp, 0x18
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x44], eax
je 0x48852e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x48852e
mov ebx, dword [eax + 8]
mov dword [esp + 0x30], ebx
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x48851c
push 1
push 0x7f
push esi
call fcn.0047bab0
push 0
push 0
push 0x28
push esi
mov edi, eax
call fcn.0047b6a0
push edi
push esi
call fcn.0047bb50
mov ecx, dword [esp + 0x60]
push 0xe
push 1
push ebx
push ecx
call fcn.00486660
push 2
push 0
push 0x31
push esi
call fcn.0047b6a0
add esp, 0x44
push 0
push 1
push 0x78
push esi
call fcn.0047b6a0
push 1
push 2
mov ebp, eax
push 0x2b
push esi
mov dword [esp + 0x40], ebp
call fcn.0047b6a0
mov edi, dword [ebx + 0x14]
add esp, 0x20
test edi, edi
je 0x488430
mov ebx, 2
mov edx, dword [esp + 0x3c]
push 1
push 3
push 1
push edi
push edx
call fcn.00484bb0
push 3
push 0
push ebx
push 0x7e
push esi
call fcn.0047aa10
push 0x4c49e0
push 0xb
push esi
mov dword [esp + 0x80], eax
call fcn.00471700
mov ebp, eax
push 0xfffffffffffffffe
push 0x4e0aa0
lea eax, [ebp + 1]
push eax
push esi
call fcn.0047aa80
add esp, 0x44
lea ecx, [ebp + 3]
push 0xfffffffffffffffe
push str._missing_from_index
push ecx
push esi
call fcn.0047aa80
mov edx, dword [edi]
push 0xfffffffffffffffe
lea eax, [ebp + 4]
push edx
push eax
push esi
call fcn.0047aa80
add ebp, 9
push ebp
push esi
call fcn.0047bb50
mov ecx, dword [esp + 0x74]
push ecx
push esi
call fcn.0047bb50
mov edi, dword [edi + 0x20]
add esp, 0x30
inc ebx
test edi, edi
jne 0x48839c
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
lea edx, [ebp + 1]
push edx
push 1
push 0x6b
push esi
call fcn.0047b6a0
push ebp
push esi
call fcn.0047bb50
mov eax, dword [ebx + 0x14]
add esp, 0x18
test eax, eax
mov dword [esp + 0x20], eax
je 0x48851c
mov dword [esp + 0x4c], 2
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x488504
push 1
push 0x7f
push esi
call fcn.0047bab0
push 0
push 0
push 0x28
push esi
mov edi, eax
call fcn.0047b6a0
push edi
push esi
call fcn.0047bb50
push 0x4c4a0c
push 0xa
push esi
call fcn.00471700
mov edi, eax
mov eax, dword [esp + 0x7c]
push eax
lea ebp, [edi + 1]
push ebp
push esi
call fcn.00471820
lea ebx, [edi + 4]
push ebx
push ebp
push esi
call fcn.00471850
mov ecx, dword [esp + 0x94]
add esp, 0x48
lea ebp, [edi + 3]
push ecx
push ebp
push esi
call fcn.00471820
lea edx, [edi + 2]
push edx
push ebp
push esi
call fcn.00471850
push ebx
push esi
call fcn.0047bb50
push 0xfffffffffffffffe
lea eax, [edi + 6]
push str.wrong__of_entries_in_index
push eax
push esi
call fcn.0047aa80
mov ecx, dword [esp + 0x50]
push 0xfffffffffffffffe
add edi, 7
mov edx, dword [ecx]
push edx
push edi
push esi
call fcn.0047aa80
mov eax, dword [esp + 0x60]
add esp, 0x40
mov edx, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
inc edx
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x4c], edx
jne 0x48845f
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x44], eax
jne 0x488310
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
inc eax
mov edx, dword [ecx + 4]
add edi, 0x18
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
jl 0x4881bc
mov ebp, dword [esp + 0x24]
push 0x4c49d0
push 4
push esi
call fcn.00471700
neg ebp
mov edi, eax
push ebp
push edi
push esi
call fcn.00471850
lea edx, [edi + 1]
push edx
push esi
call fcn.0047bb50
push 0xfffffffffffffffe
add edi, 2
push 0x4e0a64
push edi
push esi
call fcn.0047aa80
add esp, 0x30
push 0
push 1
push 0xf
push esi
call fcn.0047b6a0
mov edi, dword [esp + 0x24]
add esp, 0x10
mov al, byte [edi + 0x1c]
test al, al
je 0x4885c6
mov eax, dword [edi + 0xc]
xor ecx, ecx
shr eax, 0x10
and eax, 1
push eax
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 9]
mov edx, dword [eax + 4]
push ecx
push edx
call fcn.00488680
add esp, 0xc
mov eax, dword [esp + 0x40]
push eax
push edi
call fcn.00459200
mov ecx, dword [esp + 0x50]
push ecx
push edi
call fcn.00459200
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret