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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x64], edx
xor edx, edx
push edi
mov edi, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x3c], edx
cmp dword [eax + 0x18], edx
jne 0x440f95
cmp dword [0x4f0384], edx
je 0x440a38
cmp dword [0x4f0390], edx
jg 0x440f95
test ecx, ecx
je 0x440adb
lea edx, [ebp - 0x48]
mov ecx, ebx
mov edi, eax
call fcn.0043e730
mov edi, eax
mov dword [ebp - 0x40], edi
test edi, edi
js 0x440f95
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.0045cdc0
add esp, 8
test ebx, ebx
je 0x440a90
test dword [ebx + 4], 0xfffffffe
jne 0x440a90
test eax, eax
je 0x440a90
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0x3c]
cmp edx, dword [ecx + 0x2c]
jne 0x440a90
mov edi, 1
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x28]
push eax
push str.index
mov ecx, edi
lea eax, [ebp - 0x74]
call fcn.00450e00
mov ebx, dword [ebp - 0x44]
add esp, 8
test eax, eax
je 0x440abd
lea ecx, [ebp - 0x74]
push ebx
push ecx
call fcn.00450e40
add esp, 8
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.0043d690
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x440f95
jmp 0x440b02
mov ecx, eax
mov eax, dword [ecx + 0xa4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x440f95
mov edx, eax
mov esi, dword [edx + 0x3c]
mov ecx, edi
call fcn.0042c380
mov esi, dword [ebp - 0x28]
mov edi, eax
mov dword [ebp - 0x40], edi
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 4]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
add ecx, eax
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x38], ecx
jne 0x440f95
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0x1c], 0
je 0x440b45
mov edx, dword [esi]
mov eax, dword [ebp - 0x28]
push edx
push str.table__s_may_not_be_indexed
push eax
call fcn.0042da10
add esp, 0xc
jmp 0x440f95
cmp dword [esi + 0x18], 0
je 0x440b61
mov ecx, dword [ebp - 0x28]
push str.views_may_not_be_indexed
push ecx
call fcn.0042da10
add esp, 8
jmp 0x440f95
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x440c22
call fcn.0043e550
mov edx, dword [ebp - 0x28]
push edx
mov dword [ebp - 0x34], eax
call fcn.0042c180
add esp, 4
test eax, eax
jne 0x440f95
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x440f95
mov esi, dword [ebp - 0x28]
call fcn.0043e770
test eax, eax
jne 0x440f95
mov edi, dword [ebp - 0x30]
cmp byte [edi + 0x44], al
jne 0x440c78
push esi
call fcn.0042c180
add esp, 4
test eax, eax
jne 0x440f95
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push ecx
push edx
push edi
call fcn.0043d710
add esp, 0xc
test eax, eax
je 0x440bf8
cmp dword [ebp + 0x24], 0
jne 0x440f95
mov eax, dword [ebp - 0x34]
push eax
push str.index__s_already_exists
push esi
call fcn.0042da10
add esp, 0xc
jmp 0x440f95
mov ecx, dword [ebp - 0x34]
push 0
push ecx
push edi
call fcn.0043d590
add esp, 0xc
test eax, eax
je 0x440c78
mov edx, dword [ebp - 0x34]
push edx
push str.there_is_already_a_table_named__s
push esi
call fcn.0042da10
add esp, 0xc
jmp 0x440f95
mov eax, dword [esi + 0x10]
mov ecx, 1
test eax, eax
je 0x440c38
mov edi, edi
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x440c30
push ecx
lea eax, [ebp - 0x24]
push 0x4d6c04
push eax
call fcn.0049d2b1
add esp, 0xc
push 0
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x34], 0
mov edx, dword [esi]
push edx
lea eax, [ebp - 0x34]
push str.sqlite_autoindex_
push eax
call fcn.0042d820
add esp, 0x14
cmp dword [ebp - 0x34], 0
je 0x440f95
mov esi, dword [ebp - 0x28]
cmp dword [ebp - 0x40], 1
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x440c8d
mov eax, str.sqlite_master
push ebx
push 0
push eax
push 0x12
mov edi, esi
call fcn.0045cd30
add esp, 0x10
test eax, eax
jne 0x440f95
mov eax, 1
cmp dword [ebp - 0x40], eax
jne 0x440cb4
mov eax, 3
mov ecx, dword [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebx]
push edx
push ecx
push eax
mov edi, esi
call fcn.0045cd30
add esp, 0x10
test eax, eax
jne 0x440f95
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x440d2a
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4 - 0x14]
mov dword [ebp - 0x58], eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440cf0
sub eax, edx
mov edx, dword [ebp - 0x54]
lea ecx, [eax + eax]
and edx, 1
or ecx, edx
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], ecx
call fcn.0045a210
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x440f95
mov ecx, dword [eax + 0xc]
mov dl, byte [ebp + 0x20]
mov byte [ecx + 8], dl
mov esi, dword [eax]
test esi, esi
jle 0x440d5c
mov edi, dword [eax + 0xc]
mov ebx, esi
mov eax, dword [edi]
test eax, eax
je 0x440d56
mov eax, dword [eax + 4]
mov eax, dword [eax]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440d43
mov ecx, dword [ebp - 0x3c]
sub eax, edx
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x3c], edx
add edi, 0xc
dec ebx
jne 0x440d35
mov eax, dword [ebp - 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440d62
mov ecx, dword [ebp - 0x3c]
sub eax, edx
mov edi, eax
mov eax, esi
imul eax, eax, 0xd
add eax, edi
lea edx, [eax + ecx + 0x35]
push 1
push edx
call fcn.0042d680
add esp, 8
mov ebx, eax
call fcn.0042e5a0
test eax, eax
jne 0x440f78
lea eax, [ebx + 0x30]
mov dword [ebx + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [ebx + 8], eax
lea eax, [eax + esi*4]
mov dword [ebx + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebx + 0x28], eax
add eax, esi
lea ecx, [eax + edi + 1]
mov dword [ebx], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov edi, edi
mov al, byte [ecx]
mov byte [esi], al
inc ecx
inc esi
test al, al
jne 0x440dc0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x48], 0
mov dword [ebx + 0x10], edx
mov ecx, dword [eax]
mov dl, byte [ebp + 0x14]
mov dword [ebx + 4], ecx
mov byte [ebx + 0x18], dl
mov edx, dword [ebp - 0x30]
sete cl
mov byte [ebx + 0x19], cl
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + ecx + 0x14]
mov edx, dword [ebp - 0x38]
mov dword [ebx + 0x24], ecx
mov ecx, dword [edx + 0x14]
cmp byte [ecx + 0x78], 4
mov edx, dword [eax + 0xc]
sbb ecx, ecx
neg ecx
dec ecx
cmp dword [eax], 0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], edx
jle 0x440efe
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 8]
xor esi, esi
mov dword [ebp - 0x50], ecx
cmp dword [eax + 4], esi
jle 0x440e50
mov edx, dword [edi]
mov ecx, dword [ebp - 0x50]
call fcn.0042db20
test eax, eax
je 0x440e50
mov edx, dword [ebp - 0x2c]
inc esi
add edi, 0x14
cmp esi, dword [edx + 4]
jl 0x440e36
mov ecx, dword [ebp - 0x2c]
cmp esi, dword [ecx + 4]
jge 0x440f5d
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x38]
mov dword [eax + edx*4], esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x440e99
mov edi, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov esi, edi
mov al, byte [ecx]
mov byte [esi], al
inc ecx
inc esi
test al, al
jne 0x440e78
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440e87
sub eax, edx
lea edx, [edi + eax + 1]
mov dword [ebp - 0x5c], edx
jmp 0x440eaf
mov ecx, dword [ecx + 8]
lea eax, [esi + esi*4]
mov edi, dword [ecx + eax*4 + 0xc]
test edi, edi
jne 0x440eaf
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
mov edi, dword [eax]
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x44], 0
jne 0x440ed1
mov edx, dword [ebp - 0x28]
push edx
or eax, 0xffffffff
mov ecx, edi
call fcn.0043f130
add esp, 4
test eax, eax
je 0x440f78
mov esi, dword [ebp - 0x38]
mov eax, dword [ebx + 0x2c]
mov dword [eax + esi*4], edi
mov edi, dword [ebp - 0x3c]
mov cl, byte [edi + 8]
and cl, byte [ebp - 0x54]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp - 0x4c]
mov byte [esi + edx], cl
inc esi
add edi, 0xc
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
cmp esi, dword [eax]
jl 0x440e20
mov edx, ebx
call fcn.004412c0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0xa4]
jne 0x441022
mov ecx, eax
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x441022
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 4]
jne 0x441017
xor edx, edx
mov dword [ebp - 0x38], edx
test eax, eax
jle 0x441012
mov esi, dword [ebx + 0x2c]
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebx + 8]
sub eax, esi
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 8]
sub eax, esi
sub ecx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jmp 0x440fd6
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
push str.table__s_has_no_column_named__s
push ecx
call fcn.0042da10
add esp, 0x10
test ebx, ebx
je 0x440f95
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x440f8c
push eax
call fcn.0049cbfd
add esp, 4
push ebx
call fcn.0049cbfd
add esp, 4
mov ebx, dword [ebp - 0x4c]
call fcn.0045a350
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00441920
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x440fb9
push eax
call fcn.0049cbfd
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ca6b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi]
cmp eax, dword [ecx + esi]
jne 0x441012
mov ecx, dword [edi + 0x28]
mov eax, dword [ebx + 0x28]
mov cl, byte [edx + ecx]
cmp cl, byte [edx + eax]
jne 0x441012
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + esi]
mov eax, dword [esi]
cmp ecx, eax
je 0x441006
mov edx, eax
call fcn.0042db20
mov edx, dword [ebp - 0x38]
test eax, eax
jne 0x441012
inc edx
add esi, 4
mov dword [ebp - 0x38], edx
cmp edx, dword [edi + 4]
jl 0x440fd0
cmp edx, dword [edi + 4]
je 0x441076
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x440f24
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x44], 0
je 0x4410b5
mov edx, dword [ebx]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441036
mov ecx, dword [ebx + 0x24]
sub eax, esi
push ebx
inc eax
push edx
add ecx, 0x20
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x440f78
mov eax, dword [ebp - 0x30]
or dword [eax + 8], 0x10
cmp dword [ebp - 0x44], 0
je 0x4411f1
mov ecx, eax
mov edx, dword [ecx + 0x40]
mov dword [ebx + 0x14], edx
jmp 0x4411f1
mov al, byte [edi + 0x18]
mov cl, byte [ebx + 0x18]
cmp al, cl
je 0x440f78
cmp al, 0x63
je 0x4410a0
cmp cl, 0x63
je 0x4410a0
mov ecx, dword [ebp - 0x28]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ecx
call fcn.0042da10
add esp, 0xc
cmp byte [edi + 0x18], 0x63
jne 0x440f78
mov dl, byte [ebx + 0x18]
mov byte [edi + 0x18], dl
jmp 0x440f78
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + 0x20]
lea eax, [edi + 1]
mov dword [ebp - 0x54], edi
mov dword [esi + 0x20], eax
call fcn.00456a60
mov esi, eax
test esi, esi
je 0x440f78
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
push 1
call fcn.00441e90
mov ecx, dword [ebp - 0x40]
add esp, 4
push 0
push ecx
push 0x2c
mov eax, esi
call fcn.00439cf0
add esp, 0xc
push 0
push edi
push 0x6c
mov eax, esi
call fcn.00439cf0
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x44113f
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x44113f
cmp dword [ebp + 0x14], 0
mov ecx, 0x4cdc18
je 0x441121
mov ecx, str._UNIQUE
mov eax, dword [ebp - 0x48]
mov edi, dword [eax]
mov edx, dword [edx]
sub edx, edi
push edi
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.00446740
add esp, 0x10
mov edi, eax
jmp 0x441141
xor edi, edi
cmp dword [ebp - 0x40], 1
mov eax, str.sqlite_temp_master
je 0x441151
mov eax, str.sqlite_master
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebx]
push edi
push edx
mov edx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x60]
push eax
mov eax, dword [edx + 4]
mov edx, dword [ecx + eax]
mov eax, dword [ebp - 0x28]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
push eax
call fcn.0043d4e0
add esp, 0x1c
push 0
push 1
push 0x1a
mov eax, esi
call fcn.00439cf0
add esp, 0xc
test edi, edi
je 0x441197
push edi
call fcn.0049cbfd
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x4411f1
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x28]
push ecx
push ebx
push edx
call fcn.00440670
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
add esp, 0xc
push edi
mov eax, esi
call fcn.0043f1d0
mov eax, dword [ebx]
add esp, 4
push 0xffffffffffffffff
push ecx
push eax
push str.name_q
call fcn.00446740
add esp, 0xc
push eax
xor eax, eax
mov ecx, edi
lea edx, [eax + 0x76]
mov edi, esi
call fcn.00439d60
push 0
push 0
push 0x12
mov eax, esi
call fcn.00439cf0
add esp, 0x14
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x44], 0
jne 0x441204
cmp dword [ebp - 0x44], 0
jne 0x440f78
mov ecx, dword [ebp - 0x2c]
mov edx, 5
cmp dword [ebp + 0x14], edx
jne 0x441241
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x441241
cmp byte [eax + 0x18], dl
je 0x441241
cmp dword [eax + 0x20], 0
je 0x441233
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x441233
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x441223
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov dword [eax + 0x20], ebx
jmp 0x440f95
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x20], eax
mov dword [ecx + 0x10], ebx
jmp 0x440f95