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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x694240]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], edx
mov edx, 0xc8
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x20], eax
call fcn.004ef720
mov esi, eax
mov dword [ebp - 0x3c], eax
test esi, esi
je 0x535e98
push 0xc8
push 0
push esi
call fcn.00572db0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov dword [esi], ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x535e7f
mov dword [eax + 0x3c], esi
mov eax, dword [ecx + 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0
mov dword [ecx + 4], esi
mov dword [esi + 0x34], 0x26bceaa5
jmp 0x535e9d
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [edi + 8], esi
test esi, esi
je 0x538445
or dword [esi + 0x64], 0x40
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
mov ecx, edi
push eax
push dword [ebp - 0x40]
mov dword [edi + 0x4c], 2
call fcn.00525870
mov edx, eax
add esp, 8
mov dword [ebp - 0x38], edx
test edx, edx
js 0x538445
mov ecx, dword [ebp - 0x20]
shl eax, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ecx + 0x10]
add ecx, eax
mov dword [ebp - 0x24], ecx
cmp edx, 1
jne 0x535ef9
mov ecx, edi
call fcn.00529560
test eax, eax
jne 0x538445
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
call fcn.00525670
mov dword [ebp - 0x30], eax
test eax, eax
je 0x538445
cmp dword [ebp + 0x10], 0
je 0x535f2f
push dword [ebp - 0x28]
push 0x669840
push dword [ebp - 0x20]
call fcn.004f0b10
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x2c], ecx
jmp 0x535f3f
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
call fcn.00525670
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax + 4], 0
jbe 0x535f4f
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
jmp 0x535f51
xor eax, eax
push eax
push ecx
push dword [ebp - 0x30]
mov edx, 0x13
mov dword [ebp - 0x58], eax
mov ecx, edi
call fcn.005248c0
add esp, 0xc
test eax, eax
jne 0x53842f
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
push ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
push 0xe
push dword [ebp - 0x58]
mov dword [ebp - 0xc], 0
push eax
mov dword [eax + 0x1b4], 0
call fcn.005559b0
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x536014
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x538401
inc dword [edi + 0x4c]
mov edx, 0x5e
mov edi, dword [edi + 0x4c]
mov ecx, esi
push 0
push eax
push 0
push edi
push 0
call fcn.0050b500
add esp, 0x14
mov edx, 1
mov ecx, esi
call fcn.0050ca90
push 0
push str.result
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
mov edx, 0x10
mov ecx, esi
push 1
push edi
call fcn.0050b490
push dword [ebp - 0x18]
call fcn.004ef420
add esp, 0xc
jmp 0x538401
cmp eax, 0xc
je 0x536048
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x53603d
push ecx
push 0x666544
push edi
call fcn.004f1760
add esp, 0xc
push dword [ebp - 0x18]
call fcn.004ef420
mov eax, dword [ebp - 0x1c]
add esp, 4
inc dword [edi + 0x44]
mov dword [edi + 0xc], eax
jmp 0x538401
push str.default_cache_size
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x536169
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
mov ecx, dword [ebp - 0x38]
mov edx, 1
mov eax, edx
shl eax, cl
or dword [esi + 0x6c], eax
cmp ecx, edx
je 0x536090
mov edx, ecx
mov ecx, esi
call fcn.0050bea0
mov edx, 1
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x536116
mov ecx, esi
call fcn.0050ca90
push 0
push str.cache_size
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add dword [edi + 0x4c], 2
add esp, 0xc
mov edx, 8
mov ecx, esi
push 0x660b30
call fcn.0050b820
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x5360df
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x38]
mov dword [ecx + edx*4 + 4], eax
lea eax, [edi + 1]
cmp dword [esi + 0x1c], eax
jbe 0x5360f4
mov edx, dword [ebp - 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x20]
add edi, 6
cmp dword [esi + 0x1c], edi
jbe 0x538404
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 4], 0x7d0
jmp 0x538404
mov ecx, eax
call fcn.004f21b0
mov ecx, eax
call fcn.004f2830
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov edi, eax
call fcn.00529780
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push edi
call fcn.0050b490
push 1
push 3
push dword [ebp - 0x38]
mov edx, 0x25
mov ecx, esi
call fcn.0050b370
mov esi, dword [ebp - 0x24]
add esp, 0x14
mov eax, dword [esi + 0xc]
mov dword [eax + 0x50], edi
jmp 0x5367cb
push str.page_size
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5361e4
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x5361af
test esi, esi
je 0x536196
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
jmp 0x536198
xor eax, eax
cdq
mov ecx, edi
push edx
push eax
mov edx, str.page_size
call fcn.00535ae0
add esp, 8
jmp 0x538401
mov ecx, eax
call fcn.004f21b0
mov ecx, dword [ebp - 0x20]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x40], eax
mov ecx, esi
call fcn.005016f0
mov edx, dword [ebp - 0x20]
add esp, 8
mov esi, dword [ebp - 0x24]
cmp eax, 7
jne 0x538407
mov byte [edx + 0x38], 1
jmp 0x538407
push str.secure_delete
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x536286
mov esi, dword [ebp - 0x24]
or edx, 0xffffffff
mov dword [ebp - 0x34], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x536221
xor edx, edx
mov ecx, eax
call fcn.00535910
movzx edx, al
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 4], 0
jne 0x536261
test edx, edx
js 0x536261
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0
jle 0x536261
xor esi, esi
xor edi, edi
jmp 0x536240
mov ecx, dword [eax + 0x10]
mov ecx, dword [esi + ecx + 4]
call fcn.00501860
mov eax, dword [ebp - 0x20]
lea esi, [esi + 0x10]
mov edx, dword [ebp - 0x34]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x536240
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
call fcn.00501860
cdq
mov ecx, edi
push edx
push eax
mov edx, str.secure_delete
call fcn.00535ae0
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x538407
push str.page_count
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
je 0x53836d
push str.max_page_count
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
je 0x53836d
push str.locking_mode
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x536399
mov ecx, dword [ebp - 0x2c]
call fcn.00535930
mov edx, eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
test eax, eax
jne 0x536328
cmp edx, 0xffffffff
jne 0x5362f0
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x39]
jmp 0x536338
test eax, eax
jne 0x536328
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 2
jle 0x536325
mov edi, 0x20
lea esi, [edi - 0x1e]
mov eax, dword [eax + 0x10]
mov eax, dword [edi + eax + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.004fc520
mov eax, dword [ebp - 0x20]
lea edi, [edi + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x536305
mov esi, dword [ebp - 0x3c]
mov byte [eax + 0x39], dl
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call fcn.004fc520
cmp eax, 1
mov edi, str.exclusive
mov eax, str.normal
mov edx, 1
mov ecx, esi
cmovne edi, eax
call fcn.0050ca90
push 0
push str.locking_mode
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
push 0
push edi
push 0
push 1
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.0050b500
add esp, 0x14
push 1
push 1
mov edx, 0x10
mov ecx, esi
call fcn.0050b490
add esp, 8
jmp 0x538401
push str.journal_mode
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5364d8
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
lea edx, [eax + 1]
mov ecx, esi
call fcn.0050ca90
push 0
push str.journal_mode
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
mov edx, dword [ebp - 0x2c]
add esp, 0xc
test edx, edx
je 0x5364b1
mov ecx, edx
call fcn.004f1660
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp edi, 6
je 0x5364b1
mov ecx, dword [edi*4 + 0x662cb8]
test ecx, ecx
je 0x5364b1
push eax
push ecx
push edx
call fcn.004f18b0
add esp, 0xc
test eax, eax
je 0x536429
mov eax, dword [ebp - 0x1c]
inc edi
mov edx, dword [ebp - 0x2c]
jmp 0x5363f6
cmp edi, 0xffffffff
je 0x5364b8
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 0x14]
dec edi
js 0x536381
mov ecx, edi
mov eax, 1
rol eax, cl
shl ecx, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
cmp dword [ecx + eax + 4], 0
je 0x536498
cmp edi, dword [ebp - 0x38]
je 0x53646c
cmp dword [edx + 4], 0
jne 0x536498
mov eax, dword [ebp - 0x34]
or dword [esi + 0x6c], eax
cmp edi, 1
je 0x536480
mov edx, edi
mov ecx, esi
call fcn.0050bea0
push dword [ebp - 0x3c]
mov edx, 0x7e
mov ecx, esi
push 1
push edi
call fcn.0050b370
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub ecx, 0x10
mov edx, dword [ebp - 0x40]
ror eax, 1
dec edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], eax
jns 0x536454
jmp 0x536381
mov dword [ebp - 0x3c], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp dword [edx + 4], 0
jne 0x536435
mov dword [ebp - 0x38], 0
mov dword [edx + 4], 1
jmp 0x536435
push str.journal_size_limit
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x53655b
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x60], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov eax, 0xfffffffe
mov dword [ebp - 0x64], eax
je 0x53653c
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x64]
push 1
push 0xf4240
call fcn.004f1f30
mov ecx, dword [ebp - 0x60]
add esp, 8
cmp ecx, 0xffffffff
jg 0x536539
jl 0x536532
mov eax, dword [ebp - 0x64]
cmp eax, 0xffffffff
jae 0x53653c
or eax, 0xffffffff
or ecx, eax
jmp 0x53653c
mov eax, dword [ebp - 0x64]
push ecx
push eax
mov ecx, esi
call fcn.004fc640
push edx
push eax
mov edx, str.journal_size_limit
mov ecx, edi
call fcn.00535ae0
add esp, 0x10
jmp 0x538401
push str.auto_vacuum
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5366ac
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
call fcn.00538be0
test eax, eax
jne 0x53842f
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x5365d0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x5365b7
mov ecx, eax
call fcn.00501950
cdq
mov ecx, edi
push edx
push eax
mov edx, str.auto_vacuum
call fcn.00535ae0
add esp, 8
jmp 0x538401
xor eax, eax
mov ecx, edi
cdq
push edx
push eax
mov edx, str.auto_vacuum
call fcn.00535ae0
add esp, 8
jmp 0x538401
mov ecx, eax
call fcn.00535970
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov byte [edx + 0x3a], al
test eax, eax
js 0x538404
mov ecx, dword [ebp - 0x28]
mov edx, eax
call fcn.005018d0
test eax, eax
jne 0x538401
mov eax, dword [ebp - 0x4c]
cmp eax, 1
je 0x53660b
cmp eax, 2
jne 0x538401
push 0x662e90
mov edx, 6
mov ecx, esi
call fcn.0050b820
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x536633
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x38]
mov dword [ecx + edx*4 + 4], eax
lea eax, [edi + 1]
cmp dword [esi + 0x1c], eax
jbe 0x536648
mov edx, dword [ebp - 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
lea eax, [edi + 2]
cmp dword [esi + 0x1c], eax
jbe 0x53665d
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea edx, [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [edi + 4]
cmp dword [esi + 0x1c], eax
jbe 0x536673
mov edx, dword [ebp - 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
dec edx
mov dword [eax + ecx*4 + 4], edx
add edi, 5
cmp dword [esi + 0x1c], edi
jbe 0x536688
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov edx, dword [ebp - 0x38]
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [ebp - 0x38]
mov eax, 1
shl eax, cl
or dword [esi + 0x6c], eax
cmp ecx, 1
je 0x538401
mov edx, ecx
mov ecx, esi
call fcn.0050bea0
jmp 0x538401
push str.incremental_vacuum
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x53676e
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5366f2
lea edx, [ebp - 0x1c]
mov ecx, eax
call fcn.004f20d0
test eax, eax
je 0x5366f2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
test eax, eax
jg 0x5366f9
mov dword [ebp - 0x28], SysReAllocString
push dword [ebp - 0x38]
xor edx, edx
mov ecx, edi
call fcn.00529780
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push dword [ebp - 0x28]
call fcn.0050b490
push dword [ebp - 0x38]
mov edx, 0x80
mov ecx, esi
call fcn.0050b430
add esp, 0xc
mov edx, 0x10
mov ecx, esi
mov edi, eax
push 1
call fcn.0050b430
add esp, 4
mov edx, 0x14
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.0050b490
push edi
push 1
mov edx, 0x78
mov ecx, esi
call fcn.0050b490
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0050b8d0
jmp 0x538401
push str.cache_size
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5367e1
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x5367bb
mov esi, dword [ebp - 0x24]
mov ecx, edi
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
mov edx, str.cache_size
call fcn.00535ae0
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x538407
mov ecx, esi
call fcn.004f21b0
mov esi, dword [ebp - 0x24]
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.005015c0
mov edx, dword [ebp - 0x20]
jmp 0x538407
push str.temp_store
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x536826
mov esi, dword [ebp - 0x2c]
mov ecx, edi
test esi, esi
jne 0x53681a
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x37]
cdq
push edx
push eax
mov edx, str.temp_store
call fcn.00535ae0
add esp, 8
jmp 0x538401
mov edx, esi
call fcn.00535a40
jmp 0x538401
push str.temp_store_directory
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5368fb
cmp dword [ebp - 0x2c], eax
jne 0x53687b
cmp dword [0x6a1b18], eax
je 0x538401
lea edx, [eax + 1]
mov ecx, esi
call fcn.0050ca90
push 0
push str.temp_store_directory
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
push 0
push dword [0x6a1b18]
jmp 0x53636c
mov esi, dword [ebp - 0x2c]
cmp byte [esi], 0
je 0x5368b1
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push ecx
push 1
push esi
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x5368a1
cmp dword [ebp - 0x1c], eax
jne 0x5368b1
push str.not_a_writable_directory
push edi
call fcn.004f1760
jmp 0x53842c
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x37], 1
ja 0x5368c1
mov ecx, edi
call fcn.005359f0
push dword [0x6a1b18]
call fcn.004ef420
add esp, 4
cmp byte [esi], 0
je 0x5368ec
push esi
push 0x666544
call fcn.004f0bf0
add esp, 8
mov dword [0x6a1b18], eax
jmp 0x538401
mov dword [0x6a1b18], 0
jmp 0x538401
push str.data_store_directory
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5369b8
cmp dword [ebp - 0x2c], eax
jne 0x536950
cmp dword [0x6a1a14], eax
je 0x538401
lea edx, [eax + 1]
mov ecx, esi
call fcn.0050ca90
push 0
push str.data_store_directory
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
push 0
push dword [0x6a1a14]
jmp 0x53636c
mov esi, dword [ebp - 0x2c]
cmp byte [esi], 0
je 0x53697e
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push ecx
push 1
push esi
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x5368a1
cmp dword [ebp - 0x1c], eax
je 0x5368a1
push dword [0x6a1a14]
call fcn.004ef420
add esp, 4
cmp byte [esi], 0
je 0x5369a9
push esi
push 0x666544
call fcn.004f0bf0
add esp, 8
mov dword [0x6a1a14], eax
jmp 0x538401
mov dword [0x6a1a14], 0
jmp 0x538401
push str.synchronous
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
mov ecx, edi
test eax, eax
jne 0x536a3e
call fcn.00538be0
test eax, eax
jne 0x53842f
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x536a04
mov esi, dword [ebp - 0x24]
mov ecx, edi
movzx eax, byte [esi + 9]
dec eax
cdq
push edx
push eax
mov edx, str.synchronous
call fcn.00535ae0
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x538407
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x36], 0
jne 0x536a20
push str.Safety_level_may_not_be_changed_inside_a_transaction
push edi
call fcn.004f1760
add esp, 8
jmp 0x538401
push 1
xor edx, edx
mov ecx, esi
call fcn.00535860
mov esi, dword [ebp - 0x24]
add esp, 4
mov edx, dword [ebp - 0x20]
inc al
mov byte [esi + 9], al
jmp 0x538407
push dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.00535c90
add esp, 4
test eax, eax
jne 0x538401
push str.table_info
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x536cbf
cmp dword [ebp - 0x2c], eax
je 0x536cbf
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.00524e80
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x538401
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x536ac4
mov eax, dword [ecx + 0x2c]
and al, 3
cmp al, 2
je 0x536ac1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x536ab1
mov dword [ebp - 0x28], ecx
mov edx, 6
mov ecx, esi
call fcn.0050ca90
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 6
call fcn.005295f0
push 0
push 0x669994
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.type
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push str.notnull
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push str.dflt_value
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push 0x669998
push 0
call fcn.0050cb20
mov edx, dword [ebp - 0x3c]
add esp, 0xc
mov ecx, edi
call fcn.00526e60
mov ecx, dword [ebp - 0x3c]
xor edx, edx
xor edi, edi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], eax
cmp dx, word [ecx + 0x26]
jge 0x538401
nop
test byte [eax + 0x16], 2
je 0x536b9e
inc dword [ebp - 0x34]
jmp 0x536ca4
mov eax, edi
mov edx, 7
sub eax, dword [ebp - 0x34]
mov ecx, esi
push 1
push eax
call fcn.0050b490
mov ecx, dword [ebp - 0x40]
mov edx, 0x5e
push 0
push dword [ecx]
mov ecx, esi
push 0
push 2
push 0
call fcn.0050b500
mov eax, dword [ebp - 0x40]
add esp, 0x1c
mov ecx, 0x5dcfc0
mov edx, 0x5e
mov eax, dword [eax + 0xc]
test eax, eax
push 0
cmovne ecx, eax
push ecx
push 0
push 3
push 0
mov ecx, esi
call fcn.0050b500
mov ecx, dword [ebp - 0x40]
xor eax, eax
add esp, 0x14
mov edx, 7
cmp byte [ecx + 0x14], al
mov ecx, esi
push 4
setne al
push eax
call fcn.0050b490
mov eax, dword [ebp - 0x40]
add esp, 8
mov ecx, esi
mov eax, dword [eax + 8]
test eax, eax
je 0x536c37
push 0
push eax
push 0
push 5
push 0
mov edx, 0x5e
call fcn.0050b500
add esp, 0x14
jmp 0x536c48
push 5
push 0
mov edx, 0xa
call fcn.0050b490
add esp, 8
mov eax, dword [ebp - 0x40]
test byte [eax + 0x16], 1
jne 0x536c55
xor eax, eax
jmp 0x536c7c
mov ecx, dword [ebp - 0x28]
mov eax, 1
test ecx, ecx
je 0x536c7c
mov edx, dword [ebp - 0x3c]
movsx edx, word [edx + 0x26]
cmp edx, eax
jl 0x536c7c
mov ecx, dword [ecx + 4]
nop
cmp dword [ecx], edi
je 0x536c7c
inc eax
add ecx, 4
cmp eax, edx
jle 0x536c70
push 6
push eax
mov edx, 7
mov ecx, esi
call fcn.0050b490
push 6
push 1
mov edx, 0x10
mov ecx, esi
call fcn.0050b490
mov eax, dword [ebp - 0x40]
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
add eax, 0x18
inc edi
mov dword [ebp - 0x40], eax
movsx eax, word [ecx + 0x26]
cmp edi, eax
mov eax, dword [ebp - 0x40]
jl 0x536b90
jmp 0x538401
push str.index_info
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x536e04
cmp dword [ebp - 0x2c], eax
je 0x536e04
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.00525070
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x538401
mov eax, dword [eax + 0xc]
mov edx, 3
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.0050ca90
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 3
call fcn.005295f0
push 0
push str.seqno
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x669994
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.name
push 0
call fcn.0050cb20
mov eax, dword [ebp - 0x34]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x28], ecx
add esp, 0xc
cmp dx, word [eax + 0x28]
jae 0x538401
jmp 0x536d90
mov eax, dword [eax + 4]
mov edx, 7
push 1
push ecx
mov edi, dword [eax + ecx*4]
mov ecx, esi
call fcn.0050b490
push 2
push edi
mov edx, 7
mov ecx, esi
call fcn.0050b490
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + edi*2]
push 0
mov edx, 0x5e
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
mov ecx, esi
push 0
push 3
push 0
call fcn.0050b500
add esp, 0x24
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.0050b490
mov eax, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
movzx eax, word [eax + 0x28]
cmp ecx, eax
mov eax, dword [ebp - 0x34]
jl 0x536d90
jmp 0x538401
push str.index_list
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x536f37
cmp dword [ebp - 0x2c], eax
je 0x536f37
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.00524e80
mov esi, eax
add esp, 4
test esi, esi
je 0x538401
mov ecx, edi
call fcn.0053bb60
mov esi, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x538401
mov edx, 3
mov dword [ebp - 0x28], 0
mov ecx, eax
call fcn.0050ca90
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 3
call fcn.005295f0
mov edi, dword [ebp - 0x1c]
xor edx, edx
push 0
push 0x6699bc
push 0
mov ecx, edi
call fcn.0050cb20
add esp, 0xc
mov edx, 1
mov ecx, edi
push 0
push str.name
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push str.unique
push 0
call fcn.0050cb20
add esp, 0xc
xor eax, eax
push 1
push eax
mov edx, 7
mov ecx, edi
call fcn.0050b490
push 0
push dword [esi]
mov edx, 0x5e
mov ecx, edi
push 0
push 2
push 0
call fcn.0050b500
xor eax, eax
add esp, 0x1c
cmp byte [esi + 0x2a], al
mov edx, 7
mov ecx, edi
setne al
push 3
push eax
call fcn.0050b490
push 3
push 1
mov edx, 0x10
mov ecx, edi
call fcn.0050b490
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov esi, dword [esi + 0x14]
inc eax
mov dword [ebp - 0x28], eax
test esi, esi
jne 0x536ed2
jmp 0x538401
push str.database_list
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x53705e
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
lea edx, [eax + 3]
mov ecx, esi
call fcn.0050ca90
push 0
push 0x6699bc
push 0
xor edx, edx
mov dword [edi + 0x4c], 3
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.file
push 0
call fcn.0050cb20
mov edx, dword [ebp - 0x20]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x28], ecx
cmp dword [edx + 0x14], ecx
jle 0x538404
xor edi, edi
jmp 0x536fd0
mov eax, dword [edx + 0x10]
cmp dword [edi + eax + 4], 0
je 0x537049
push 1
push ecx
mov edx, 7
mov ecx, esi
call fcn.0050b490
mov eax, dword [ebp - 0x20]
mov edx, 0x5e
push 0
mov ecx, esi
mov eax, dword [eax + 0x10]
push dword [edi + eax]
push 0
push 2
push 0
call fcn.0050b500
mov eax, dword [ebp - 0x20]
add esp, 0x1c
mov ecx, dword [eax + 0x10]
push 0
mov ecx, dword [edi + ecx + 4]
call fcn.00508bc0
push eax
push 0
push 3
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.0050b500
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.0050b490
mov ecx, dword [ebp - 0x28]
add esp, 8
mov edx, dword [ebp - 0x20]
inc ecx
add edi, 0x10
mov dword [ebp - 0x28], ecx
cmp ecx, dword [edx + 0x14]
jl 0x536fd0
jmp 0x538404
push str.collation_list
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x537124
lea edx, [eax + 2]
mov dword [ebp - 0x34], eax
mov ecx, esi
call fcn.0050ca90
push 0
push 0x6699bc
push 0
xor edx, edx
mov dword [edi + 0x4c], 2
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push str.name
push 0
call fcn.0050cb20
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov eax, dword [eax + 0x1a4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x538401
jmp 0x5370d0
mov edi, dword [eax + 8]
mov edx, 7
push 1
push dword [ebp - 0x34]
mov ecx, esi
call fcn.0050b490
inc dword [ebp - 0x34]
mov edx, 0x5e
push 0
push dword [edi]
mov ecx, esi
push 0
push 2
push 0
call fcn.0050b500
add esp, 0x1c
mov edx, 0x10
mov ecx, esi
push 2
push 1
call fcn.0050b490
mov eax, dword [ebp - 0x28]
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x5370d0
jmp 0x538401
push str.foreign_key_list
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5373c9
cmp dword [ebp - 0x2c], eax
je 0x5373c9
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.00524e80
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x538401
mov ecx, edi
call fcn.0053bb60
mov edi, dword [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x44], esi
mov edi, dword [edi + 0x10]
mov dword [ebp - 0x50], edi
test edi, edi
je 0x538401
mov edx, 8
mov dword [ebp - 0x54], 0
mov ecx, esi
call fcn.0050ca90
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x4c], 8
call fcn.005295f0
push 0
push 0x6699f0
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x6699bc
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.table
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push str.from
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push 0x669a34
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push str.on_update
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 6
mov ecx, esi
push 0
push str.on_delete
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 7
mov ecx, esi
push 0
push str.match
push 0
call fcn.0050cb20
add esp, 0xc
xor eax, eax
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x34], 0
jle 0x5373b2
lea ecx, [edi + 0x24]
mov dword [ebp - 0x3c], ecx
lea ebx, [ebx]
mov esi, dword [ecx + 4]
mov cl, byte [edi + 0x19]
call fcn.00535de0
mov cl, byte [edi + 0x1a]
mov dword [ebp - 0x1c], eax
call fcn.00535de0
mov ecx, dword [ebp - 0x44]
mov edx, 7
push 1
push dword [ebp - 0x54]
mov edi, eax
call fcn.0050b490
mov ecx, dword [ebp - 0x44]
mov edx, 7
push 2
push dword [ebp - 0x34]
call fcn.0050b490
mov eax, dword [ebp - 0x50]
mov edx, 0x5e
mov ecx, dword [ebp - 0x44]
push 0
push dword [eax + 8]
push 0
push 3
push 0
call fcn.0050b500
mov eax, dword [ebp - 0x3c]
add esp, 0x24
mov edx, 0x5e
mov eax, dword [eax]
push 0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
mov ecx, dword [ebp - 0x44]
push 0
push 4
push 0
call fcn.0050b500
add esp, 0x14
mov eax, 0x5e
test esi, esi
mov edx, 0xa
cmovne edx, eax
push 0
push esi
mov esi, dword [ebp - 0x44]
mov ecx, esi
push 0
push 5
push 0
call fcn.0050b500
add esp, 0x14
mov ecx, esi
push 0
push edi
push 0
push 6
mov edi, 0x5e
push 0
mov edx, edi
call fcn.0050b500
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push dword [ebp - 0x1c]
push 0
push 7
push 0
call fcn.0050b500
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push str.NONE
push 0
push 8
push 0
call fcn.0050b500
add esp, 0x14
lea edx, [edi - 0x4e]
mov ecx, esi
push 8
push 1
call fcn.0050b490
mov eax, dword [ebp - 0x34]
add esp, 8
mov edi, dword [ebp - 0x50]
inc eax
mov ecx, dword [ebp - 0x3c]
add ecx, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
cmp eax, dword [edi + 0x14]
jl 0x537290
mov eax, dword [ebp - 0x54]
mov edi, dword [edi + 4]
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edi
test edi, edi
jne 0x537273
jmp 0x538401
push str.foreign_key_check
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5378bf
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
mov eax, dword [edi + 0x4c]
lea ecx, [eax + 1]
add eax, 5
mov dword [ebp - 0x5c], eax
inc eax
mov dword [ebp - 0x50], ecx
mov ecx, edi
mov dword [edi + 0x4c], eax
call fcn.0053bb60
mov edi, eax
mov edx, 4
mov ecx, edi
call fcn.0050ca90
push 0
push str.table
push 0
xor edx, edx
mov ecx, edi
call fcn.0050cb20
add esp, 0xc
mov edx, 1
mov ecx, edi
push 0
push 0x669a4c
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push str.parent
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 3
mov ecx, edi
push 0
push str.fkid
push 0
call fcn.0050cb20
mov esi, dword [ebp - 0x48]
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov ecx, esi
call fcn.005295f0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + eax + 0xc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x538401
lea ebx, [ebx]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5374bb
push dword [ebp - 0x58]
xor edx, edx
mov ecx, esi
push eax
call fcn.00524f60
add esp, 8
xor ecx, ecx
jmp 0x5374c0
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], eax
test eax, eax
je 0x5378b2
cmp dword [eax + 0x10], 0
je 0x5378b2
push dword [eax]
mov edx, dword [ebp - 0x38]
mov ecx, esi
push 0
push dword [eax + 0x20]
call fcn.00524950
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov edx, dword [ebp - 0x5c]
inc edx
movsx eax, word [ecx + 0x26]
add eax, edx
cmp eax, dword [esi + 0x4c]
jle 0x537501
mov dword [esi + 0x4c], eax
push 0x27
push ecx
push dword [ebp - 0x38]
xor edx, edx
mov ecx, esi
call fcn.00530d40
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov edx, 0x5e
mov ecx, edi
push 0
push dword [eax]
push 0
push dword [ebp - 0x50]
push 0
call fcn.0050b500
mov eax, dword [ebp - 0x40]
add esp, 0x14
mov ecx, 1
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x537617
lea esp, [esp]
push dword [ebp - 0x58]
xor edx, edx
mov ecx, esi
push dword [eax + 8]
call fcn.00524f60
mov esi, eax
add esp, 8
test esi, esi
je 0x538401
push dword [esi]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
push 0
push dword [esi + 0x20]
mov dword [ebp - 0x44], 0
call fcn.00524950
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
add esp, 0xc
mov edx, esi
push 0
push eax
push dword [ebp - 0x34]
call fcn.0052e650
add esp, 0xc
test eax, eax
jne 0x538401
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x5375c5
mov edx, dword [ebp - 0x3c]
push 0x27
push esi
push dword [ebp - 0x38]
mov esi, dword [ebp - 0x48]
mov ecx, esi
call fcn.00530d40
add esp, 0xc
jmp 0x5375ff
mov ecx, dword [ebp - 0x48]
mov edx, eax
call fcn.00529c20
push dword [ebp - 0x38]
mov esi, eax
mov edx, 0x27
mov eax, dword [ebp - 0x44]
mov ecx, edi
push dword [eax + 0x24]
push dword [ebp - 0x3c]
call fcn.0050b370
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffff0
push esi
call fcn.0050ba40
mov esi, dword [ebp - 0x48]
add esp, 8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x537550
cmp dword [esi + 0x48], ecx
jge 0x53761f
mov dword [esi + 0x48], ecx
push 0
mov edx, 0x48
mov ecx, edi
call fcn.0050b430
mov dword [ebp - 0x60], eax
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], 1
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x34], esi
test esi, esi
je 0x53788b
jmp 0x537650
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
xor edx, edx
push dword [esi + 8]
call fcn.00524f60
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], 0
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], 0
push ecx
mov ecx, dword [ebp - 0x48]
mov edx, eax
push esi
call fcn.0052e650
add esp, 0x14
mov ecx, edi
call fcn.0050b690
cmp dword [ebp - 0x44], 0
mov dword [ebp - 0x54], eax
jne 0x537758
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x4c], eax
movsx ecx, word [ecx + 0x24]
cmp eax, ecx
je 0x537703
mov ecx, dword [ebp - 0x5c]
mov edx, 0x1d
inc ecx
push ecx
push eax
push 0
mov ecx, edi
call fcn.0050b370
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov edx, dword [ebp - 0x40]
inc eax
mov ecx, edi
push eax
push dword [ebp - 0x4c]
call fcn.00543da0
mov eax, dword [ebp - 0x5c]
mov edx, 0x49
push dword [ebp - 0x54]
inc eax
mov ecx, edi
push eax
call fcn.0050b490
mov eax, dword [edi + 0x1c]
mov edx, 0x15
add eax, 3
mov ecx, edi
push eax
mov eax, dword [ebp - 0x5c]
inc eax
push eax
call fcn.0050b490
add esp, 0x18
jmp 0x537719
mov eax, dword [ebp - 0x5c]
mov edx, 0x41
inc eax
mov ecx, edi
push eax
push 0
call fcn.0050b490
add esp, 8
mov eax, dword [ebp - 0x5c]
mov edx, 0x36
inc eax
mov ecx, edi
push eax
push 0
push dword [ebp - 0x3c]
call fcn.0050b370
add esp, 0xc
mov edx, 1
mov ecx, edi
push dword [ebp - 0x54]
push 0
call fcn.0050b490
mov edx, dword [edi + 0x1c]
add esp, 8
sub edx, 2
mov ecx, edi
call fcn.0050b8d0
jmp 0x537807
mov eax, dword [ebp - 0x34]
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x5377b5
mov ecx, dword [ebp - 0x5c]
inc ecx
mov dword [ebp - 0x4c], ecx
lea esp, [esp]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x53777c
mov eax, dword [edx + esi*4]
jmp 0x53777f
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x40]
push ecx
push eax
push 0
mov ecx, edi
call fcn.0051ea10
add esp, 0xc
mov edx, 0x49
mov ecx, edi
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
call fcn.0050b490
mov eax, dword [ebp - 0x34]
inc esi
mov ecx, dword [ebp - 0x4c]
add esp, 8
inc ecx
mov dword [ebp - 0x4c], ecx
cmp esi, dword [eax + 0x14]
jl 0x537770
mov ecx, dword [ebp - 0x5c]
mov edx, 0x1f
mov esi, dword [ebp - 0x34]
push ecx
lea eax, [ecx + 1]
mov ecx, edi
push dword [esi + 0x14]
push eax
call fcn.0050b370
mov edx, dword [ebp - 0x44]
add esp, 0xc
push 0
push ecx
mov ecx, edi
call fcn.00530de0
add esp, 4
or edx, 0xffffffff
mov ecx, edi
push eax
call fcn.0050ba40
push 0
push dword [ebp - 0x5c]
mov edx, 0x34
mov ecx, edi
push dword [ebp - 0x54]
push dword [ebp - 0x3c]
call fcn.0050b620
add esp, 0x18
mov eax, dword [ebp - 0x50]
mov edx, 0x41
inc eax
mov ecx, edi
push eax
push 0
call fcn.0050b490
mov eax, dword [ebp - 0x50]
mov edx, 0x5e
push 0
push dword [esi + 8]
add eax, 2
mov ecx, edi
push 0
push eax
push 0
call fcn.0050b500
mov eax, dword [ebp - 0x50]
add esp, 0x1c
add eax, 3
mov edx, 7
mov ecx, edi
push eax
mov eax, dword [ebp - 0x3c]
dec eax
push eax
call fcn.0050b490
push 4
push dword [ebp - 0x50]
mov edx, 0x10
mov ecx, edi
call fcn.0050b490
mov edx, dword [ebp - 0x54]
add esp, 0x10
mov ecx, edi
call fcn.0050b700
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
call fcn.004ef4c0
mov esi, dword [esi + 4]
inc dword [ebp - 0x3c]
mov dword [ebp - 0x34], esi
test esi, esi
jne 0x537650
mov esi, dword [ebp - 0x60]
mov edx, 0x5f
mov ecx, edi
lea eax, [esi + 1]
push eax
push 0
call fcn.0050b490
add esp, 8
mov edx, esi
mov ecx, edi
call fcn.0050b8d0
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x5374a0
jmp 0x538401
push str.case_sensitive_like
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x5378f7
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x538401
xor edx, edx
mov ecx, esi
call fcn.00535910
mov ecx, dword [ebp - 0x20]
movzx edx, al
call fcn.0052e470
jmp 0x538401
push str.integrity_check
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
je 0x537e3c
push str.quick_check
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
je 0x537e3c
push str.encoding
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x537a39
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x5379bb
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
lea edx, [eax + 1]
mov ecx, esi
call fcn.0050ca90
push 0
push str.encoding
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push 1
push 0
call fcn.0050b490
mov eax, dword [edi]
or edx, 0xffffffff
push 0xfffffffffffffffe
mov ecx, esi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
push dword [eax*8 + 0x663210]
call fcn.0050ba40
push 1
push 1
mov edx, 0x10
mov ecx, esi
call fcn.0050b490
add esp, 0x18
jmp 0x538401
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x4e]
test al, 1
je 0x5379d4
test al, 4
je 0x538401
mov eax, dword [str.UTF8]
mov esi, 0x663210
test eax, eax
je 0x537a25
push eax
push ecx
call fcn.004f1860
add esp, 8
test eax, eax
je 0x5379ff
mov eax, dword [esi + 8]
add esi, 8
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x5379e2
jmp 0x537a22
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x537a0e
mov ecx, 2
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x4d], cl
cmp dword [esi], 0
jne 0x538401
mov ecx, dword [ebp - 0x2c]
push ecx
push str.unsupported_encoding:__s
push edi
call fcn.004f1760
add esp, 0xc
jmp 0x538401
push str.schema_version
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
je 0x537cec
push str.user_version
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
je 0x537cec
push str.freelist_count
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
je 0x537cec
push str.compile_options
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x537b11
lea edx, [eax + 1]
mov ecx, esi
call fcn.0050ca90
push 0
push str.compile_option
push 0
xor edx, edx
mov dword [edi + 0x4c], 1
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
push 0
call fcn.004ec5e0
add esp, 4
test eax, eax
je 0x538401
mov ecx, 0x5e
xor edi, edi
push 0
push eax
push 0
push 1
mov edx, ecx
inc edi
push 0
mov ecx, esi
call fcn.0050b500
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 1
push 1
call fcn.0050b490
push edi
call fcn.004ec5e0
add esp, 0xc
mov ecx, 0x5e
test eax, eax
jne 0x537ad4
jmp 0x538401
push str.wal_checkpoint
push dword [ebp - 0x30]
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x537c06
mov eax, dword [ebp - 0x40]
mov ecx, 0xa
mov dword [ebp - 0x28], 0
cmp dword [eax], 0
mov eax, dword [ebp - 0x2c]
cmovne ecx, dword [ebp - 0x38]
mov dword [ebp - 0x60], ecx
test eax, eax
je 0x537b83
push str.full
push eax
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x537b64
mov dword [ebp - 0x28], 1
jmp 0x537b83
push str.restart
push dword [ebp - 0x2c]
call fcn.004f1860
xor ecx, ecx
add esp, 8
test eax, eax
mov eax, 2
cmove ecx, eax
mov dword [ebp - 0x28], ecx
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
lea edx, [eax + 3]
mov ecx, esi
call fcn.0050ca90
push 0
push str.busy
push 0
xor edx, edx
mov dword [edi + 0x4c], 3
mov ecx, esi
call fcn.0050cb20
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x669c04
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push str.checkpointed
push 0
call fcn.0050cb20
add esp, 0xc
mov edx, 0x7d
mov ecx, esi
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x60]
call fcn.0050b370
add esp, 0xc
push 3
jmp 0x536383
mov esi, dword [ebp - 0x30]
push str.wal_autocheckpoint
push esi
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x537c7a
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x537c35
mov ecx, esi
call fcn.004f21b0
push eax
push dword [ebp - 0x20]
call fcn.005541f0
add esp, 8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xc0], 0x5541b0
jne 0x537c61
mov eax, dword [eax + 0xc4]
mov ecx, edi
cdq
push edx
push eax
mov edx, str.wal_autocheckpoint
call fcn.00535ae0
add esp, 8
jmp 0x538401
xor eax, eax
mov ecx, edi
cdq
push edx
push eax
mov edx, str.wal_autocheckpoint
call fcn.00535ae0
add esp, 8
jmp 0x538401
push str.shrink_memory
push esi
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x537c9c
push dword [ebp - 0x20]
call fcn.00552ef0
add esp, 4
jmp 0x538401
push str.busy_timeout
push esi
call fcn.004f1860
add esp, 8
test eax, eax
jne 0x538401
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x537ccc
mov ecx, esi
call fcn.004f21b0
push eax
push dword [ebp - 0x20]
call fcn.00553b40
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, edi
mov eax, dword [eax + 0x1dc]
cdq
push edx
push eax
mov edx, str.timeout
call fcn.00535ae0
add esp, 8
jmp 0x538401
mov ecx, dword [ebp - 0x38]
mov eax, 1
shl eax, cl
or dword [esi + 0x6c], eax
cmp ecx, 1
je 0x537d07
mov edx, ecx
mov ecx, esi
call fcn.0050bea0
mov eax, dword [ebp - 0x30]
movsx eax, byte [eax]
add eax, 0xffffffba
cmp eax, 0x2d
ja case.0x537d1c.71
movzx eax, byte [eax + 0x538464]
jmp dword [eax*4 + 0x538458]
xor edi, edi
jmp 0x537d33
mov edi, 1
jmp 0x537d33
mov edi, 6
cmp dword [ebp - 0x2c], 0
je 0x537dc8
test edi, edi
je 0x537dc8
push 0x66166c
mov edx, 3
mov ecx, esi
call fcn.0050b820
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x1c], eax
jbe 0x537d6e
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x38]
mov dword [ecx + edx*4 + 4], eax
mov ecx, dword [ebp - 0x2c]
call fcn.004f21b0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 1]
cmp dword [esi + 0x1c], ecx
jbe 0x537d94
mov eax, dword [ebp - 0x60]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 2]
cmp dword [esi + 0x1c], edx
jbe 0x538401
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov esi, dword [ebp - 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x3c]
cmp dword [esi + 0x1c], edx
jbe 0x538401
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], edi
jmp 0x538401
push 0x660a9c
mov edx, 3
mov ecx, esi
call fcn.0050b820
add esp, 4
cmp dword [esi + 0x1c], eax
jbe 0x537df1
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov esi, dword [ebp - 0x38]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [ebp - 0x3c]
lea edx, [eax + 1]
cmp dword [esi + 0x1c], edx
jbe 0x537e18
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov esi, dword [ebp - 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x3c]
cmp dword [esi + 0x1c], edx
jbe 0x537e18
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 0xc], edi
mov edx, 1
mov ecx, esi
call fcn.0050ca90
push 0xffffffffffffffff
push dword [ebp - 0x30]
xor edx, edx
mov ecx, esi
push 0
call fcn.0050cb20
add esp, 0xc
jmp 0x538401
mov eax, dword [ebp - 0x30]
xor ecx, ecx
movzx eax, byte [eax]
cmp byte [eax + 0x660650], 0x71
mov eax, dword [ebp - 0x40]
sete cl
mov dword [ebp - 0x58], ecx
or ecx, 0xffffffff
cmp dword [eax], 0
mov eax, dword [ebp - 0x38]
cmove eax, ecx
mov ecx, edi
mov dword [ebp - 0x38], eax
call fcn.00538be0
test eax, eax
jne 0x53842f
lea edx, [eax + 1]
mov dword [edi + 0x4c], 6
mov ecx, esi
call fcn.0050ca90
push 0
push str.integrity_check
push 0
xor edx, edx
mov ecx, esi
call fcn.0050cb20
mov ecx, dword [ebp - 0x2c]
mov eax, 0x64
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x537ec2
lea edx, [ebp - 0x1c]
call fcn.004f20d0
mov eax, dword [ebp - 0x1c]
mov ecx, 0x64
test eax, eax
cmovle eax, ecx
mov dword [ebp - 0x40], eax
push 1
push eax
mov edx, 7
mov ecx, esi
call fcn.0050b490
mov eax, dword [ebp - 0x20]
xor edx, edx
add esp, 8
mov dword [ebp - 0x54], edx
cmp dword [eax + 0x14], edx
jle 0x538320
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
jmp 0x537ef0
mov dword [ebp - 0x44], 0
test ecx, ecx
js 0x537f03
cmp edx, ecx
jne 0x53830f
mov ecx, edi
call fcn.005295f0
push 1
mov edx, 0x78
mov ecx, esi
call fcn.0050b430
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.0050b490
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.0050b8d0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + eax + 0xc]
mov ecx, dword [eax + 0x10]
add eax, 8
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x537fb7
mov eax, dword [ebp - 0x44]
lea esp, [esp]
mov edi, dword [ecx + 8]
add eax, 2
push eax
mov edx, 7
mov ecx, esi
push dword [edi + 0x20]
call fcn.0050b490
mov eax, dword [ebp - 0x44]
add esp, 8
mov edi, dword [edi + 8]
inc eax
mov dword [ebp - 0x44], eax
test edi, edi
je 0x537fab
add eax, 2
mov edx, 7
push eax
push dword [edi + 0x24]
mov ecx, esi
call fcn.0050b490
mov eax, dword [ebp - 0x44]
add esp, 8
mov edi, dword [edi + 0x14]
inc eax
mov dword [ebp - 0x44], eax
test edi, edi
jne 0x537f87
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x537f60
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
lea edx, [eax + 4]
cmp dword [ecx + 0x4c], edx
jge 0x537fc8
mov dword [ecx + 0x4c], edx
push 1
push eax
push 2
mov edx, 0x6f
mov ecx, esi
call fcn.0050b370
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
je 0x537ff0
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x54]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], dl
push 2
mov edx, 0x49
mov ecx, esi
call fcn.0050b430
mov edx, dword [ebp - 0x50]
mov edi, eax
mov eax, dword [ebp - 0x20]
add esp, 4
mov ecx, dword [eax + 0x10]
push 0xffffffffffffffff
push dword [edx + ecx]
push str._in_database__s__n
push eax
call fcn.004f0b10
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.0050b500
add esp, 0x14
mov edx, 0xd
mov ecx, esi
push 4
push 2
call fcn.0050b490
push 2
push 3
push 4
mov edx, 0x5b
mov ecx, esi
call fcn.0050b370
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 1
push 2
call fcn.0050b490
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.0050b8d0
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x538303
mov ecx, dword [ebp - 0x58]
lea ebx, [ebx]
test ecx, ecx
jne 0x538303
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
cmp dword [eax + 8], ecx
je 0x5382f3
lea edx, [ecx + 0x78]
mov ecx, esi
push 1
call fcn.0050b430
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.0050b490
mov edx, edi
mov ecx, esi
call fcn.0050b8d0
mov edi, dword [ebp - 0x1c]
mov edx, edi
mov ecx, dword [ebp - 0x48]
push 0x27
push 1
call fcn.005346b0
push 2
push 0
mov edx, 7
mov ecx, esi
call fcn.0050b490
push 0
push 1
mov edx, 0x48
mov ecx, esi
call fcn.0050b490
push 1
push 2
mov edx, 0x14
mov dword [ebp - 0x34], eax
mov ecx, esi
call fcn.0050b490
mov edi, dword [edi + 8]
add esp, 0x28
mov dword [ebp - 0x28], edi
test edi, edi
je 0x5381d2
mov dword [ebp - 0x4c], 2
lea ecx, [ecx]
mov ecx, dword [ebp - 0x48]
mov edx, edi
push 0
push 3
push 1
call fcn.0052b2f0
movzx ecx, word [edi + 0x28]
add esp, 0xc
inc ecx
mov edx, 0x34
push ecx
push eax
push 0
push dword [ebp - 0x4c]
mov ecx, esi
call fcn.0050b620
push 0x660620
mov edx, 0xb
mov dword [ebp - 0x60], eax
mov ecx, esi
call fcn.0050b820
add esp, 0x14
mov edi, eax
mov ecx, esi
push 0xfffffffffffffffe
push str.rowid
lea edx, [edi + 1]
call fcn.0050ba40
push 0xfffffffffffffffe
push str._missing_from_index
lea edx, [edi + 3]
mov ecx, esi
call fcn.0050ba40
mov eax, dword [ebp - 0x28]
lea edx, [edi + 4]
push 0
mov ecx, esi
push dword [eax]
call fcn.0050ba40
add esp, 0x18
lea edx, [edi + 9]
mov ecx, esi
call fcn.0050b8d0
mov edx, dword [ebp - 0x60]
mov ecx, esi
call fcn.0050b8d0
mov edi, dword [ebp - 0x28]
inc dword [ebp - 0x4c]
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x538130
mov edi, dword [ebp - 0x34]
mov edx, 0x5f
mov ecx, esi
lea eax, [edi + 1]
push eax
push 1
call fcn.0050b490
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.0050b8d0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x5382f0
mov dword [ebp - 0x3c], 2
jmp 0x538210
push 1
mov edx, 0x78
mov ecx, esi
call fcn.0050b430
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.0050b490
mov edx, edi
mov ecx, esi
call fcn.0050b8d0
push 0x660c20
mov edx, 0xa
mov ecx, esi
call fcn.0050b820
add esp, 0xc
mov dword [ebp - 0x34], eax
lea edi, [eax + 1]
cmp dword [esi + 0x1c], edi
jbe 0x538280
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 - 0x34]
cmp dword [esi + 0x1c], edi
jbe 0x538280
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 - 0x34]
lea edi, [eax + 3]
cmp dword [esi + 0x1c], edi
jbe 0x5382aa
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 - 0x34]
cmp dword [esi + 0x1c], edi
jbe 0x5382aa
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 - 0x34]
mov ecx, esi
lea edx, [edi + 4]
call fcn.0050b8d0
push 0xfffffffffffffffe
push str.wrong__of_entries_in_index
lea edx, [edi + 6]
mov ecx, esi
call fcn.0050ba40
mov eax, dword [ebp - 0x28]
lea edx, [edi + 7]
push 0
mov ecx, esi
push dword [eax]
call fcn.0050ba40
mov eax, dword [ebp - 0x28]
add esp, 0x10
inc dword [ebp - 0x3c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x538210
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x538090
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x48]
add dword [ebp - 0x50], 0x10
inc edx
mov dword [ebp - 0x54], edx
cmp edx, dword [eax + 0x14]
jl 0x537ef0
push 0x6605a0
mov edx, 4
mov ecx, esi
call fcn.0050b820
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x53834a
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x40]
neg eax
mov dword [ecx + edx*4 + 8], eax
lea edx, [edi + 1]
mov ecx, esi
call fcn.0050b8d0
push 0xfffffffffffffffe
push 0x669b10
lea edx, [edi + 2]
mov ecx, esi
call fcn.0050ba40
add esp, 8
jmp 0x538401
mov ecx, edi
call fcn.00538be0
test eax, eax
jne 0x53842f
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.005295f0
mov eax, dword [ebp - 0x30]
inc dword [edi + 0x4c]
mov edi, dword [edi + 0x4c]
movzx eax, byte [eax]
cmp byte [eax + 0x660650], 0x70
jne 0x5383b0
push edi
push dword [ebp - 0x38]
mov edx, 0x92
mov ecx, esi
call fcn.0050b490
add esp, 8
jmp 0x5383d3
mov ecx, dword [ebp - 0x2c]
call fcn.004f21b0
mov ecx, eax
call fcn.004f2830
push eax
push edi
push dword [ebp - 0x38]
mov edx, 0x93
mov ecx, esi
call fcn.0050b370
add esp, 0xc
push 1
push edi
mov edx, 0x10
mov ecx, esi
call fcn.0050b490
mov edx, 1
mov ecx, esi
call fcn.0050ca90
push 0xffffffffffffffff
push dword [ebp - 0x30]
xor edx, edx
mov ecx, esi
push 0
call fcn.0050cb20
add esp, 0x14
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
cmp byte [edx + 0x36], 0
je 0x53842f
mov edx, dword [edx + 0x18]
mov eax, edx
mov ecx, dword [esi + 4]
shr eax, 0xe
shr edx, 0xd
and eax, 1
and edx, 1
push eax
push edx
movzx edx, byte [esi + 9]
call fcn.00501660
add esp, 8
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
call fcn.004ef4c0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.004ef4c0
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.005712ac
mov esp, ebp
pop ebp
ret