Function at 0x4a6267
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 0x4a62af
call fcn.004a17af
test eax, eax
je 0x4a62b4
jmp 0x4a6e61
cmp dword [ebp + 0x14], 0
je 0x4a6388
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.004a3f80
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x4a62e4
jmp 0x4a6e61
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004cb0d0
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], 0
je 0x4a632d
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
shr ecx, 1
and ecx, 0x7fffffff
test ecx, ecx
jne 0x4a632d
cmp dword [ebp - 0x2c], 0
je 0x4a632d
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 0x4a632d
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.004c99aa
add esp, 0x14
test eax, eax
je 0x4a635e
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.004c99fe
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.004a36cb
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4a6386
jmp 0x4a6e61
jmp 0x4a63b5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4a639f
jmp 0x4a6e61
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0049fd0c
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 0x4a63d5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
je 0x4a63da
jmp 0x4a6e61
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [edx + 0x1c]
test eax, eax
je 0x4a6402
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.004a060a
add esp, 0xc
jmp 0x4a6e61
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x18], 0
je 0x4a6421
push str.views_may_not_be_indexed
mov edx, dword [ebp + 8]
push edx
call fcn.004a060a
add esp, 8
jmp 0x4a6e61
cmp dword [ebp - 0x10], 0
je 0x4a6500
mov eax, dword [ebp - 0x10]
push eax
call fcn.004a3dfe
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049fcb0
add esp, 4
test eax, eax
je 0x4a644f
jmp 0x4a6e61
cmp dword [ebp - 0x14], 0
jne 0x4a645a
jmp 0x4a6e61
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a4009
add esp, 8
test eax, eax
je 0x4a6473
jmp 0x4a6e61
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dl, byte [ecx + 0x44]
test edx, edx
jne 0x4a64fe
mov eax, dword [ebp + 8]
push eax
call fcn.0049fcb0
add esp, 4
test eax, eax
je 0x4a6494
jmp 0x4a6e61
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.004a3746
add esp, 0xc
test eax, eax
je 0x4a64ce
cmp dword [ebp + 0x2c], 0
jne 0x4a64c9
mov edx, dword [ebp - 0x14]
push edx
push str.index__s_already_exists
mov eax, dword [ebp + 8]
push eax
call fcn.004a060a
add esp, 0xc
jmp 0x4a6e61
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a3612
add esp, 0xc
test eax, eax
je 0x4a64fe
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.004a060a
add esp, 0xc
jmp 0x4a6e61
jmp 0x4a6570
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x7c], 1
jmp 0x4a6524
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 0x4a652c
jmp 0x4a6512
mov ecx, dword [ebp - 0x7c]
push ecx
push 0x513214
lea edx, [ebp - 0x78]
push edx
call fcn.00461c40
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.004a048f
add esp, 0x14
cmp dword [ebp - 0x14], 0
jne 0x4a6570
jmp 0x4a6e61
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x80], edx
mov eax, 1
test eax, eax
je 0x4a6593
cmp dword [ebp - 0x24], 1
jne 0x4a6593
mov dword [ebp - 0xbc], 0x51322c
jmp 0x4a659d
mov dword [ebp - 0xbc], 0x513240
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.004c8fa4
add esp, 0x14
test eax, eax
je 0x4a65c1
jmp 0x4a6e61
mov dword [ebp - 0x30], 1
mov ecx, 1
test ecx, ecx
je 0x4a65de
cmp dword [ebp - 0x24], 1
jne 0x4a65de
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.004c8fa4
add esp, 0x14
test eax, eax
je 0x4a6605
jmp 0x4a6e61
cmp dword [ebp + 0x18], 0
jne 0x4a6678
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.0046a760
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.004c5c89
add esp, 0xc
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x18], 0
jne 0x4a666c
jmp 0x4a6e61
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 0x4a668a
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 0x4a66d2
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 0x4a66d0
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call fcn.0046a760
add esp, 4
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x20], edx
jmp 0x4a6681
mov eax, dword [ebp - 0x14]
push eax
call fcn.0046a760
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.004a038c
add esp, 8
mov dword [ebp - 0x3c], eax
call fcn.004a17af
test eax, eax
je 0x4a6726
jmp 0x4a6e61
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.004d9770
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 0x4a67f3
mov dword [ebp - 0x54], 0xffffffff
jmp 0x4a67fa
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 0x4a681e
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 0x4a69a1
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 0x4a6865
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 0x4a6890
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004a07bd
add esp, 8
test eax, eax
jne 0x4a688e
jmp 0x4a6890
jmp 0x4a684d
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 4]
jl 0x4a68be
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.004a060a
add esp, 0x10
jmp 0x4a6e61
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 0x4a6910
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.004d9770
add esp, 8
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.0046a760
add esp, 4
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax + 1]
mov dword [ebp - 0xc], eax
jmp 0x4a693d
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 0x4a693d
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 0x4a6967
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a4bad
add esp, 0xc
test eax, eax
jne 0x4a6967
jmp 0x4a6e61
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 0x4a680c
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004a7197
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0xa4]
jne 0x4a6b59
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x98], edx
jmp 0x4a69dc
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0
je 0x4a6b59
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 4]
je 0x4a69fc
jmp 0x4a69cd
mov dword [ebp - 0x9c], 0
jmp 0x4a6a17
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 0x4a6ad8
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 0x4a6a7e
jmp 0x4a6ad8
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 0x4a6aa9
jmp 0x4a6ad8
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0xa4]
je 0x4a6ad3
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004a07bd
add esp, 8
test eax, eax
je 0x4a6ad3
jmp 0x4a6ad8
jmp 0x4a6a08
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [edx + 4]
jne 0x4a6b54
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 0x4a6b4f
mov edx, dword [ebp - 0x98]
xor eax, eax
mov al, byte [edx + 0x18]
cmp eax, 0x63
je 0x4a6b30
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 0x63
je 0x4a6b30
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
mov eax, dword [ebp + 8]
push eax
call fcn.004a060a
add esp, 0xc
mov ecx, dword [ebp - 0x98]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 0x63
jne 0x4a6b4f
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ecx + 0x18]
mov byte [eax + 0x18], dl
jmp 0x4a6e61
jmp 0x4a69cd
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
je 0x4a6bcd
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ecx
call fcn.0046a760
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.004a2d21
add esp, 0x10
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x4a6ba7
jmp 0x4a6e61
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 0x4a6bc8
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x14], edx
jmp 0x4a6db7
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
jne 0x4a6db7
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.004c0db5
add esp, 4
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x4a6c18
jmp 0x4a6e61
mov edx, dword [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004a7c10
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x1c
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004b1a5b
add esp, 0x10
push 0
mov eax, dword [ebp - 0xac]
push eax
push 0x76
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004b1a5b
add esp, 0x10
cmp dword [ebp + 0x20], 0
je 0x4a6cb3
cmp dword [ebp + 0x24], 0
je 0x4a6cb3
cmp dword [ebp + 0x1c], 0
jne 0x4a6c79
mov dword [ebp - 0xc4], 0x51a80c
jmp 0x4a6c83
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.00497bb0
add esp, 0x10
mov dword [ebp - 0xb4], eax
jmp 0x4a6cbd
mov dword [ebp - 0xb4], 0
mov edx, 1
test edx, edx
je 0x4a6cd8
cmp dword [ebp - 0x24], 1
jne 0x4a6cd8
mov dword [ebp - 0xc8], 0x5132b8
jmp 0x4a6ce2
mov dword [ebp - 0xc8], 0x5132cc
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.004a3559
add esp, 0x1c
push 0
push 1
push 0xa
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004b1a5b
add esp, 0x10
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004a0362
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x4a6db7
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a6e9d
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.004a4c71
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
push str.name_q
call fcn.00497bb0
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.004b1b9a
add esp, 0x18
push 0
push 0
push 0xd
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004b1a5b
add esp, 0x10
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax + 0x44]
test ecx, ecx
jne 0x4a6dcd
cmp dword [ebp + 0x14], 0
jne 0x4a6e61
cmp dword [ebp + 0x1c], 5
jne 0x4a6dec
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x10], 0
je 0x4a6dec
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
xor edx, edx
mov dl, byte [ecx + 0x18]
cmp edx, 5
jne 0x4a6e03
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 0x4a6e5a
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 0x4a6e3f
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x20]
xor ecx, ecx
mov cl, byte [eax + 0x18]
cmp ecx, 5
je 0x4a6e3f
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0xb8], eax
jmp 0x4a6e0f
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 0x4a6e73
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004a38dd
add esp, 4
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004c5d75
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
call fcn.004a77ed
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.004a0362
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret