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

Disassembly:
sub esp, 0x68
mov eax, dword [0x469d0c]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x74]
mov edx, dword [esi + 0x40]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
jne 0x429071
mov dl, byte [eax + 0x1e]
test dl, dl
jne 0x429071
mov dl, byte [esi + 0xec]
test dl, dl
jne 0x429071
cmp ebp, ecx
push ebx
push edi
je 0x428ae0
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
push esi
call fcn.004266f0
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x24], edi
jl 0x42906f
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x50]
test al, al
jne 0x428a92
push ebp
push esi
call fcn.0043d450
add esp, 8
test ebx, ebx
je 0x428a92
test dword [ebx + 4], 0xfffffffe
jne 0x428a92
test eax, eax
je 0x428a92
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 0x4c]
cmp eax, dword [edx + 0x2c]
jne 0x428a92
mov edi, 1
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x20]
push ecx
push str.index
push edi
lea edx, [esp + 0x50]
push esi
push edx
call fcn.0043e530
add esp, 0x14
test eax, eax
je 0x428abd
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.0043e600
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push 0
push esi
call fcn.00426080
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x42906f
jmp 0x428b05
mov ebx, dword [esi + 0xd4]
cmp ebx, ecx
mov dword [esp + 0x18], ebx
je 0x42906f
mov ecx, dword [ebx + 0x4c]
push ecx
push eax
call fcn.00413f60
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x10]
mov ebp, dword [edx + 8]
lea eax, [edi + edi*2]
shl eax, 3
add ebp, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x40]
test eax, eax
mov dword [esp + 0x1c], ebp
jne 0x42906f
mov al, byte [ebx + 0x34]
test al, al
je 0x428b44
mov eax, dword [ebx]
push eax
push str.table__s_may_not_be_indexed
push esi
call fcn.00418130
add esp, 0xc
jmp 0x42906f
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x428b5b
push str.views_may_not_be_indexed
push esi
call fcn.00418130
jmp 0x42906c
mov al, byte [ebx + 0x39]
test al, al
je 0x428b72
push str.virtual_tables_may_not_be_indexed
push esi
call fcn.00418130
jmp 0x42906c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x428c4e
mov edx, dword [esp + 0x10]
mov ecx, eax
push ecx
push edx
call fcn.004265b0
push esi
mov dword [esp + 0x20], eax
call fcn.00413e60
add esp, 0xc
test eax, eax
jne 0x42906f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42906f
push eax
push esi
call fcn.00426750
add esp, 8
test eax, eax
jne 0x42906f
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x50]
test cl, cl
jne 0x428c09
push esi
call fcn.00413e60
add esp, 4
test eax, eax
jne 0x42906f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.00425fe0
add esp, 0xc
test eax, eax
je 0x428c09
mov eax, dword [esp + 0x14]
push eax
push str.there_is_already_a_table_named__s
push esi
call fcn.00418130
add esp, 0xc
jmp 0x42906f
mov ecx, dword [ebp]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.00426100
add esp, 0xc
test eax, eax
je 0x428cb3
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x42906f
mov ecx, dword [esp + 0x14]
push ecx
push str.index__s_already_exists
push esi
call fcn.00418130
add esp, 0xc
jmp 0x42906f
mov eax, dword [ebx + 0x10]
test eax, eax
mov ecx, 1
je 0x428c68
lea ebx, [ebx]
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x428c60
push ecx
push 0x45eb84
lea edx, [esp + 0x5c]
push edx
push 0x1e
call fcn.00410910
push 0
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x2c], 0
mov ecx, dword [ebx]
push ecx
lea edx, [esp + 0x30]
push str.sqlite_autoindex_
push edx
call fcn.00417f40
mov eax, dword [esp + 0x38]
add esp, 0x24
test eax, eax
jne 0x428cb3
mov eax, dword [esp + 0x10]
mov byte [eax + 0x1e], 1
jmp 0x42906f
cmp edi, 1
mov ebp, dword [ebp]
mov eax, str.sqlite_temp_master
je 0x428cc5
mov eax, str.sqlite_master
push ebp
push 0
push eax
push 0x12
push esi
call fcn.00434860
add esp, 0x14
test eax, eax
jne 0x42906f
mov eax, 1
cmp edi, eax
jne 0x428cea
mov eax, 3
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
push ebp
push ecx
push edx
push eax
push esi
call fcn.00434860
add esp, 0x14
test eax, eax
jne 0x42906f
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x428d6b
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0x14]
mov dword [esp + 0x3c], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428d24
sub eax, edx
lea edx, [eax + eax]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x3c]
push ecx
push 0
and eax, 1
or edx, eax
push 0
push esi
mov dword [esp + 0x50], edx
call fcn.0043a780
add esp, 0x10
test eax, eax
mov dword [esp + 0x8c], eax
je 0x42906f
mov edx, dword [eax + 0xc]
mov cl, byte [esp + 0x9c]
mov byte [edx + 8], cl
mov esi, dword [eax]
test esi, esi
jle 0x428da7
mov ebx, dword [eax + 0xc]
mov edi, dword [esp + 0x28]
mov ebp, esi
lea ebx, [ebx]
mov eax, dword [ebx]
test eax, eax
je 0x428d9d
mov edx, dword [eax + 4]
mov eax, dword [edx]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428d90
sub eax, edx
lea edi, [edi + eax + 1]
add ebx, 0xc
dec ebp
jne 0x428d80
mov dword [esp + 0x28], edi
mov ebx, dword [esp + 0x14]
lea ecx, [ebx + 1]
mov edi, edi
mov al, byte [ebx]
inc ebx
test al, al
jne 0x428db0
mov edi, dword [esp + 0x10]
mov eax, esi
imul eax, eax, 0xd
sub ebx, ecx
mov ecx, dword [esp + 0x28]
add eax, ebx
lea edx, [eax + ecx + 0x35]
push edx
push edi
call fcn.00418060
mov ebp, eax
mov al, byte [edi + 0x1e]
add esp, 8
test al, al
jne 0x429059
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
lea edi, [eax + esi]
mov dword [ebp], edi
mov esi, dword [esp + 0x14]
lea ecx, [ebx + 1]
mov edx, ecx
shr ecx, 2
lea eax, [edi + ebx + 1]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dl, byte [esp + 0x90]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov byte [ebp + 0x18], dl
mov edx, dword [esp + 0x10]
sete cl
mov byte [ebp + 0x19], cl
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + ecx + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x24], ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [eax]
xor ebx, ebx
mov bl, byte [ecx + 0x58]
mov ecx, dword [eax + 0xc]
cmp bl, 4
mov dword [esp + 0x30], ecx
sbb ebx, ebx
neg ebx
dec ebx
xor edi, edi
test edx, edx
jle 0x428f91
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x1c], edx
jle 0x428ecf
lea esp, [esp]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00418260
add esp, 8
test eax, eax
je 0x428ecf
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
inc esi
add ecx, 0x14
cmp esi, eax
mov dword [esp + 0x2c], ecx
jl 0x428ea0
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 4]
jge 0x4290a7
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x30]
mov dword [eax + edi*4], esi
mov eax, dword [edx]
test eax, eax
je 0x428f29
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push ecx
push 0x45b28c
push esi
push edx
call fcn.00410910
mov edx, esi
mov eax, edx
lea ecx, [eax + 1]
add esp, 0x10
mov dword [esp + 0x1c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428f14
sub eax, dword [esp + 0x1c]
lea edx, [edx + eax + 1]
mov dword [esp + 0x34], edx
jmp 0x428f40
mov ecx, dword [ecx + 8]
lea eax, [esi + esi*4]
mov esi, dword [ecx + eax*4 + 0xc]
test esi, esi
jne 0x428f40
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
mov esi, dword [eax]
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x50]
test al, al
jne 0x428f63
mov edx, dword [esp + 0x7c]
push 0xffffffffffffffff
push esi
push edx
call fcn.00426b30
add esp, 0xc
test eax, eax
je 0x429059
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [eax + edi*4], esi
mov dl, byte [ecx + 8]
mov eax, dword [ebp + 0x28]
and dl, bl
mov byte [edi + eax], dl
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
inc edi
add ecx, 0xc
cmp edi, eax
mov dword [esp + 0x30], ecx
jl 0x428e81
push ebp
call fcn.00427870
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xd4]
add esp, 4
cmp eax, ecx
jne 0x42901a
mov edi, dword [eax + 0x10]
test edi, edi
je 0x42901a
mov eax, dword [edi + 4]
cmp eax, dword [ebp + 4]
jne 0x429013
xor esi, esi
test eax, eax
jle 0x42900a
mov ebx, dword [edi + 8]
mov edx, dword [ebp + 8]
mov ebx, dword [ebx + esi*4]
cmp ebx, dword [edx + esi*4]
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [eax + esi*4]
mov ecx, dword [ecx + esi*4]
jne 0x429006
mov edx, dword [edi + 0x28]
mov ebx, dword [ebp + 0x28]
mov dl, byte [esi + edx]
cmp dl, byte [esi + ebx]
jne 0x429006
cmp eax, ecx
je 0x428ffe
push ecx
push eax
call fcn.00418260
add esp, 8
test eax, eax
jne 0x429006
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x428fc4
mov ebx, dword [esp + 0x7c]
cmp esi, dword [edi + 4]
je 0x4290c3
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x428fb6
mov esi, dword [esp + 0x10]
mov al, byte [esi + 0x50]
test al, al
je 0x42911e
mov edx, dword [ebp]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429031
mov ecx, dword [ebp + 0x24]
sub eax, edi
push ebp
inc eax
push eax
push edx
add ecx, 0x18
push ecx
call fcn.0041d490
add esp, 0x10
test eax, eax
je 0x4290fb
mov byte [esi + 0x1e], 1
test ebp, ebp
je 0x42906f
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.00410bf0
push ebp
call fcn.00410bf0
add esp, 8
pop edi
pop ebx
mov edx, dword [esp + 0x84]
push edx
call fcn.00439d90
mov eax, dword [esp + 0x84]
push eax
call fcn.00427a50
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00410bf0
mov ecx, dword [esp + 0x78]
add esp, 0xc
pop esi
pop ebp
call fcn.0044b588
add esp, 0x68
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x7c]
push eax
push ecx
push str.table__s_has_no_column_named__s
push edx
call fcn.00418130
add esp, 0x10
jmp 0x429059
mov al, byte [edi + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x429059
cmp al, 0x63
je 0x4290e6
cmp cl, 0x63
je 0x4290e6
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ebx
call fcn.00418130
add esp, 0xc
cmp byte [edi + 0x18], 0x63
jne 0x429059
mov al, byte [ebp + 0x18]
mov byte [edi + 0x18], al
jmp 0x429059
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x88]
or ecx, 0x10
test edi, edi
mov dword [esi + 0xc], ecx
je 0x42924b
mov edx, dword [esi + 0x4c]
mov dword [ebp + 0x14], edx
jmp 0x42924b
mov esi, dword [ebx + 0x48]
inc esi
push ebx
mov dword [ebx + 0x48], esi
call fcn.004370e0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x1c], edi
je 0x429059
mov eax, dword [esp + 0x24]
push eax
push 1
push ebx
call fcn.00427d80
mov ecx, dword [esp + 0x30]
push esi
push ecx
push 0x20
push edi
call fcn.00414b10
mov eax, dword [esp + 0xb0]
add esp, 0x1c
test eax, eax
je 0x4291a9
mov edx, dword [esp + 0x98]
test edx, edx
je 0x4291a9
mov eax, dword [esp + 0x90]
test eax, eax
mov ecx, 0x45b46f
je 0x429185
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, dword [edx]
push eax
sub edx, eax
mov eax, dword [esp + 0x14]
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
push eax
call fcn.00410850
add esp, 0x14
mov edi, eax
jmp 0x4291ab
xor edi, edi
cmp dword [esp + 0x24], 1
mov eax, str.sqlite_temp_master
je 0x4291bc
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp]
push edi
push esi
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [edx + 8]
mov edx, dword [ecx + eax]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push ebx
call fcn.00425f20
push edi
call fcn.00410bf0
mov edi, dword [esp + 0xac]
add esp, 0x24
test edi, edi
je 0x429247
push esi
mov eax, ebp
mov ecx, ebx
call fcn.00428800
mov esi, dword [esp + 0x28]
push esi
push ebx
call fcn.00426bc0
mov eax, dword [ebp]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0xffffffffffffffff
push eax
push str.name_q
push ecx
call fcn.00410850
add esp, 0xc
push eax
push 0
push 0
push esi
mov esi, dword [esp + 0x30]
push 0x1d
push esi
call fcn.00416ca0
push 0
push 0xd
push esi
call fcn.00414af0
add esp, 0x28
mov esi, dword [esp + 0x10]
mov al, byte [esi + 0x50]
test al, al
jne 0x42925a
test edi, edi
jne 0x429059
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp eax, edx
jne 0x4292a0
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4292a0
cmp byte [eax + 0x18], dl
je 0x4292a0
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x429292
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x429292
mov eax, ecx
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x429281
mov edx, dword [eax + 0x20]
mov dword [ebp + 0x20], edx
mov dword [eax + 0x20], ebp
jmp 0x42906f
mov eax, dword [ecx + 0x10]
mov dword [ebp + 0x20], eax
mov dword [ecx + 0x10], ebp
jmp 0x42906f