Function at 0x4a7aa7
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 0x4a7aef
call fcn.004a2fef
test eax, eax
je 0x4a7af4
jmp 0x4a86a1
cmp dword [ebp + 0x14], 0
je 0x4a7bc8
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.004a57c0
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x4a7b24
jmp 0x4a86a1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004cc8f0
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], 0
je 0x4a7b6d
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
shr ecx, 1
and ecx, 0x7fffffff
test ecx, ecx
jne 0x4a7b6d
cmp dword [ebp - 0x2c], 0
je 0x4a7b6d
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 0x4a7b6d
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.004cb1ca
add esp, 0x14
test eax, eax
je 0x4a7b9e
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.004cb21e
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.004a4f0b
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4a7bc6
jmp 0x4a86a1
jmp 0x4a7bf5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4a7bdf
jmp 0x4a86a1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a154c
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 0x4a7c15
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
je 0x4a7c1a
jmp 0x4a86a1
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [edx + 0x1c]
test eax, eax
je 0x4a7c42
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.004a1e4a
add esp, 0xc
jmp 0x4a86a1
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x18], 0
je 0x4a7c61
push str.views_may_not_be_indexed
mov edx, dword [ebp + 8]
push edx
call fcn.004a1e4a
add esp, 8
jmp 0x4a86a1
cmp dword [ebp - 0x10], 0
je 0x4a7d40
mov eax, dword [ebp - 0x10]
push eax
call fcn.004a563e
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a14f0
add esp, 4
test eax, eax
je 0x4a7c8f
jmp 0x4a86a1
cmp dword [ebp - 0x14], 0
jne 0x4a7c9a
jmp 0x4a86a1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a5849
add esp, 8
test eax, eax
je 0x4a7cb3
jmp 0x4a86a1
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dl, byte [ecx + 0x44]
test edx, edx
jne 0x4a7d3e
mov eax, dword [ebp + 8]
push eax
call fcn.004a14f0
add esp, 4
test eax, eax
je 0x4a7cd4
jmp 0x4a86a1
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.004a4f86
add esp, 0xc
test eax, eax
je 0x4a7d0e
cmp dword [ebp + 0x2c], 0
jne 0x4a7d09
mov edx, dword [ebp - 0x14]
push edx
push str.index__s_already_exists
mov eax, dword [ebp + 8]
push eax
call fcn.004a1e4a
add esp, 0xc
jmp 0x4a86a1
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a4e52
add esp, 0xc
test eax, eax
je 0x4a7d3e
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.004a1e4a
add esp, 0xc
jmp 0x4a86a1
jmp 0x4a7db0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x7c], 1
jmp 0x4a7d64
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 0x4a7d6c
jmp 0x4a7d52
mov ecx, dword [ebp - 0x7c]
push ecx
push 0x515214
lea edx, [ebp - 0x78]
push edx
call fcn.004634b0
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.004a1ccf
add esp, 0x14
cmp dword [ebp - 0x14], 0
jne 0x4a7db0
jmp 0x4a86a1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x80], edx
mov eax, 1
test eax, eax
je 0x4a7dd3
cmp dword [ebp - 0x24], 1
jne 0x4a7dd3
mov dword [ebp - 0xbc], 0x51522c
jmp 0x4a7ddd
mov dword [ebp - 0xbc], 0x515240
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.004ca7c4
add esp, 0x14
test eax, eax
je 0x4a7e01
jmp 0x4a86a1
mov dword [ebp - 0x30], 1
mov ecx, 1
test ecx, ecx
je 0x4a7e1e
cmp dword [ebp - 0x24], 1
jne 0x4a7e1e
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.004ca7c4
add esp, 0x14
test eax, eax
je 0x4a7e45
jmp 0x4a86a1
cmp dword [ebp + 0x18], 0
jne 0x4a7eb8
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.0046bfa0
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.004c74b9
add esp, 0xc
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x18], 0
jne 0x4a7eac
jmp 0x4a86a1
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 0x4a7eca
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 0x4a7f12
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 0x4a7f10
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call fcn.0046bfa0
add esp, 4
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x20], edx
jmp 0x4a7ec1
mov eax, dword [ebp - 0x14]
push eax
call fcn.0046bfa0
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.004a1bcc
add esp, 8
mov dword [ebp - 0x3c], eax
call fcn.004a2fef
test eax, eax
je 0x4a7f66
jmp 0x4a86a1
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.004daf60
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 0x4a8033
mov dword [ebp - 0x54], 0xffffffff
jmp 0x4a803a
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 0x4a805e
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 0x4a81e1
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 0x4a80a5
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 0x4a80d0
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004a1ffd
add esp, 8
test eax, eax
jne 0x4a80ce
jmp 0x4a80d0
jmp 0x4a808d
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 4]
jl 0x4a80fe
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.004a1e4a
add esp, 0x10
jmp 0x4a86a1
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 0x4a8150
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.004daf60
add esp, 8
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.0046bfa0
add esp, 4
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax + 1]
mov dword [ebp - 0xc], eax
jmp 0x4a817d
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 0x4a817d
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 0x4a81a7
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a63ed
add esp, 0xc
test eax, eax
jne 0x4a81a7
jmp 0x4a86a1
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 0x4a804c
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004a89d7
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0xa4]
jne 0x4a8399
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x98], edx
jmp 0x4a821c
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0
je 0x4a8399
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 4]
je 0x4a823c
jmp 0x4a820d
mov dword [ebp - 0x9c], 0
jmp 0x4a8257
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 0x4a8318
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 0x4a82be
jmp 0x4a8318
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 0x4a82e9
jmp 0x4a8318
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0xa4]
je 0x4a8313
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004a1ffd
add esp, 8
test eax, eax
je 0x4a8313
jmp 0x4a8318
jmp 0x4a8248
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [edx + 4]
jne 0x4a8394
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 0x4a838f
mov edx, dword [ebp - 0x98]
xor eax, eax
mov al, byte [edx + 0x18]
cmp eax, 0x63
je 0x4a8370
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 0x63
je 0x4a8370
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
mov eax, dword [ebp + 8]
push eax
call fcn.004a1e4a
add esp, 0xc
mov ecx, dword [ebp - 0x98]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 0x63
jne 0x4a838f
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ecx + 0x18]
mov byte [eax + 0x18], dl
jmp 0x4a86a1
jmp 0x4a820d
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
je 0x4a840d
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ecx
call fcn.0046bfa0
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.004a4561
add esp, 0x10
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x4a83e7
jmp 0x4a86a1
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 0x4a8408
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x14], edx
jmp 0x4a85f7
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
jne 0x4a85f7
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.004c25e5
add esp, 4
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x4a8458
jmp 0x4a86a1
mov edx, dword [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004a9450
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x1c
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004b329b
add esp, 0x10
push 0
mov eax, dword [ebp - 0xac]
push eax
push 0x76
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004b329b
add esp, 0x10
cmp dword [ebp + 0x20], 0
je 0x4a84f3
cmp dword [ebp + 0x24], 0
je 0x4a84f3
cmp dword [ebp + 0x1c], 0
jne 0x4a84b9
mov dword [ebp - 0xc4], 0x51c84c
jmp 0x4a84c3
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.004993f0
add esp, 0x10
mov dword [ebp - 0xb4], eax
jmp 0x4a84fd
mov dword [ebp - 0xb4], 0
mov edx, 1
test edx, edx
je 0x4a8518
cmp dword [ebp - 0x24], 1
jne 0x4a8518
mov dword [ebp - 0xc8], 0x5152b8
jmp 0x4a8522
mov dword [ebp - 0xc8], 0x5152cc
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.004a4d99
add esp, 0x1c
push 0
push 1
push 0xa
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004b329b
add esp, 0x10
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004a1ba2
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x4a85f7
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a86dd
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.004a64b1
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
push str.name_q
call fcn.004993f0
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.004b33da
add esp, 0x18
push 0
push 0
push 0xd
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004b329b
add esp, 0x10
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
jne 0x4a860d
cmp dword [ebp + 0x14], 0
jne 0x4a86a1
cmp dword [ebp + 0x1c], 5
jne 0x4a862c
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x10], 0
je 0x4a862c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 5
jne 0x4a8643
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 0x4a869a
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 0x4a867f
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x20]
xor ecx, ecx
mov cl, byte [eax + 0x18]
cmp ecx, 5
je 0x4a867f
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0xb8], eax
jmp 0x4a864f
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 0x4a86b3
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004a511d
add esp, 4
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004c75a5
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
call fcn.004a902d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.004a1ba2
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret