Function at 0x44fee7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
mov dword [ebp - 0x10], esi
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
jne 0x44ff0d
cmp dword [ebp + 0x10], 0
je 0x45028c
mov ebx, dword [esi + 0x1b0]
test ebx, ebx
je 0x45028c
cmp byte [edi + 0x99], 0
je 0x44ff35
mov eax, dword [edi + 0x94]
mov dword [ebx + 0x1c], eax
cmp eax, 1
jne 0x44ff35
or dword [ebx + 0x24], eax
test byte [ebp + 0xc], 0x20
je 0x44ff77
mov eax, dword [ebx + 0x24]
test al, 8
je 0x44ff54
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
push esi
call fcn.00425127
pop ecx
pop ecx
jmp 0x45028c
test al, 4
jne 0x44ff6a
push dword [ebx]
push str.PRIMARY_KEY_missing_on_table__s
push esi
call fcn.00425127
add esp, 0xc
jmp 0x44ff77
or eax, 0x60
mov edx, ebx
mov dword [ebx + 0x24], eax
call fcn.0044fbe6
mov edx, dword [ebx + 0x48]
mov ecx, edi
call fcn.0045c88a
cmp dword [ebx + 0x18], 0
mov dword [ebp - 0xc], eax
je 0x44ff9d
push dword [ebx + 0x18]
mov edx, ebx
mov ecx, esi
push 0
push 4
call fcn.004473db
add esp, 0xc
mov ecx, ebx
call fcn.0044fb29
mov eax, dword [ebx + 8]
test eax, eax
je 0x44ffbe
mov edi, eax
mov ecx, edi
call fcn.0044fb6a
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x44ffad
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0x99], 0
jne 0x45023e
mov ecx, esi
call fcn.0045eb3f
mov dword [ebp - 8], eax
test eax, eax
je 0x45028c
push 0
push 0x70
pop edx
mov ecx, eax
call fcn.00439d7e
cmp dword [ebx + 0xc], 0
pop ecx
jne 0x450000
mov dword [ebp - 0x20], str.table
mov dword [ebp - 0x1c], str.TABLE
jmp 0x45000e
mov dword [ebp - 0x20], str.view
mov dword [ebp - 0x1c], str.VIEW
cmp dword [ebp + 0x10], 0
je 0x450172
inc dword [esi + 0x2c]
mov ecx, esi
mov edi, dword [esi + 0x2c]
lea eax, [edi + 1]
mov dword [ebp - 0x1c], eax
inc eax
mov dword [ebp - 0x18], eax
mov dword [esi + 0x2c], eax
call fcn.004523a3
push dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push dword [esi + 0x64]
push 1
push 0x69
pop edx
call fcn.00439d0e
mov ecx, dword [ebp - 8]
add esp, 0xc
push 0x10
pop edx
call fcn.0043a22b
mov dword [esi + 0x28], 2
call fcn.0043a10e
lea esi, [eax + 1]
push esi
push 0
push edi
push 0xf
pop edx
call fcn.00439d0e
add esp, 0xc
lea ecx, [ebp - 0x3c]
push edi
push 0xd
pop edx
call fcn.0045cf3f
mov edx, dword [ebp + 0x10]
add esp, 4
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0046197b
pop ecx
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.00439f41
lea edx, [esi - 1]
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.0043a243
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x24], 0
jne 0x45028c
mov edx, dword [ebp + 0x10]
mov ecx, eax
call fcn.0045ea5b
test eax, eax
je 0x45028c
mov cx, word [eax + 0x2a]
mov edx, eax
mov edi, dword [ebp - 0x14]
mov word [ebx + 0x2a], cx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
xor ecx, ecx
and dword [eax + 4], ecx
mov word [eax + 0x2a], cx
mov ecx, edi
call fcn.0044ec69
push dword [ebp - 0x38]
mov ecx, esi
push 0x10
pop edx
call fcn.00439d7e
pop ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov esi, eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x63
pop edx
call fcn.00439d0e
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, ebx
push 0
call fcn.00456eef
pop ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
push 1
push 0x73
pop edx
call fcn.00439d92
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x1c]
push 1
push 0x74
pop edx
call fcn.00439d0e
mov ecx, dword [ebp - 8]
add esp, 0x14
mov edx, esi
call fcn.00439da7
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.0043a243
mov ecx, dword [ebp - 8]
push 1
push 0x70
pop edx
call fcn.00439d7e
pop ecx
mov edx, ebx
mov ecx, edi
call fcn.0044f926
mov esi, dword [ebp - 0x10]
jmp 0x4501ac
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x184]
mov edx, dword [ebp + 8]
cmovne edx, eax
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [esi + 0x17c]
cmp byte [eax], 0x3b
je 0x450194
add ecx, dword [edx + 4]
push dword [esi + 0x17c]
push ecx
push dword [ebp - 0x1c]
push str.CREATE__s__.s
push edi
call fcn.004245bd
add esp, 0x14
push dword [esi + 0x60]
mov ecx, dword [ebp - 0xc]
push eax
push dword [esi + 0x64]
mov dword [ebp - 0x1c], eax
push dword [ebx]
mov eax, dword [edi + 0x10]
push dword [ebx]
shl ecx, 4
push dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
push str.sqlite_master
push dword [ecx + eax]
push str.UPDATE__Q._s_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push esi
call fcn.0044e6be
mov edx, dword [ebp - 0x1c]
add esp, 0x28
mov ecx, edi
call fcn.00423004
mov edx, dword [ebp - 0xc]
mov ecx, esi
call fcn.0044f84c
test byte [ebx + 0x24], 8
je 0x450218
mov ecx, dword [edi + 0x10]
add ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x450218
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push esi
call fcn.0044e6be
add esp, 0xc
push dword [ebx]
push str.tbl_name_q_AND_type_trigger
push edi
call fcn.004245bd
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp - 8]
push eax
call fcn.00439ed3
cmp byte [edi + 0x99], 0
pop ecx
je 0x45028c
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx]
push ebx
lea ecx, [ecx + 8]
call fcn.004265a7
pop ecx
test eax, eax
je 0x45025a
mov ecx, edi
call fcn.00423432
jmp 0x45028c
xor edx, edx
mov dword [esi + 0x1b0], edx
or dword [edi + 0x18], 0x800000
cmp dword [ebx + 0xc], edx
jne 0x45028c
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x17c]
cmp dword [eax], edx
cmove eax, dword [ebp + 8]
mov edx, dword [eax]
sub edx, ecx
call fcn.00424f22
add eax, 0xd
mov dword [ebx + 0x34], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret