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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
push ebx
push ebp
mov ebp, dword [esp + 0x90]
push esi
xor esi, esi
cmp dword [eax + 0x40], esi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x2c], edx
mov edx, dword [eax]
push edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
jne 0x4297e0
mov eax, edx
cmp byte [eax + 0x1e], 0
jne 0x4297e0
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x198], 0
jne 0x4297e0
cmp dword [esp + 0x2c], esi
je 0x42928e
lea edx, [esp + 0x38]
mov eax, ebp
call fcn.00426d10
cmp eax, esi
mov dword [esp + 0x24], eax
jl 0x4297e0
mov ebx, dword [esp + 0x18]
cmp byte [ebx + 0x80], 0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
jne 0x42923d
push edi
mov eax, esi
call fcn.0042b580
add esp, 4
test ebp, ebp
je 0x42923d
test dword [ebp + 4], 0xfffffffe
jne 0x42923d
test eax, eax
je 0x42923d
mov edx, dword [ebx + 8]
mov eax, dword [eax + 0x4c]
cmp eax, dword [edx + 0x2c]
jne 0x42923d
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x28]
push str.index
lea eax, [esp + 0x5c]
call fcn.00425360
add esp, 8
test eax, eax
je 0x429269
lea edx, [esp + 0x54]
push edi
push edx
call fcn.00425390
add esp, 8
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
push eax
push 0
mov eax, esi
call fcn.00425ee0
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4297e0
mov eax, dword [esp + 0x24]
jmp 0x4292b2
mov eax, dword [ecx + 0x180]
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x4297e0
mov ecx, dword [esp + 0x18]
mov edx, eax
mov esi, dword [edx + 0x4c]
call fcn.00434260
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
add ecx, eax
cmp dword [edx + 0x40], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ecx
jne 0x4297e0
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x34], 0
je 0x4292fb
mov eax, dword [esi]
push eax
push str.table__s_may_not_be_indexed
mov esi, edx
call fcn.00405450
add esp, 8
jmp 0x4297e0
cmp dword [esi + 0x18], 0
je 0x429312
push str.views_may_not_be_indexed
mov esi, edx
call fcn.00405450
jmp 0x4297dd
cmp byte [esi + 0x39], 0
je 0x429329
push str.virtual_tables_may_not_be_indexed
mov esi, edx
call fcn.00405450
jmp 0x4297dd
mov eax, dword [esp + 0x38]
test eax, eax
je 0x429407
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00426b70
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x20], eax
call fcn.004340c0
test eax, eax
jne 0x4297e0
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4297e0
mov eax, esi
call fcn.00426d50
test eax, eax
jne 0x4297e0
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x80], al
jne 0x4293c2
mov esi, dword [esp + 0x14]
call fcn.004340c0
test eax, eax
jne 0x4297e0
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push eax
push edx
mov ebx, esi
call fcn.00425e20
add esp, 8
test eax, eax
je 0x4293c2
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push eax
push str.there_is_already_a_table_named__s
call fcn.00405450
add esp, 8
jmp 0x4297e0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov ebx, dword [esp + 0x20]
push edx
push esi
call fcn.00425f70
add esp, 8
test eax, eax
je 0x429467
cmp dword [esp + 0xac], 0
jne 0x4297e0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push eax
push str.index__s_already_exists
call fcn.00405450
add esp, 8
jmp 0x4297e0
mov eax, dword [esi + 0x10]
test eax, eax
mov ecx, 1
je 0x42941d
mov eax, dword [eax + 0x20]
add ecx, 1
test eax, eax
jne 0x429413
push ecx
push 0x493758
lea ecx, [esp + 0x6c]
push ecx
push 0x1e
call fcn.00404a90
push 0
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x38], 0
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x3c]
push str.sqlite_autoindex_
push ecx
call fcn.00403800
add esp, 0x24
cmp dword [esp + 0x20], 0
jne 0x429467
mov edx, dword [esp + 0x18]
mov byte [edx + 0x1e], 1
jmp 0x4297e0
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
mov edi, 1
cmp dword [esp + 0x24], edi
mov eax, str.sqlite_temp_master
je 0x429482
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x20]
push 0x12
call fcn.00425860
add esp, 0x10
test eax, eax
jne 0x4297e0
cmp dword [esp + 0x24], edi
mov eax, edi
jne 0x4294a9
mov eax, 3
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x24]
call fcn.00425860
add esp, 0x10
test eax, eax
jne 0x4297e0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x429538
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*4 - 0x14]
mov dword [esp + 0x44], eax
lea edx, [eax + 1]
jmp 0x4294f0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4294f0
sub eax, edx
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax]
and edx, edi
or ecx, edx
lea eax, [esp + 0x44]
mov dword [esp + 0x48], ecx
push eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
xor ecx, ecx
call fcn.0041f760
add esp, 4
test eax, eax
mov dword [esp + 0x30], eax
je 0x4297e0
mov ecx, dword [eax + 0xc]
mov dl, byte [esp + 0xa8]
mov byte [ecx + 8], dl
mov esi, dword [eax]
test esi, esi
jle 0x429570
mov edi, dword [eax + 0xc]
mov ebp, dword [esp + 0x3c]
mov ebx, esi
mov eax, dword [edi]
test eax, eax
je 0x429564
mov eax, dword [eax + 4]
mov eax, dword [eax]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429555
sub eax, edx
lea ebp, [eax + ebp + 1]
add edi, 0xc
sub ebx, 1
jne 0x429547
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429577
mov edi, dword [esp + 0x18]
mov ecx, esi
imul ecx, ecx, 0xd
sub eax, edx
mov edx, dword [esp + 0x3c]
add ecx, eax
lea ebx, [ecx + edx + 0x35]
mov dword [esp + 0x34], eax
call fcn.004036d0
mov ebp, eax
mov eax, edi
cmp byte [eax + 0x1e], 0
jne 0x4297c7
mov ecx, dword [esp + 0x34]
lea eax, [ebp + 0x30]
mov dword [ebp + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [ebp + 8], eax
lea eax, [eax + esi*4]
mov dword [ebp + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebp + 0x28], eax
add eax, esi
lea edx, [eax + ecx + 1]
add ecx, 1
push ecx
mov dword [ebp], eax
mov ecx, dword [esp + 0x24]
push ecx
push eax
mov dword [esp + 0x4c], edx
call fcn.0046ff50
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov cl, byte [esp + 0xa8]
mov dword [ebp + 0x10], edi
mov edx, dword [eax]
mov byte [ebp + 0x18], cl
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x38], 0
mov dword [ebp + 4], edx
sete dl
mov byte [ebp + 0x19], dl
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + edx + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x24], edx
mov edx, dword [ecx + 0x14]
cmp byte [edx + 0x58], 4
sbb ecx, ecx
neg ecx
sub ecx, 1
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [eax], ebx
mov dword [esp + 0x28], ecx
jle 0x42974f
jmp 0x429650
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 8]
xor esi, esi
cmp dword [eax + 4], esi
jle 0x42968e
lea esp, [esp]
mov edx, dword [edi]
mov ecx, dword [esp + 0x34]
call fcn.00405560
test eax, eax
je 0x42968e
mov ecx, dword [esp + 0x1c]
add esi, 1
add edi, 0x14
cmp esi, dword [ecx + 4]
jl 0x429670
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx + 4]
jge 0x4297aa
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
mov dword [edx + ebx*4], esi
mov eax, dword [eax]
test eax, eax
je 0x4296e5
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push 0x4921e4
push esi
push eax
call fcn.00404a90
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4296d0
sub eax, edx
lea ecx, [esi + eax + 1]
mov dword [esp + 0x40], ecx
jmp 0x4296fc
mov eax, dword [ecx + 8]
lea edx, [esi + esi*4]
mov esi, dword [eax + edx*4 + 0xc]
test esi, esi
jne 0x4296fc
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x2c]
mov esi, dword [edx]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x80], 0
jne 0x42971e
mov eax, dword [esp + 0x14]
push esi
call fcn.00427750
add esp, 4
test eax, eax
je 0x4297c7
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + ebx*4], esi
mov esi, dword [esp + 0x28]
mov dl, byte [esi + 8]
and dl, byte [esp + 0x44]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x30]
mov byte [ebx + eax], dl
add ebx, 1
add esi, 0xc
cmp ebx, dword [ecx]
mov dword [esp + 0x28], esi
jl 0x429650
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, ebp
call fcn.00429bd0
cmp edi, dword [esi + 0x180]
jne 0x429873
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x429873
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 4]
jne 0x429864
xor edi, edi
test eax, eax
jle 0x42985f
mov esi, dword [ebp + 0x2c]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 8]
mov ecx, dword [ebp + 8]
sub eax, esi
sub edx, esi
sub ecx, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ecx
jmp 0x429828
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
push edx
push ecx
push str.table__s_has_no_column_named__s
call fcn.00405450
add esp, 0xc
test ebp, ebp
je 0x4297e0
mov eax, dword [ebp + 0x1c]
push eax
call fcn.004032c0
add esp, 4
push ebp
call fcn.004032c0
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041f9b0
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.0042a240
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.004032c0
mov ecx, dword [esp + 0x88]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046d626
add esp, 0x7c
ret
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax + esi]
mov edx, dword [edx + esi]
mov eax, dword [esp + 0x40]
cmp edx, dword [eax + esi]
jne 0x42985f
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp + 0x28]
mov dl, byte [edi + edx]
cmp dl, byte [edi + eax]
jne 0x42985f
mov edx, dword [esi]
cmp ecx, edx
je 0x429854
call fcn.00405560
test eax, eax
jne 0x42985f
add edi, 1
add esi, 4
cmp edi, dword [ebx + 4]
jl 0x429820
cmp edi, dword [ebx + 4]
je 0x4298bb
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x429771
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x80], 0
je 0x429916
mov edx, dword [ebp]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429890
mov ecx, dword [ebp + 0x24]
sub eax, esi
push ebp
add eax, 1
push edx
add ecx, 0x18
call fcn.00406610
add esp, 8
test eax, eax
je 0x4298fa
mov byte [edi + 0x1e], 1
jmp 0x4297c7
mov al, byte [ebx + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x4297c7
cmp al, 0x63
je 0x4298e5
cmp cl, 0x63
je 0x4298e5
mov esi, dword [esp + 0x14]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.00405450
add esp, 8
cmp byte [ebx + 0x18], 0x63
jne 0x4297c7
mov al, byte [ebp + 0x18]
mov byte [ebx + 0x18], al
jmp 0x4297c7
or dword [edi + 0xc], 0x10
cmp dword [esp + 0x2c], 0
je 0x429a3d
mov ecx, edi
mov edx, dword [ecx + 0x7c]
mov dword [ebp + 0x14], edx
jmp 0x429a3d
add dword [esi + 0x48], 1
mov edi, dword [esi + 0x48]
mov ebx, esi
call fcn.00437640
mov esi, eax
test esi, esi
je 0x4297c7
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push ebx
push 1
call fcn.0042a7e0
push 0
push edi
push ebx
push 0x21
call fcn.004159c0
add esp, 0x18
cmp dword [esp + 0xa0], 0
je 0x429997
mov edx, dword [esp + 0x50]
test edx, edx
je 0x429997
cmp dword [esp + 0x9c], 0
mov ecx, 0x4921b8
je 0x429972
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x38]
mov ebx, dword [eax]
mov edx, dword [edx]
sub edx, ebx
push ebx
mov ebx, dword [esp + 0x1c]
add edx, 1
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.004049a0
add esp, 0x10
mov ebx, eax
jmp 0x429999
xor ebx, ebx
cmp dword [esp + 0x24], 1
mov eax, str.sqlite_temp_master
je 0x4299aa
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp]
push ebx
push edi
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [edx + 8]
mov edx, dword [ecx + eax]
mov ecx, dword [esp + 0x28]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.00425d60
add esp, 0x1c
push ebx
call fcn.004032c0
add esp, 4
cmp dword [esp + 0x2c], 0
je 0x429a3d
push edi
mov edi, dword [esp + 0x18]
push ebp
push edi
call fcn.00428e00
mov eax, dword [esp + 0x30]
add esp, 0xc
push eax
call fcn.004277f0
mov ebx, dword [esp + 0x1c]
add esp, 4
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp]
push ecx
push str.name_q
call fcn.004049a0
mov edx, dword [esp + 0x34]
add esp, 0xc
push eax
push 0x1e
push esi
xor eax, eax
xor ecx, ecx
call fcn.00415a60
push 0
push 0
push 0
push 0xe
call fcn.004159c0
add esp, 0x20
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x80], 0
jne 0x429a55
cmp dword [esp + 0x2c], 0
jne 0x4297c7
mov ecx, dword [esp + 0x1c]
mov edx, 5
cmp dword [esp + 0x9c], edx
jne 0x429a9e
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x429a9e
cmp byte [eax + 0x18], dl
je 0x429a9e
cmp dword [eax + 0x20], 0
je 0x429a90
lea esp, [esp]
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x429a90
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x429a80
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x20], ebp
jmp 0x4297e0
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0x20], edx
mov dword [ecx + 0x10], ebp
jmp 0x4297e0