Function at 0x43715b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
and dword [ebp - 8], 0
xor eax, eax
and dword [ebp - 0x1c], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x2c], eax
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], esi
mov edi, dword [esi]
cmp dword [esi + 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], edi
jne 0x43728d
cmp byte [edi + 0x1e], 0
jne 0x43728d
cmp byte [esi + 0x198], 0
jne 0x43728d
test eax, eax
je 0x437248
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043567b
mov ebx, eax
mov dword [ebp - 0xc], ebx
pop ecx
pop ecx
test ebx, ebx
js 0x43728d
lfence
cmp byte [edi + 0x80], 0
jne 0x4371fd
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.00438976
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4371fd
cmp dword [ecx + 4], 2
jae 0x4371fd
test eax, eax
je 0x4371fd
mov ecx, dword [edi + 8]
mov eax, dword [eax + 0x50]
push 1
cmp eax, dword [ecx + 0x2c]
pop eax
cmove ebx, eax
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
push eax
push str.index
push ebx
mov edx, esi
mov dword [ebp - 0x2c], eax
call fcn.004348b1
add esp, 0xc
test eax, eax
je 0x437226
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
call fcn.004348ea
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, esi
push dword [eax + 8]
push dword [eax + 0xc]
call fcn.004350f7
mov ebx, eax
mov dword [ebp - 0x10], eax
pop ecx
pop ecx
test ebx, ebx
je 0x43728d
mov eax, dword [ebp - 0xc]
jmp 0x437262
mov ebx, dword [esi + 0x180]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x43728d
mov edx, dword [ebx + 0x50]
mov ecx, edi
call fcn.0043f14c
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x40]
imul edx, eax, 0x18
mov eax, dword [edi + 8]
add eax, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], eax
test ecx, ecx
jne 0x43728d
cmp byte [ebx + 0x38], cl
je 0x437295
push dword [ebx + 4]
push str.table__s_may_not_be_indexed
push esi
call fcn.0041bdbd
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x437668
cmp dword [ebx + 0x1c], 0
je 0x4372aa
push str.views_may_not_be_indexed
push esi
call fcn.0041bdbd
pop ecx
pop ecx
jmp 0x43728d
cmp byte [ebx + 0x3d], 0
je 0x4372b7
push str.virtual_tables_may_not_be_indexed
jmp 0x4372a0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x437348
mov edx, eax
mov ecx, edi
call fcn.00435595
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.0043f04b
test eax, eax
jne 0x43728d
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43728d
mov edx, ecx
mov ecx, esi
call fcn.004356d0
test eax, eax
jne 0x43728d
cmp byte [edi + 0x80], al
jne 0x43731d
mov ecx, esi
call fcn.0043f04b
test eax, eax
jne 0x43728d
mov edx, dword [ebp - 8]
mov ecx, edi
push eax
call fcn.0043507b
pop ecx
test eax, eax
je 0x43731d
push dword [ebp - 8]
push str.there_is_already_a_table_named__s
jmp 0x437284
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov edx, dword [ebp - 8]
push dword [eax]
call fcn.00435169
pop ecx
test eax, eax
je 0x437377
cmp dword [ebp + 0x24], 0
jne 0x43728d
push dword [ebp - 8]
push str.index__s_already_exists
jmp 0x437284
mov eax, dword [ebx + 0x14]
xor ecx, ecx
inc ecx
jmp 0x437354
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x437350
push ecx
push dword [ebx + 4]
push str.sqlite_autoindex__s__d
push edi
call fcn.0041b42f
mov ecx, eax
add esp, 0x10
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x43728d
mov eax, dword [ebp - 0x24]
mov edx, str.sqlite_temp_master
cmp dword [ebp - 0xc], 1
mov ecx, str.sqlite_master
cmove ecx, edx
mov eax, dword [eax]
push eax
push 0
push ecx
mov dword [ebp - 0x54], ecx
mov ecx, esi
push 0x12
pop edx
mov dword [ebp - 0x40], eax
call fcn.00434c3e
add esp, 0xc
test eax, eax
jne 0x43728d
push dword [ebp - 0x40]
inc eax
mov ecx, esi
push dword [ebx + 4]
cmp dword [ebp - 0xc], eax
push dword [ebp - 8]
push 3
pop edx
cmovne edx, eax
call fcn.00434c3e
add esp, 0xc
test eax, eax
jne 0x43728d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x437424
imul ecx, dword [ebx + 8], 0x14
mov eax, dword [ebx + 0xc]
mov eax, dword [ecx + eax - 0x14]
push eax
mov dword [ebp - 0x48], eax
call fcn.00457a20
pop ecx
mov ecx, dword [ebp - 0x44]
xor edx, edx
inc edx
add eax, eax
and ecx, edx
xor edx, edx
or eax, ecx
mov ecx, esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0
call fcn.004303ff
mov dword [ebp - 0x14], eax
pop ecx
pop ecx
test eax, eax
je 0x437668
mov edx, dword [eax + 0xc]
mov cl, byte [ebp + 0x20]
mov byte [edx + 8], cl
xor ecx, ecx
mov dword [ebp - 0x34], ecx
cmp dword [eax], ecx
jle 0x437461
mov esi, dword [ebp - 0x14]
xor ebx, ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 0xc]
mov eax, dword [ebx + eax]
test eax, eax
je 0x437450
mov eax, dword [eax + 4]
push dword [eax]
call fcn.00457a20
pop ecx
mov ecx, dword [ebp - 0x34]
inc edi
add edi, eax
inc ecx
add ebx, 0xc
mov dword [ebp - 0x34], ecx
cmp ecx, dword [esi]
jl 0x437435
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x38]
push dword [ebp - 8]
call fcn.00457a20
mov edx, eax
mov eax, dword [ebp - 0x14]
pop ecx
mov dword [ebp - 0x38], edx
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
imul ecx, ecx, 0xd
add ecx, edx
mov edx, dword [ebp - 0x1c]
add edx, 0x35
add edx, ecx
mov ecx, edi
call fcn.0041a250
cmp byte [edi + 0x1e], 0
mov ebx, eax
jne 0x43765a
mov edx, dword [ebp - 0x40]
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x2c], ecx
lea ecx, [ecx + edx*4]
lea eax, [ecx + edx*4]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
lea eax, [eax + edx*4]
add eax, 4
mov dword [ebx + 0x28], eax
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x38]
mov dword [ebx], ecx
lea edx, [eax + 1]
add edx, ecx
inc eax
push eax
push dword [ebp - 8]
mov dword [ebp - 0x20], edx
push ecx
call fcn.0044fb10
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], 0
mov esi, dword [ebp - 0x3c]
mov dword [ebx + 0x10], ecx
mov eax, dword [edx]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x14]
mov byte [ebx + 0x18], al
mov dword [ebp - 0x40], eax
sete al
and dword [ebp - 0x34], 0
mov byte [ebx + 0x19], al
mov eax, dword [edi + 8]
mov eax, dword [esi + eax + 0x14]
mov esi, dword [ebp - 0x28]
mov dword [ebx + 0x24], eax
cmp dword [edx], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mov al, byte [eax + 0x58]
mov byte [ebp - 1], al
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
jg 0x437540
mov ecx, ebx
call fcn.004379c5
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x180]
jne 0x437785
mov ecx, dword [eax + 0x14]
jmp 0x43777a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
xor edx, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
test eax, eax
jle 0x437584
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
call fcn.0041be74
mov edx, dword [ebp - 0x30]
test eax, eax
je 0x43758d
mov eax, dword [ebp - 0x44]
inc edx
add dword [ebp - 0x24], 0x14
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], eax
cmp edx, eax
jl 0x437558
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x38]
jge 0x437643
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x34]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x4375d2
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
push dword [eax]
push 0x632a68
push edx
push dword [ebp - 0x1c]
call fcn.0041b4f6
mov edx, dword [ebp - 0x20]
push edx
call fcn.00457a20
mov ecx, dword [ebp - 0x20]
add esp, 0x14
inc ecx
add ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
jmp 0x4375f1
mov eax, dword [ebp - 0x10]
imul ecx, edx, 0x14
lfence
mov eax, dword [eax + 0xc]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4375f1
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp byte [edi + 0x80], 0
jne 0x437609
push ecx
mov edx, eax
mov ecx, esi
call fcn.00435f73
pop ecx
test eax, eax
je 0x43765a
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp - 0x24]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 8]
xor eax, eax
cmp byte [ebp - 1], 4
cmovb ecx, eax
mov eax, dword [ebx + 0x28]
add dword [ebp - 0x18], 0xc
mov byte [edx + eax], cl
inc edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], edx
cmp edx, dword [eax]
jl 0x43753d
jmp 0x43751f
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
push dword [ecx + 4]
push str.table__s_has_no_column_named__s
push esi
call fcn.0041bdbd
add esp, 0x10
test ebx, ebx
je 0x437665
mov ecx, ebx
call fcn.004351f0
mov eax, dword [ebp - 0x14]
mov edx, eax
mov ecx, edi
call fcn.004304bd
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.00437e12
push dword [ebp - 8]
push edi
call fcn.0041a0e3
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebx + 4]
jne 0x437777
xor eax, eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
test edx, edx
jle 0x43772b
mov edx, dword [ecx + 8]
mov eax, dword [ebx + 8]
sub eax, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x2c]
sub eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x2c]
sub eax, edx
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x44]
mov eax, dword [edx]
cmp eax, dword [esi + edx]
mov esi, dword [ebp - 0x28]
jne 0x437777
mov esi, dword [ebp - 0x34]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ebx + 0x28]
mov al, byte [esi + eax]
cmp al, byte [esi + ecx]
mov esi, dword [ebp - 0x28]
jne 0x437774
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx]
cmp eax, ecx
je 0x437711
mov edx, ecx
mov ecx, eax
call fcn.0041be74
test eax, eax
jne 0x437774
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add edx, 4
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x30], ecx
cmp eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
jl 0x4376c8
cmp eax, dword [ebp - 0x30]
jne 0x437777
mov al, byte [ecx + 0x18]
mov dl, byte [ebx + 0x18]
cmp al, dl
je 0x43765a
cmp al, 0x63
je 0x437769
cmp dl, 0x63
je 0x43765a
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push esi
call fcn.0041bdbd
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov al, byte [ecx + 0x18]
cmp al, 0x63
jne 0x43765a
mov al, byte [ebx + 0x18]
mov byte [ecx + 0x18], al
jmp 0x43765a
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
jne 0x43768b
cmp byte [edi + 0x80], 0
je 0x4377d1
push ebx
push dword [ebx]
call fcn.00457a20
mov edx, dword [ebx]
inc eax
pop ecx
mov ecx, dword [ebx + 0x24]
push eax
add ecx, 0x18
call fcn.0041cb2b
pop ecx
pop ecx
test eax, eax
je 0x4377b7
xor eax, eax
inc eax
mov byte [edi + 0x1e], al
jmp 0x43765a
or dword [edi + 0xc], 0x10
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4378d5
mov eax, dword [edi + 0x7c]
mov dword [ebx + 0x14], eax
jmp 0x4378d2
inc dword [esi + 0x48]
mov ecx, esi
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x34], eax
call fcn.0044149c
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43765a
push dword [ebp - 0xc]
xor eax, eax
mov ecx, esi
lea edx, [eax + 1]
call fcn.0043817a
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0xc]
push 0x22
pop edx
call fcn.004289ac
cmp dword [ebp + 0x18], 0
pop ecx
pop ecx
je 0x437849
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x437849
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
sub eax, dword [ecx]
push dword [ecx]
inc eax
mov ecx, str._UNIQUE
cmp dword [ebp - 0x40], 0
push eax
mov eax, 0x633180
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push edi
call fcn.0041b42f
add esp, 0x14
jmp 0x43784b
xor eax, eax
mov ecx, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
mov eax, dword [edi + 8]
push dword [ebx]
push dword [ebp - 0x54]
push dword [ecx + eax]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push esi
call fcn.00434fdc
push dword [ebp - 0x38]
push edi
call fcn.0041a0e3
mov eax, dword [ebp + 0xc]
add esp, 0x28
test eax, eax
je 0x4378d5
push dword [ebp - 0x34]
mov edx, ebx
mov ecx, esi
call fcn.00436f7e
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, esi
call fcn.00435fe5
push 0xffffffffffffffff
push ecx
push dword [ebx]
push str.name_q
push edi
call fcn.0041b42f
mov ecx, dword [ebp - 0x30]
add esp, 0x10
push eax
push 0
push 0
push dword [ebp - 0xc]
push 0x1f
pop edx
call fcn.004289c1
mov ecx, dword [ebp - 0x30]
add esp, 0x14
push 0
push 0xe
pop edx
call fcn.00428998
pop ecx
mov eax, dword [ebp + 0xc]
cmp byte [edi + 0x80], 0
jne 0x4378e6
test eax, eax
jne 0x43765a
cmp dword [ebp - 0x40], 5
mov ecx, dword [ebp - 0x10]
jne 0x4378fc
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x4378fc
cmp byte [edx + 0x18], 5
jne 0x437912
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x20], eax
mov dword [ecx + 0x14], ebx
jmp 0x437665
cmp byte [eax + 0x18], 5
je 0x437919
mov edx, eax
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x43790a
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x20], eax
mov dword [edx + 0x20], ebx
jmp 0x437665