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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
jne 0x4bd9ef
call fcn.004b8eef
test eax, eax
je 0x4bd9f4
jmp 0x4be5a1
cmp dword [ebp + 0x14], 0
je 0x4bdac8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004bb6c0
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x4bda24
jmp 0x4be5a1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e2810
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], 0
je 0x4bda6d
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
shr ecx, 1
and ecx, 0x7fffffff
test ecx, ecx
jne 0x4bda6d
cmp dword [ebp - 0x2c], 0
je 0x4bda6d
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x3c]
cmp edx, dword [eax + 0x2c]
jne 0x4bda6d
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x10]
push eax
push str.index
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.004e10ea
add esp, 0x14
test eax, eax
je 0x4bda9e
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.004e113e
add esp, 8
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bae0b
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4bdac6
jmp 0x4be5a1
jmp 0x4bdaf5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4bdadf
jmp 0x4be5a1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004b744c
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
add eax, ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x2c], 0
je 0x4bdb15
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
je 0x4bdb1a
jmp 0x4be5a1
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [edx + 0x1c]
test eax, eax
je 0x4bdb42
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
push str.table__s_may_not_be_indexed
mov eax, dword [ebp + 8]
push eax
call fcn.004b7d4a
add esp, 0xc
jmp 0x4be5a1
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x18], 0
je 0x4bdb61
push str.views_may_not_be_indexed
mov edx, dword [ebp + 8]
push edx
call fcn.004b7d4a
add esp, 8
jmp 0x4be5a1
cmp dword [ebp - 0x10], 0
je 0x4bdc40
mov eax, dword [ebp - 0x10]
push eax
call fcn.004bb53e
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b73f0
add esp, 4
test eax, eax
je 0x4bdb8f
jmp 0x4be5a1
cmp dword [ebp - 0x14], 0
jne 0x4bdb9a
jmp 0x4be5a1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004bb749
add esp, 8
test eax, eax
je 0x4bdbb3
jmp 0x4be5a1
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dl, byte [ecx + 0x44]
test edx, edx
jne 0x4bdc3e
mov eax, dword [ebp + 8]
push eax
call fcn.004b73f0
add esp, 4
test eax, eax
je 0x4bdbd4
jmp 0x4be5a1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004bae86
add esp, 0xc
test eax, eax
je 0x4bdc0e
cmp dword [ebp + 0x2c], 0
jne 0x4bdc09
mov edx, dword [ebp - 0x14]
push edx
push str.index__s_already_exists
mov eax, dword [ebp + 8]
push eax
call fcn.004b7d4a
add esp, 0xc
jmp 0x4be5a1
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004bad52
add esp, 0xc
test eax, eax
je 0x4bdc3e
mov eax, dword [ebp - 0x14]
push eax
push str.there_is_already_a_table_named__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b7d4a
add esp, 0xc
jmp 0x4be5a1
jmp 0x4bdcb0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x7c], 1
jmp 0x4bdc64
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x58], 0
je 0x4bdc6c
jmp 0x4bdc52
mov ecx, dword [ebp - 0x7c]
push ecx
push 0x531224
lea edx, [ebp - 0x78]
push edx
call fcn.004793a0
add esp, 0xc
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
push str.sqlite_autoindex_
lea eax, [ebp - 0x14]
push eax
call fcn.004b7bcf
add esp, 0x14
cmp dword [ebp - 0x14], 0
jne 0x4bdcb0
jmp 0x4be5a1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x80], edx
mov eax, 1
test eax, eax
je 0x4bdcd3
cmp dword [ebp - 0x24], 1
jne 0x4bdcd3
mov dword [ebp - 0xbc], 0x53123c
jmp 0x4bdcdd
mov dword [ebp - 0xbc], 0x531250
mov ecx, dword [ebp - 0x80]
push ecx
push 0
mov edx, dword [ebp - 0xbc]
push edx
push 0x12
mov eax, dword [ebp + 8]
push eax
call fcn.004e06e4
add esp, 0x14
test eax, eax
je 0x4bdd01
jmp 0x4be5a1
mov dword [ebp - 0x30], 1
mov ecx, 1
test ecx, ecx
je 0x4bdd1e
cmp dword [ebp - 0x24], 1
jne 0x4bdd1e
mov dword [ebp - 0x30], 3
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e06e4
add esp, 0x14
test eax, eax
je 0x4bdd45
jmp 0x4be5a1
cmp dword [ebp + 0x18], 0
jne 0x4bddb8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
sub eax, 1
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
mov eax, dword [edx + eax]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00481ea0
add esp, 4
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
and edx, 0x7fffffff
shl edx, 1
mov eax, dword [ebp - 0x18]
and eax, 1
or eax, edx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
call fcn.004dd3d9
add esp, 0xc
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x18], 0
jne 0x4bddac
jmp 0x4be5a1
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0xc]
mov cl, byte [ebp + 0x28]
mov byte [eax + 8], cl
mov dword [ebp - 0x30], 0
jmp 0x4bddca
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax]
jge 0x4bde12
mov edx, dword [ebp - 0x30]
imul edx, edx, 0xc
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx]
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 0
je 0x4bde10
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call fcn.00481ea0
add esp, 4
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x20], edx
jmp 0x4bddc1
mov eax, dword [ebp - 0x14]
push eax
call fcn.00481ea0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
push 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*4 + 0x30]
mov eax, dword [ebp - 8]
lea ecx, [edx + eax*4 + 4]
mov edx, dword [ebp - 8]
lea eax, [ecx + edx*4]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
lea edx, [eax + ecx + 1]
push edx
call fcn.004b7acc
add esp, 8
mov dword [ebp - 0x3c], eax
call fcn.004b8eef
test eax, eax
je 0x4bde66
jmp 0x4be5a1
mov eax, dword [ebp - 0x3c]
add eax, 0x30
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 8]
lea edx, [eax + ecx*4]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 8]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 8]
lea eax, [ecx + edx*4 + 4]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x28]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx + 1]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
call fcn.004f0eb0
add esp, 8
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x3c]
mov al, byte [ebp + 0x1c]
mov byte [edx + 0x18], al
xor ecx, ecx
cmp dword [ebp - 0x10], 0
sete cl
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x19], cl
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [edx + eax + 0x14]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x14]
xor edx, edx
mov dl, byte [ecx + 0x78]
cmp edx, 4
jl 0x4bdf33
mov dword [ebp - 0x54], 0xffffffff
jmp 0x4bdf3a
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x34], ecx
jmp 0x4bdf5e
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
add eax, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x30]
cmp edx, dword [ecx]
jge 0x4be0e1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x94], eax
jmp 0x4bdfa5
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x94]
add edx, 0x14
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 4]
jge 0x4bdfd0
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004b7efd
add esp, 8
test eax, eax
jne 0x4bdfce
jmp 0x4bdfd0
jmp 0x4bdf8d
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 4]
jl 0x4bdffe
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
push str.table__s_has_no_column_named__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b7d4a
add esp, 0x10
jmp 0x4be5a1
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x4be050
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004f0eb0
add esp, 8
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.00481ea0
add esp, 4
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax + 1]
mov dword [ebp - 0xc], eax
jmp 0x4be07d
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov ecx, dword [eax + ecx + 0xc]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
jne 0x4be07d
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x28]
xor eax, eax
mov al, byte [edx + 0x44]
test eax, eax
jne 0x4be0a7
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004bc2ed
add esp, 0xc
test eax, eax
jne 0x4be0a7
jmp 0x4be5a1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x90]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov dl, byte [ecx + 8]
and edx, dword [ebp - 0x54]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x30]
mov al, byte [ebp - 0x88]
mov byte [ecx + edx], al
jmp 0x4bdf4c
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004be8d7
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0xa4]
jne 0x4be299
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x98], edx
jmp 0x4be11c
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0
je 0x4be299
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 4]
je 0x4be13c
jmp 0x4be10d
mov dword [ebp - 0x9c], 0
jmp 0x4be157
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax + 4]
jge 0x4be218
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x9c]
mov edx, dword [edx + eax*4]
cmp edx, dword [ecx + esi*4]
je 0x4be1be
jmp 0x4be218
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x9c]
xor eax, eax
mov al, byte [ecx + edx]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x28]
mov ecx, dword [ebp - 0x9c]
xor ebx, ebx
mov bl, byte [edx + ecx]
cmp eax, ebx
je 0x4be1e9
jmp 0x4be218
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0xa4]
je 0x4be213
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004b7efd
add esp, 8
test eax, eax
je 0x4be213
jmp 0x4be218
jmp 0x4be148
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [edx + 4]
jne 0x4be294
mov ecx, dword [ebp - 0x98]
xor edx, edx
mov dl, byte [ecx + 0x18]
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax + 0x18]
cmp edx, ecx
je 0x4be28f
mov edx, dword [ebp - 0x98]
xor eax, eax
mov al, byte [edx + 0x18]
cmp eax, 0x63
je 0x4be270
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 0x63
je 0x4be270
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
mov eax, dword [ebp + 8]
push eax
call fcn.004b7d4a
add esp, 0xc
mov ecx, dword [ebp - 0x98]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 0x63
jne 0x4be28f
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ecx + 0x18]
mov byte [eax + 0x18], dl
jmp 0x4be5a1
jmp 0x4be10d
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
je 0x4be30d
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ecx
call fcn.00481ea0
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x24]
add edx, 0x20
push edx
call fcn.004ba461
add esp, 0x10
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x4be2e7
jmp 0x4be5a1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
or ecx, 0x10
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], ecx
cmp dword [ebp + 0x14], 0
je 0x4be308
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x14], edx
jmp 0x4be4f7
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
jne 0x4be4f7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d8505
add esp, 4
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x4be358
jmp 0x4be5a1
mov edx, dword [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004bf350
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x1c
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004c919b
add esp, 0x10
push 0
mov eax, dword [ebp - 0xac]
push eax
push 0x76
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004c919b
add esp, 0x10
cmp dword [ebp + 0x20], 0
je 0x4be3f3
cmp dword [ebp + 0x24], 0
je 0x4be3f3
cmp dword [ebp + 0x1c], 0
jne 0x4be3b9
mov dword [ebp - 0xc4], 0x5383cc
jmp 0x4be3c3
mov dword [ebp - 0xc4], str._UNIQUE
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
sub eax, dword [edx]
add eax, 1
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
push str.CREATE_s_INDEX__.s
call fcn.004af2f0
add esp, 0x10
mov dword [ebp - 0xb4], eax
jmp 0x4be3fd
mov dword [ebp - 0xb4], 0
mov edx, 1
test edx, edx
je 0x4be418
cmp dword [ebp - 0x24], 1
jne 0x4be418
mov dword [ebp - 0xc8], 0x5312c8
jmp 0x4be422
mov dword [ebp - 0xc8], 0x5312dc
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax]
push eax
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bac99
add esp, 0x1c
push 0
push 1
push 0xa
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004c919b
add esp, 0x10
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004b7aa2
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x4be4f7
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004be5dd
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004bc3b1
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
push str.name_q
call fcn.004af2f0
add esp, 8
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0x1a
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004c92da
add esp, 0x18
push 0
push 0
push 0xd
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004c919b
add esp, 0x10
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
jne 0x4be50d
cmp dword [ebp + 0x14], 0
jne 0x4be5a1
cmp dword [ebp + 0x1c], 5
jne 0x4be52c
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x10], 0
je 0x4be52c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 5
jne 0x4be543
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x10], ecx
jmp 0x4be59a
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx + 0x20], 0
je 0x4be57f
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x20]
xor ecx, ecx
mov cl, byte [eax + 0x18]
cmp ecx, 5
je 0x4be57f
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0xb8], eax
jmp 0x4be54f
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x20], edx
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
je 0x4be5b3
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004bb01d
add esp, 4
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004dd4c5
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
call fcn.004bef2d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.004b7aa2
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret