Function at 0x572281
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, eax
mov eax, dword [ebx]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x10]
mov ecx, edi
mov eax, ebx
call fcn.0054c544
mov dword [ebp - 8], eax
test eax, eax
jl 0x5725d0
cmp dword [ebp + 0xc], 0
je 0x5722d6
cmp dword [edi + 4], 0
jbe 0x5722cf
cmp eax, 1
je 0x5722cf
push str.temporary_table_name_must_be_unqualified
mov edi, ebx
call fcn.005484b6
jmp 0x57242b
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edi, dword [ebp - 4]
mov dword [ebx + 0x1ec], ecx
mov ecx, dword [eax + 4]
mov dword [ebx + 0x1f0], ecx
mov ecx, edi
call fcn.0054c4fa
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5725d0
push eax
mov eax, ebx
call fcn.0054c590
pop ecx
test eax, eax
jne 0x57241f
inc eax
cmp dword [edi + 0x74], eax
jne 0x572319
mov dword [ebp + 0xc], eax
mov esi, dword [ebp - 8]
mov eax, dword [edi + 8]
shl esi, 4
cmp dword [ebp + 0xc], 1
mov edi, dword [esi + eax]
mov eax, str.sqlite_temp_master
je 0x572335
mov eax, str.sqlite_master
push edi
push 0
push eax
push 0x12
mov eax, ebx
call fcn.0054c27a
add esp, 0x10
test eax, eax
jne 0x57241f
xor ecx, ecx
cmp dword [ebp + 0x10], eax
je 0x572360
cmp dword [ebp + 0xc], eax
sete cl
lea ecx, [ecx + ecx + 6]
jmp 0x57236a
cmp dword [ebp + 0xc], eax
setne cl
lea ecx, [ecx + ecx + 2]
cmp dword [ebp + 0x14], eax
jne 0x572387
push edi
push eax
push dword [ebp - 0xc]
mov eax, ebx
push ecx
call fcn.0054c27a
add esp, 0x10
test eax, eax
jne 0x57241f
cmp byte [ebx + 0x214], 0
jne 0x5723fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [esi + eax]
mov edi, ebx
mov dword [ebp - 0x14], eax
call fcn.00571cfe
test eax, eax
jne 0x57241f
push dword [ebp - 0x14]
mov edi, dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.00544fd9
pop ecx
pop ecx
test eax, eax
je 0x5723d7
cmp dword [ebp + 0x18], 0
jne 0x5723cb
push dword [ebp - 0x10]
push str.table__T_already_exists
jmp 0x5723f2
mov esi, dword [ebp - 8]
mov eax, ebx
call fcn.00564d6f
jmp 0x57241f
push dword [ebp - 0x14]
mov edx, edi
push dword [ebp - 0xc]
call fcn.00545050
pop ecx
pop ecx
test eax, eax
je 0x5723fd
push dword [ebp - 0xc]
push str.there_is_already_an_index_named__s
mov edi, ebx
call fcn.005484b6
pop ecx
pop ecx
jmp 0x57241f
mov eax, dword [ebp - 4]
push 0x4c
call fcn.0054e57d
mov edi, eax
pop ecx
test edi, edi
jne 0x572431
mov eax, dword [ebp - 4]
mov byte [eax + 0x1e], 1
inc dword [ebx + 0x40]
mov dword [ebx + 4], 7
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.0053f8d4
pop ecx
pop ecx
jmp 0x5725d0
or dword [edi + 4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [edi], eax
mov ecx, dword [ecx + 8]
mov ecx, dword [esi + ecx + 0xc]
mov dword [edi + 0x44], ecx
xor ecx, ecx
inc ecx
mov word [edi + 0x20], cx
mov dword [edi + 0x18], 0xf4240
cmp byte [ebx + 0x13], 0
mov dword [ebx + 0x200], edi
jne 0x572478
push str.sqlite_sequence
push eax
call fcn.00586820
pop ecx
pop ecx
test eax, eax
jne 0x572478
mov eax, dword [edi + 0x44]
mov dword [eax + 0x48], edi
mov eax, dword [ebp - 4]
cmp byte [eax + 0x7c], 0
jne 0x5725d0
mov edi, ebx
call fcn.00550c2e
mov esi, eax
test esi, esi
je 0x5725d0
mov ecx, dword [ebp - 8]
push 0
mov eax, ebx
call fcn.00564e2d
cmp dword [ebp + 0x14], 0
pop ecx
je 0x5724b3
push 0x7c
mov ecx, esi
call fcn.0054a6db
pop ecx
mov eax, dword [ebx + 0x48]
inc eax
lea edi, [eax + 1]
push 2
mov dword [ebx + 0x19c], edi
inc edi
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebx + 0x198], eax
push 0x23
pop eax
mov ecx, esi
mov dword [ebx + 0x48], edi
call fcn.0054a669
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.00543ef8
push edi
push 0x1a
pop eax
mov ecx, esi
call fcn.0054a6ed
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
and eax, 0x100000
neg eax
sbb eax, eax
and eax, 0xfffffffd
push edi
add eax, 4
push eax
push 7
pop eax
mov ecx, esi
call fcn.0054a6fe
push edi
push 2
push dword [ebp - 8]
mov ecx, esi
push 0x24
pop eax
call fcn.0054a669
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
push edi
push eax
push 7
pop eax
mov ecx, esi
call fcn.0054a6fe
push edi
push 5
push dword [ebp - 8]
mov ecx, esi
push 0x24
pop eax
call fcn.0054a669
mov eax, dword [ebp - 0x14]
add esp, 0x38
mov ecx, esi
call fcn.00543eaf
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
jne 0x572574
cmp dword [ebp + 0x14], ecx
jne 0x572574
mov eax, dword [ebp - 0xc]
inc eax
push eax
push dword [ebp - 8]
push 0x62
jmp 0x57257c
mov eax, dword [ebp - 0xc]
inc eax
push eax
push ecx
push 7
pop eax
mov ecx, esi
call fcn.0054a6fe
pop ecx
pop ecx
push dword [ebp - 8]
mov eax, ebx
call fcn.00553390
push dword [ebp - 0xc]
xor ebx, ebx
push ebx
push 0x36
pop eax
mov ecx, esi
call fcn.0054a6fe
push edi
push ebx
push 0xa
pop eax
mov ecx, esi
call fcn.0054a6fe
push dword [ebp - 0xc]
mov ecx, esi
push edi
push ebx
push 0x37
pop eax
call fcn.0054a669
mov dl, 8
mov ecx, esi
call fcn.00543e9d
push 0x2b
mov ecx, esi
call fcn.0054a6db
add esp, 0x24
pop edi
pop esi
pop ebx
leave
ret