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

Disassembly:
sub esp, 0xe4
push ebx
mov ebx, dword [esp + 0xec]
xor eax, eax
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x38], eax
push edi
mov edi, dword [ebx]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x24], eax
jne 0x54a705
cmp byte [ebx + 0xdc], 1
jne 0x54979f
cmp byte [esp + 0x120], 2
jne 0x54a705
push ebx
call fcn.005713e0
add esp, 4
test eax, eax
jne 0x54a705
mov eax, dword [esp + 0x108]
push eax
push ebx
mov dword [esp + 0x30], eax
call fcn.00561880
add esp, 8
test eax, eax
jne 0x54a705
cmp dword [esp + 0x104], ebp
je 0x549919
mov esi, dword [esp + 0x100]
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x104]
push ebx
call fcn.0057aff0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
js 0x54a705
cmp byte [edi + 0xb1], 0
jne 0x549840
push dword [esp + 0x104]
push ebx
call fcn.00578570
mov edx, dword [esp + 0x24]
add esp, 8
cmp dword [esi + 4], ebp
jne 0x549840
test eax, eax
je 0x549840
mov ecx, dword [edi + 0x10]
mov esi, 1
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove edx, esi
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x3c]
push eax
push str.index
push edx
lea eax, [esp + 0xcc]
push ebx
push eax
call fcn.00554f20
mov esi, dword [esp + 0x118]
lea eax, [esp + 0x5c]
xorps xmm0, xmm0
mov dword [esp + 0x7c], esi
push eax
lea eax, [esp + 0xdc]
movlpd qword [esp + 0x60], xmm0
push eax
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
call fcn.0058fbe0
lea eax, [esi + 8]
push eax
push 0
push ebx
call fcn.00565c80
mov esi, eax
add esp, 0x28
mov dword [esp + 0x10], esi
test esi, esi
je 0x54a705
mov edx, dword [esp + 0x1c]
cmp edx, 1
jne 0x549904
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x3c]
je 0x549904
push dword [esi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.0054d2c0
add esp, 0xc
jmp 0x549b50
test byte [esi + 0x1c], 0x80
je 0x54995c
push esi
call fcn.005707b0
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x54995c
mov esi, dword [ebx + 0xf8]
mov dword [esp + 0x10], esi
test esi, esi
je 0x54a705
mov ecx, dword [esi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x54995c
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x1c], edx
cmp dword [eax], ecx
je 0x54995c
nop dword [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x549950
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 0x10]
mov ecx, edx
mov ebp, dword [esi]
mov edx, 7
shl ecx, 4
add eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x5499f1
mov esi, ebp
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x5499a2
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x612ca8]
cmp al, byte [ecx + 0x612ca8]
jne 0x5499a2
inc esi
inc edi
test edx, edx
jg 0x549980
dec edx
test edx, edx
js 0x5499be
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x612ca8]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x612ca8]
sub ecx, eax
jne 0x5499e9
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xb1], 0
jne 0x5499ed
cmp dword [esp + 0x104], 0
je 0x5499ed
push ebp
push str.table__s_may_not_be_indexed
push ebx
call fcn.0054d2c0
add esp, 0xc
jmp 0x549b50
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov al, byte [esi + 0x2b]
cmp al, 2
jne 0x549a0b
push str.views_may_not_be_indexed
push ebx
call fcn.0054d2c0
add esp, 8
jmp 0x549b50
cmp al, 1
jne 0x549a22
push str.virtual_tables_may_not_be_indexed
push ebx
call fcn.0054d2c0
add esp, 8
jmp 0x549b50
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x549bde
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x549bc7
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
push dword [esp + 0x1c]
call fcn.0054aba0
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x549b3f
push esi
push edi
push ebp
call fcn.00430da0
push ebp
mov byte [esi + ebp], 0
call fcn.0054bf10
mov ebp, dword [esp + 0x20]
push dword [ebp]
push str.index
push dword [esp + 0x30]
push ebx
call fcn.00546290
add esp, 0x20
test eax, eax
jne 0x549c80
cmp byte [ebx + 0xdc], 2
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
jae 0x549b32
cmp byte [edi + 0xb1], al
jne 0x549adf
push dword [esi]
push dword [esp + 0x1c]
push edi
call fcn.00554340
add esp, 0xc
test eax, eax
je 0x549adf
push dword [esp + 0x18]
push str.there_is_already_a_table_named__s
push ebx
call fcn.0054d2c0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x549b54
push dword [esi]
push dword [esp + 0x1c]
push edi
call fcn.00554290
add esp, 0xc
test eax, eax
je 0x549b32
cmp dword [esp + 0x11c], 0
jne 0x549b15
mov esi, dword [esp + 0x18]
push esi
push str.index__s_already_exists
push ebx
call fcn.0054d2c0
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x549b54
push dword [esp + 0x1c]
push ebx
call fcn.00547a60
push ebx
call fcn.00556220
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x549b54
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x549c24
push ebp
call fcn.0054bf10
add esp, 4
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
test edx, edx
je 0x549b73
nop
cmp byte [edx + 0x36], 5
je 0x54a6d8
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x549b60
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x114]
test esi, esi
je 0x549b90
push esi
push edi
call fcn.005514d0
add esp, 8
test ebx, ebx
je 0x549b9e
push ebx
push edi
call fcn.004fac60
add esp, 8
push dword [esp + 0x104]
push edi
call fcn.00577fa0
add esp, 8
test ebp, ebp
je 0x549bbc
push ebp
push edi
call fcn.0054aa60
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret
push 0
call fcn.0054bf10
add esp, 4
mov dword [esp + 0x18], 0
jmp 0x549b4c
mov eax, dword [esi + 8]
mov ecx, 1
test eax, eax
je 0x549bf8
nop word [eax + eax]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x549bf0
push ecx
push ebp
push str.sqlite_autoindex__s__d
push edi
call fcn.005660d0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x549c7c
cmp byte [ebx + 0xdc], 0
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
je 0x549c24
inc byte [eax + 7]
cmp byte [ebx + 0xdc], 2
jae 0x549c89
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_master
push esi
push 0
cmove eax, ecx
push eax
push 0x12
push ebx
call fcn.00540670
add esp, 0x14
test eax, eax
jne 0x549c80
cmp dword [esp + 0x1c], 1
push esi
mov esi, dword [esp + 0x14]
sete al
push dword [esi]
lea eax, [eax*2 + 1]
push dword [esp + 0x20]
push eax
push ebx
call fcn.00540670
add esp, 0x14
test eax, eax
je 0x549c8d
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x549b54
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x108]
test ebp, ebp
jne 0x549d5c
movsx ecx, word [esi + 0x22]
mov eax, dword [esi + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov ebp, dword [eax + ecx*8 - 0x10]
test ebp, ebp
jne 0x549cb7
xor esi, esi
jmp 0x549ccf
mov esi, ebp
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x549cc0
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push edi
call fcn.0054aba0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x549d1e
push 0x34
push 0
push edi
call fcn.0042d620
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x549d10
push esi
push ebp
push eax
call fcn.00430da0
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [ebx]
call fcn.00552530
mov ebp, eax
add esp, 8
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x549c7c
mov ecx, dword [esp + 0x118]
xor ebx, ebx
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [ebp]
cmovne ebx, edx
lea eax, [ecx + ecx*4]
mov byte [ebp + eax*4 - 4], bl
mov ebx, dword [esp + 0xf8]
jmp 0x549d86
mov ecx, dword [ebx]
mov eax, dword [ebp]
cmp eax, dword [ecx + 0x80]
jle 0x549d7c
push str.index
push str.too_many_columns_in__s
push ebx
call fcn.0054d2c0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x549c7c
mov esi, dword [ebp]
test esi, esi
jle 0x549dc8
lea edx, [ebp + 8]
xor ebx, ebx
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x549db5
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x549db2
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549da3
sub ecx, edi
and ecx, 0x3fffffff
inc ebx
add ebx, ecx
add edx, 0x14
sub esi, 1
jne 0x549d92
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xf8]
mov esi, dword [esp + 0x18]
mov eax, ebp
add eax, 8
mov dword [esp + 0x34], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x549dd8
mov eax, dword [esp + 0x38]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x549df5
movzx ecx, word [eax + 0x32]
jmp 0x549dfa
mov ecx, 1
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x30]
inc eax
add eax, esi
push eax
mov ax, word [ebp]
mov ebp, dword [esp + 0x1c]
add ax, cx
movzx eax, ax
push eax
push ebp
call fcn.0053ddf0
add esp, 0x10
mov edi, eax
cmp byte [ebp + 0x57], 0
jne 0x54a18b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
lea eax, [ecx + 1]
add eax, esi
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x1c]
push ecx
call fcn.00430da0
mov eax, dword [esp + 0x118]
add esp, 0xc
movzx esi, byte [esp + 0x120]
mov edx, dword [esp + 0x10]
and esi, 3
mov byte [edi + 0x36], al
neg eax
mov dword [edi + 0xc], edx
sbb ecx, ecx
mov dword [esp + 0x44], esi
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
or ecx, eax
and ecx, 0xfffffffc
or ecx, esi
mov esi, dword [esp + 0x114]
mov dword [edi + 0x38], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x28]
mov eax, dword [eax + ecx + 0xc]
mov dword [edi + 0x18], eax
movzx eax, word [ebp]
mov word [edi + 0x32], ax
mov ecx, eax
test esi, esi
je 0x549ecc
push 0
push esi
push 2
push edx
push ebx
call fcn.005728c0
movzx eax, word [edi + 0x32]
add esp, 0x14
mov dword [edi + 0x24], esi
mov ecx, eax
mov dword [esp + 0x114], 0
cmp byte [ebx + 0xdc], 2
movzx edx, ax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x33], al
jb 0x549ef1
mov dword [edi + 0x28], ebp
mov dword [esp + 0x28], 0
mov eax, edx
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x24], ebp
cmp dx, cx
jae 0x54a237
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov cl, byte [eax]
cmp cl, 0x75
je 0x549f1e
cmp cl, 0x71
jne 0x549f21
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x549f21
mov byte [eax], 0x3b
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
push dword [esi]
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xc0], 0
mov eax, dword [edx]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx]
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x58], 0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x64], edx
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x4c]
cmp dword [edx + 0x3c], ecx
mov ecx, 0x10020
mov dword [esp + 0xa4], eax
mov eax, 0x50020
cmove eax, ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xa0]
push eax
call fcn.005726a0
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x54a187
mov eax, dword [esi]
test eax, eax
je 0x54a006
test dword [eax + 4], 0x2000
je 0x54a006
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x549ff6
cmp byte [eax], 0xa7
je 0x54a058
mov edx, dword [esp + 0x10]
cmp edx, dword [ebx + 0xf8]
je 0x54a291
cmp dword [edi + 0x28], 0
jne 0x54a030
mov eax, dword [esp + 0x28]
mov dword [edi + 0x28], eax
mov dword [esp + 0x28], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov ebx, ecx
mov word [eax + ebp*2], bx
mov eax, dword [edi + 0x38]
mov ebx, dword [esp + 0xf8]
and eax, 0xfffffff7
or eax, 0x1000
add edx, 4
mov dword [edi + 0x38], eax
jmp 0x54a0a0
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x54a06d
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x20]
lea edx, [eax + 4]
jmp 0x54a099
mov edx, dword [esp + 0x10]
mov esi, ecx
add edx, 4
add esi, esi
mov eax, dword [edx]
test byte [eax + esi*8 + 4], 0xf
jne 0x54a085
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [edx]
test byte [eax + esi*8 + 0xe], 0x20
mov esi, dword [esp + 0x34]
je 0x54a099
or dword [edi + 0x38], 0x1800
mov eax, dword [edi + 4]
mov word [eax + ebp*2], cx
mov eax, dword [esi]
cmp byte [eax], 0x71
jne 0x54a0e3
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x54a0b2
xor esi, esi
jmp 0x54a0c6
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x54a0b7
sub esi, edx
and esi, 0x3fffffff
mov ebp, dword [esp + 0x20]
inc esi
push esi
push ecx
push ebp
call fcn.00430da0
lea eax, [esi + ebp]
add esp, 0xc
mov esi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
jmp 0x54a119
test ecx, ecx
js 0x54a11d
shl ecx, 4
add ecx, dword [edx]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x54a11d
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x54a106
nop
inc eax
cmp byte [eax], 0
jne 0x54a100
test dl, 4
je 0x54a116
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x54a110
lea ebp, [eax + 1]
test ebp, ebp
jne 0x54a122
mov ebp, str.BINARY
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x54a1fb
mov ecx, dword [ebx]
mov al, byte [ecx + 0x54]
mov bl, byte [ecx + 0xb1]
mov byte [esp + 0x2c], al
mov esi, dword [esp + 0x2c]
movzx eax, bl
push eax
push ebp
push esi
push ecx
call fcn.00553550
add esp, 0x10
test bl, bl
jne 0x54a17c
test eax, eax
je 0x54a167
cmp dword [eax + 0xc], 0
jne 0x54a1f0
mov ebx, dword [esp + 0xf8]
push ebp
push eax
push esi
push ebx
call fcn.00560990
add esp, 0x10
jmp 0x54a183
mov ebx, dword [esp + 0xf8]
test eax, eax
jne 0x54a1f7
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x549b4c
mov eax, dword [edi + 0x24]
test eax, eax
je 0x54a1a4
push eax
push ebp
call fcn.005514d0
add esp, 8
mov eax, dword [edi + 0x28]
test eax, eax
je 0x54a1b5
push eax
push ebp
call fcn.004fac60
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x54a1c6
push eax
push ebp
call fcn.0054aa60
add esp, 8
test byte [edi + 0x38], 0x10
je 0x54a1dd
mov eax, dword [edi + 0x20]
test eax, eax
je 0x54a1dd
push eax
push ebp
call fcn.0054aa60
add esp, 8
push edi
mov edi, dword [esp + 0x18]
push edi
call fcn.0054aa60
add esp, 8
jmp 0x549b50
mov ebx, dword [esp + 0xf8]
mov esi, dword [esp + 0x34]
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [eax + ecx*4], ebp
xor eax, eax
movzx ecx, byte [esi + 8]
cmp byte [esp + 0x33], 4
mov ebp, dword [esp + 0x24]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add esi, 0x14
mov dword [esp + 0x34], esi
mov byte [eax + ebp], cl
inc ebp
movzx eax, word [edi + 0x32]
mov dword [esp + 0x24], ebp
mov ecx, eax
cmp ebp, eax
jl 0x549f08
mov edx, dword [esp + 0x38]
movzx eax, ax
test edx, edx
je 0x54a2e1
xor ecx, ecx
xor esi, esi
cmp cx, word [edx + 0x32]
jae 0x54a2f5
mov ebx, dword [esp + 0x24]
mov ecx, eax
nop word [eax + eax]
mov eax, dword [edx + 4]
push esi
movzx ecx, cx
push edx
movzx eax, word [eax + esi*2]
mov ebp, ecx
push ecx
push edi
mov dword [esp + 0x30], eax
call fcn.0051ff80
mov edx, dword [esp + 0x48]
add esp, 0x10
test eax, eax
je 0x54a2a4
mov eax, 0xffff
add word [edi + 0x34], ax
mov eax, ebp
jmp 0x54a2cc
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebx
call fcn.0054d2c0
add esp, 8
jmp 0x54a187
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x20]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [edi + 0x1c]
mov al, byte [esi + eax]
mov byte [ebx + ecx], al
inc ebx
movzx eax, word [edi + 0x32]
movzx ecx, ax
inc esi
movzx eax, word [edx + 0x32]
cmp esi, eax
jl 0x54a260
mov ebx, dword [esp + 0xf8]
jmp 0x54a2f5
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + ebp*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + ebp*4], str.BINARY
push edi
call fcn.0054b150
add esp, 4
cmp dword [ebx + 0xf8], 0
jne 0x54a310
push edi
call fcn.004f7320
add esp, 4
push edi
call fcn.00534c50
add esp, 4
cmp dword [esp + 0x104], 0
je 0x54a376
mov ecx, dword [esp + 0x10]
movzx esi, word [edi + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x54a376
or dword [edi + 0x38], 0x20
xor edx, edx
movsx ebp, word [ecx + 0x22]
test ebp, ebp
jle 0x54a376
movsx eax, word [ecx + 0x20]
mov dword [esp + 0x20], eax
nop dword [eax]
cmp edx, eax
je 0x54a476
xor eax, eax
test esi, esi
je 0x54a372
mov ecx, dword [edi + 4]
cmp dx, word [ecx]
je 0x54a466
inc eax
add ecx, 2
cmp eax, esi
jl 0x54a361
and dword [edi + 0x38], 0xffffffdf
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebx + 0xf8]
jne 0x54a400
mov ebp, dword [ecx + 8]
test ebp, ebp
je 0x54a400
movzx ecx, word [edi + 0x32]
nop dword [eax]
movzx eax, word [ebp + 0x32]
cmp ax, cx
jne 0x54a3ee
mov ecx, eax
xor ebx, ebx
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x54a3e2
mov eax, dword [ebp + 4]
mov esi, dword [edi + 4]
sub eax, esi
mov dword [esp + 0x2c], eax
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x54a3e2
mov eax, dword [edi + 0x20]
push dword [eax + ebx*4]
mov eax, dword [ebp + 0x20]
push dword [eax + ebx*4]
call fcn.005794f0
mov ecx, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x54a3e2
mov eax, dword [esp + 0x2c]
inc ebx
add esi, 2
cmp ebx, ecx
jl 0x54a3b1
cmp ebx, ecx
je 0x54a484
movzx ecx, word [edi + 0x32]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x54a390
mov ebx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x10]
cmp byte [ebx + 0xdc], 2
mov ebp, dword [esp + 0x14]
jae 0x54a692
cmp byte [ebp + 0xb1], 0
je 0x54a51f
cmp dword [esp + 0x104], 0
je 0x54a4f2
mov eax, dword [ebp + 0xac]
push edi
mov dword [edi + 0x2c], eax
call fcn.00562250
add esp, 4
test eax, eax
je 0x54a4f2
push str.invalid_rootpage
push ebx
call fcn.0054d2c0
push 0x1e803
call fcn.00548fb0
add esp, 0xc
mov dword [ebx + 0xc], eax
jmp 0x54a18b
movzx eax, ax
test ax, ax
js 0x54a372
mov eax, dword [esp + 0x20]
inc edx
cmp edx, ebp
jl 0x54a350
jmp 0x54a376
mov al, byte [ebp + 0x36]
mov cl, byte [edi + 0x36]
mov esi, dword [esp + 0xf8]
cmp al, cl
je 0x54a4ba
cmp al, 0xb
je 0x54a4ae
cmp cl, 0xb
je 0x54a4ae
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push esi
call fcn.0054d2c0
add esp, 0xc
cmp byte [ebp + 0x36], 0xb
jne 0x54a4ba
mov al, byte [edi + 0x36]
mov byte [ebp + 0x36], al
cmp byte [esp + 0x120], 2
jne 0x54a4d1
mov eax, dword [ebp + 0x38]
and eax, 0xfffffffc
or eax, dword [esp + 0x44]
mov dword [ebp + 0x38], eax
cmp byte [esi + 0xdc], 2
jb 0x54a187
mov eax, dword [esi + 0xfc]
mov dword [edi + 0x14], eax
mov dword [esi + 0xfc], edi
jmp 0x549b4c
mov eax, dword [edi + 0x18]
push edi
push dword [edi]
add eax, 0x18
push eax
call fcn.00561a10
add esp, 0xc
test eax, eax
je 0x54a516
push ebp
call fcn.00567010
add esp, 4
jmp 0x54a18b
or dword [ebp + 0x18], 1
jmp 0x54a692
test byte [ecx + 0x1c], 0x80
je 0x54a534
mov eax, dword [esp + 0x104]
test eax, eax
je 0x54a699
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x20], ebp
test esi, esi
jne 0x54a56c
cmp dword [ebx + 0x80], esi
jne 0x54a559
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x54a559
mov byte [ebx + 0x17], 1
push ebx
call fcn.0057f600
mov esi, eax
add esp, 4
test esi, esi
je 0x54a187
push dword [esp + 0x1c]
push 1
push ebx
call fcn.00541490
push 0xbb
push esi
call fcn.0057ed20
push 2
push ebp
push dword [esp + 0x38]
mov dword [edi + 0x2c], eax
push 0x93
push esi
call fcn.0057ee30
add esp, 0x28
cmp dword [esp + 0x110], 0
je 0x54a5f2
mov edx, dword [ebx + 0xd4]
add edx, dword [ebx + 0xd0]
mov eax, dword [esp + 0x3c]
mov ecx, edx
mov eax, dword [eax]
sub ecx, eax
cmp byte [edx - 1], 0x3b
push eax
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x110], 0
push eax
mov ecx, str._UNIQUE
mov eax, section..rdata
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x24]
call fcn.005660d0
add esp, 0x14
mov ebp, eax
jmp 0x54a5f4
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push ebp
push dword [esp + 0x24]
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [edi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push ebx
call fcn.00566db0
add esp, 0x1c
test ebp, ebp
je 0x54a631
push ebp
mov ebp, dword [esp + 0x18]
push ebp
call fcn.0054aa60
add esp, 8
jmp 0x54a635
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x104], 0
je 0x54a686
push dword [esp + 0x20]
push edi
push ebx
call fcn.00571810
push dword [esp + 0x28]
push ebx
call fcn.005461f0
add esp, 0x14
push 0
push dword [edi]
push str.name_q_AND_typeindex
push ebp
call fcn.005660d0
add esp, 0xc
push eax
push dword [esp + 0x24]
push esi
call fcn.0057f070
push 1
push 0
push 0xa6
push esi
call fcn.0057edd0
add esp, 0x20
push dword [edi + 0x2c]
push esi
call fcn.00589b40
add esp, 8
mov eax, dword [esp + 0x104]
cmp byte [ebp + 0xb1], 0
jne 0x54a6be
test eax, eax
je 0x54a6be
cmp byte [ebx + 0xdc], 2
jb 0x54a18b
mov dword [ebx + 0xfc], edi
jmp 0x549b4c
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x14]
jmp 0x549b54
mov eax, dword [edx + 0x14]
test eax, eax
je 0x549b73
cmp byte [eax + 0x36], 5
je 0x549b73
mov dword [ecx], eax
lea ecx, [eax + 0x14]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov dword [ecx], edx
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x54a6e3
jmp 0x549b73
mov ebx, dword [esp + 0x108]
jmp 0x549b7b