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

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [esp + 0x2c], eax
mov ebx, dword [ebp]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x24], eax
jne 0x4d584e
cmp byte [ebp + 0xd8], 1
jne 0x4d49e6
cmp byte [esp + 0x9c], 2
jne 0x4d584e
push ebp
call fcn.004f1de0
add esp, 4
test eax, eax
jne 0x4d584e
mov eax, dword [esp + 0x84]
push eax
push ebp
mov dword [esp + 0x28], eax
call fcn.004e48a0
add esp, 8
test eax, eax
jne 0x4d584e
cmp dword [esp + 0x80], edi
je 0x4d4b0b
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0x80]
push ebp
call fcn.004fa930
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
js 0x4d584e
cmp byte [ebx + 0xb1], 0
jne 0x4d4a84
push dword [esp + 0x80]
push ebp
call fcn.004f85c0
add esp, 8
cmp dword [esi + 4], edi
mov esi, dword [esp + 0x1c]
jne 0x4d4a86
test eax, eax
je 0x4d4a86
mov ecx, dword [ebx + 0x10]
mov edx, 1
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove esi, edx
mov dword [esp + 0x1c], esi
jmp 0x4d4a86
mov esi, eax
mov eax, dword [esp + 0x2c]
push eax
push str.index
push esi
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.004dee10
push dword [esp + 0x94]
lea eax, [esp + 0x54]
push eax
call fcn.004dee80
mov eax, dword [esp + 0x9c]
add eax, 8
push eax
push 0
push ebp
call fcn.004e8390
mov edx, eax
add esp, 0x28
mov dword [esp + 0x10], edx
test edx, edx
je 0x4d584e
cmp esi, 1
jne 0x4d4af6
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x4d4af6
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.004d7b40
add esp, 0xc
jmp 0x4d57bd
test byte [edx + 0x1c], 0x80
je 0x4d4b4c
push edx
call fcn.004f12c0
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x4d4b4c
mov eax, dword [ebp + 0xf4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4d584e
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x4d4b4c
mov eax, dword [ebx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
je 0x4d4b4c
nop dword [eax]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4d4b40
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x14]
mov ebx, esi
mov ecx, dword [esp + 0x10]
mov edx, 7
shl ebx, 4
add ebx, dword [edi + 0x10]
mov esi, dword [ecx]
mov dword [esp + 0x30], ebx
test esi, esi
je 0x4d4be6
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x4d4b92
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x571710]
cmp al, byte [ecx + 0x571710]
jne 0x4d4b92
inc esi
inc edi
test edx, edx
jg 0x4d4b70
dec edx
test edx, edx
js 0x4d4bae
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x571710]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x571710]
sub eax, ecx
jne 0x4d4be2
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xb1], 0
jne 0x4d4be6
cmp dword [esp + 0x80], 0
je 0x4d4be6
mov eax, dword [esp + 0x10]
push dword [eax]
push str.table__s_may_not_be_indexed
push ebp
call fcn.004d7b40
add esp, 0xc
mov ebx, edi
xor edi, edi
jmp 0x4d57bd
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x4d4c0a
push str.views_may_not_be_indexed
push ebp
call fcn.004d7b40
mov ebx, dword [esp + 0x1c]
add esp, 8
xor edi, edi
jmp 0x4d57bd
cmp al, 1
jne 0x4d4c27
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.004d7b40
mov ebx, dword [esp + 0x1c]
add esp, 8
xor edi, edi
jmp 0x4d57bd
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4d4d5e
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x4d4d49
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
push dword [esp + 0x1c]
call fcn.004d5b60
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x4d4d33
push esi
push edi
push eax
call fcn.00532150
mov eax, dword [esp + 0x24]
mov byte [esi + eax], 0
mov esi, eax
push esi
call fcn.004d6c70
mov eax, dword [esp + 0x20]
push dword [eax]
push str.index
push esi
push ebp
call fcn.004d1300
add esp, 0x20
test eax, eax
jne 0x4d57b5
cmp byte [ebp + 0xd8], 2
mov edi, dword [esp + 0x14]
jae 0x4d4d2d
cmp byte [edi + 0xb1], al
jne 0x4d4cdb
push dword [ebx]
push esi
push edi
call fcn.004de200
add esp, 0xc
test eax, eax
je 0x4d4cdb
push esi
push str.there_is_already_a_table_named__s
push ebp
call fcn.004d7b40
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x4d57b9
push dword [ebx]
push esi
push edi
call fcn.004de170
add esp, 0xc
test eax, eax
je 0x4d4d2d
cmp dword [esp + 0x98], 0
jne 0x4d4d0f
push esi
push str.index__s_already_exists
push ebp
call fcn.004d7b40
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x4d57b9
push dword [esp + 0x1c]
push ebp
call fcn.004d2a20
push ebp
call fcn.004dffe0
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x4d57b9
mov dword [esp + 0x18], esi
jmp 0x4d4da3
mov edi, dword [esp + 0x18]
push edi
call fcn.004d6c70
mov ebx, dword [esp + 0x18]
add esp, 4
jmp 0x4d57bd
push 0
call fcn.004d6c70
mov ebx, dword [esp + 0x18]
add esp, 4
xor edi, edi
jmp 0x4d57bd
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x4d4d78
nop word [eax + eax]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4d4d70
push ecx
push dword [edx]
push str.sqlite_autoindex__s__d
push edi
call fcn.004e8760
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x4d57b5
cmp byte [ebp + 0xd8], 0
je 0x4d4da3
inc byte [esi + 7]
cmp byte [ebp + 0xd8], 2
jae 0x4d4e06
mov esi, dword [ebx]
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 ebp
call fcn.004cc580
add esp, 0x14
test eax, eax
jne 0x4d57b5
mov eax, dword [esp + 0x10]
push esi
push dword [eax]
mov eax, dword [esp + 0x20]
push eax
xor eax, eax
cmp dword [esp + 0x28], 1
sete al
lea eax, [eax*2 + 1]
push eax
push ebp
call fcn.004cc580
add esp, 0x14
test eax, eax
jne 0x4d57b5
cmp dword [esp + 0x84], 0
jne 0x4d4ed1
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x22]
mov eax, dword [eax + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov ebx, dword [eax + ecx*8 - 0x10]
test ebx, ebx
jne 0x4d4e33
xor esi, esi
jmp 0x4d4e47
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4d4e38
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push edi
call fcn.004d5b60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4d4e96
push 0x34
push 0
push edi
call fcn.005326d0
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 0x4d4e88
push esi
push ebx
push eax
call fcn.00532150
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [ebp]
call fcn.004dc630
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
je 0x4d57b5
mov ecx, dword [esp + 0x94]
xor ebx, ebx
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne ebx, edx
lea eax, [ecx + ecx*4]
mov byte [edi + eax*4 - 4], bl
mov ebx, dword [esp + 0x30]
jmp 0x4d4f02
mov edi, dword [esp + 0x84]
mov ecx, dword [ebp]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x80]
jle 0x4d4ef8
push str.index
push str.too_many_columns_in__s
push ebp
call fcn.004d7b40
add esp, 0xc
cmp dword [ebp + 0x24], 0
jne 0x4d57b5
mov esi, dword [edi]
test esi, esi
jle 0x4d4f47
lea edx, [edi + 8]
xor ebx, ebx
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x4d4f33
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4d4f30
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d4f21
sub ecx, edi
and ecx, 0x3fffffff
inc ebx
add ebx, ecx
add edx, 0x14
sub esi, 1
jne 0x4d4f10
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4d4f50
mov eax, dword [esp + 0x28]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x4d4f6d
movzx ecx, word [eax + 0x32]
jmp 0x4d4f72
mov ecx, 1
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x28]
inc eax
add eax, esi
push eax
mov ax, word [edi]
add ax, cx
movzx eax, ax
push eax
push dword [esp + 0x20]
call fcn.004c9da0
mov edi, eax
add esp, 0x10
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x4d5759
mov edx, dword [esp + 0x34]
lea ecx, [esi + 1]
push ecx
push dword [esp + 0x1c]
mov dword [edi], edx
lea eax, [edx + 1]
add eax, esi
push edx
mov dword [esp + 0x40], eax
call fcn.00532150
mov eax, dword [esp + 0x94]
add esp, 0xc
mov byte [edi + 0x36], al
neg eax
mov edx, dword [esp + 0x10]
sbb ecx, ecx
mov esi, dword [esp + 0x90]
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
mov dword [edi + 0xc], edx
or ecx, eax
movzx eax, byte [esp + 0x9c]
xor eax, ecx
and eax, 3
xor eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x38], eax
add ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
mov word [edi + 0x32], ax
test esi, esi
je 0x4d5046
push 0
push esi
push 2
push edx
push ebp
call fcn.004f2e50
movzx eax, word [edi + 0x32]
add esp, 0x14
mov edx, dword [esp + 0x10]
mov dword [edi + 0x24], esi
mov dword [esp + 0x90], 0
cmp byte [ebp + 0xd8], 2
movzx ecx, ax
mov eax, dword [ebx + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x84], al
mov eax, dword [esp + 0x20]
lea ebx, [eax + 8]
mov dword [esp + 0x30], ebx
jb 0x4d5075
mov dword [edi + 0x28], eax
mov dword [esp + 0x20], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x24], esi
cmp ax, cx
jae 0x4d5292
mov eax, dword [ebx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x4d509c
cmp cl, 0x71
jne 0x4d509f
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x4d509f
mov byte [eax], 0x3b
push 0
push dword [ebx]
push 0x20
push edx
push ebp
call fcn.004f2e50
add esp, 0x14
cmp dword [ebp + 0x24], 0
jne 0x4d5289
mov eax, dword [ebx]
test eax, eax
je 0x4d50d0
nop
test dword [eax + 4], 0x2000
je 0x4d50d0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d50c0
cmp byte [eax], 0xa7
je 0x4d5118
mov edx, dword [esp + 0x10]
cmp edx, dword [ebp + 0xf4]
je 0x4d527b
cmp dword [edi + 0x28], 0
jne 0x4d50fa
mov eax, dword [esp + 0x20]
mov dword [edi + 0x28], eax
mov dword [esp + 0x20], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov ebp, ecx
mov word [eax + esi*2], bp
mov eax, dword [edi + 0x38]
and eax, 0xfffffff7
or eax, 0x800
mov dword [edi + 0x38], eax
jmp 0x4d515c
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x4d512a
mov edx, dword [esp + 0x10]
movsx ecx, word [edx + 0x20]
jmp 0x4d5155
mov ebp, dword [esp + 0x10]
mov edx, ecx
add edx, edx
mov eax, dword [ebp + 4]
test byte [eax + edx*8 + 4], 0xf
jne 0x4d5140
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [ebp + 4]
test byte [eax + edx*8 + 0xe], 0x20
mov edx, dword [esp + 0x10]
je 0x4d5155
or dword [edi + 0x38], 0xc00
mov eax, dword [edi + 4]
mov word [eax + esi*2], cx
mov eax, dword [ebx]
cmp byte [eax], 0x71
jne 0x4d519f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d516e
xor esi, esi
jmp 0x4d5182
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4d5173
sub esi, edx
and esi, 0x3fffffff
mov ebp, dword [esp + 0x34]
inc esi
push esi
push ecx
push ebp
call fcn.00532150
lea eax, [esi + ebp]
add esp, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
jmp 0x4d51d9
test ecx, ecx
js 0x4d51dd
shl ecx, 4
mov eax, 0x200
add ecx, dword [edx + 4]
test word [ecx + 0xe], ax
je 0x4d51dd
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x4d51c6
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x4d51c0
test byte [ecx + 0xe], 4
je 0x4d51d6
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x4d51d0
lea ebp, [eax + 1]
test ebp, ebp
jne 0x4d51e2
mov ebp, str.BINARY
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x4d523d
mov esi, dword [esp + 0x74]
mov ecx, dword [esi]
mov al, byte [ecx + 0x54]
mov bl, byte [ecx + 0xb1]
mov byte [esp + 0x38], al
movzx eax, bl
push eax
push ebp
push dword [esp + 0x40]
push ecx
call fcn.004dd450
add esp, 0x10
test bl, bl
jne 0x4d5231
test eax, eax
je 0x4d5222
cmp dword [eax + 0xc], 0
jne 0x4d5235
push ebp
push eax
push dword [esp + 0x40]
push esi
call fcn.004e39e0
add esp, 0x10
test eax, eax
je 0x4d5289
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], ebp
xor eax, eax
movzx ecx, byte [ebx + 8]
cmp byte [esp + 0x84], 4
mov ebp, dword [esp + 0x74]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add ebx, 0x14
mov dword [esp + 0x30], ebx
mov byte [esi + eax], cl
inc esi
movzx eax, word [edi + 0x32]
mov dword [esp + 0x24], esi
cmp esi, eax
jge 0x4d5292
mov edx, dword [esp + 0x10]
jmp 0x4d5086
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebp
call fcn.004d7b40
add esp, 8
mov ebx, dword [esp + 0x14]
jmp 0x4d575b
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4d5301
xor eax, eax
xor esi, esi
cmp ax, word [edx + 0x32]
jae 0x4d5315
mov ebp, dword [esp + 0x24]
mov eax, dword [edx + 4]
push esi
push edx
movzx ebx, word [eax + esi*2]
movzx eax, word [edi + 0x32]
push eax
push edi
call fcn.004b1e60
mov edx, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x4d52d2
mov eax, 0xffff
add word [edi + 0x34], ax
jmp 0x4d52f2
mov eax, dword [edi + 4]
mov word [eax + ebp*2], bx
mov eax, dword [edx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + ebp*4], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [edi + 0x1c]
mov al, byte [esi + eax]
mov byte [ecx + ebp], al
inc ebp
movzx eax, word [edx + 0x32]
inc esi
cmp esi, eax
jl 0x4d52a8
mov ebp, dword [esp + 0x74]
jmp 0x4d5315
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], str.BINARY
push edi
call fcn.004d5fb0
add esp, 4
cmp dword [ebp + 0xf4], 0
jne 0x4d5330
push edi
call fcn.004a5a40
add esp, 4
push edi
call fcn.004c20d0
add esp, 4
cmp dword [esp + 0x80], 0
je 0x4d53cb
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 0x34]
mov edx, eax
mov dword [esp + 0x38], edx
movsx ecx, word [ecx + 0x22]
cmp eax, ecx
jl 0x4d53cb
mov ebx, dword [edi + 0x38]
xor esi, esi
or ebx, 0x20
mov dword [esp + 0x84], esi
mov dword [edi + 0x38], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x10]
movzx eax, word [ebx + 0x22]
mov ecx, eax
mov dword [esp + 0x34], ecx
cmp si, ax
jge 0x4d53cb
movsx eax, word [ebx + 0x20]
mov dword [esp + 0x84], eax
cmp esi, eax
je 0x4d54f7
xor eax, eax
xor ecx, ecx
cmp ax, dx
jae 0x4d53c1
movzx ebx, dx
mov edx, dword [edi + 4]
nop dword [eax + eax]
cmp si, word [edx]
je 0x4d54e3
inc ecx
add edx, 2
cmp ecx, ebx
jl 0x4d53b0
mov eax, dword [esp + 0x30]
and eax, 0xffffffdf
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xf4]
jne 0x4d547d
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x4d5479
movzx ecx, word [edi + 0x32]
nop word [eax + eax]
movzx eax, word [ebp + 0x32]
cmp ax, cx
jne 0x4d546a
xor edx, edx
xor ebx, ebx
mov ecx, eax
cmp dx, ax
jae 0x4d545b
mov esi, dword [edi + 4]
mov dword [esp + 0x84], eax
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
sub eax, esi
mov dword [esp + 0x38], eax
nop
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x4d5457
mov eax, dword [edi + 0x20]
push dword [eax + ebx*4]
mov eax, dword [ebp + 0x20]
push dword [eax + ebx*4]
call fcn.004f93b0
add esp, 8
test eax, eax
jne 0x4d5457
mov eax, dword [esp + 0x84]
inc ebx
movzx eax, ax
add esi, 2
cmp ebx, eax
mov eax, dword [esp + 0x38]
jl 0x4d5420
mov ecx, dword [esp + 0x34]
movzx eax, cx
cmp ebx, eax
je 0x4d550f
movzx ecx, word [edi + 0x32]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x4d53f0
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x74]
cmp byte [ebp + 0xd8], 2
mov ebx, dword [esp + 0x14]
jae 0x4d571d
cmp byte [ebx + 0xb1], 0
je 0x4d55aa
cmp dword [esp + 0x80], 0
je 0x4d557d
mov eax, dword [ebx + 0xac]
push edi
mov dword [edi + 0x2c], eax
call fcn.004e51e0
add esp, 4
test eax, eax
je 0x4d557d
push str.invalid_rootpage
push ebp
call fcn.004d7b40
push 0x1e365
call fcn.004d41f0
add esp, 0xc
mov dword [ebp + 0xc], eax
jmp 0x4d575b
movzx eax, cx
test ax, ax
js 0x4d53c1
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
inc esi
movsx eax, cx
cmp esi, eax
jge 0x4d53cb
mov eax, dword [esp + 0x84]
jmp 0x4d5391
mov al, byte [ebp + 0x36]
mov cl, byte [edi + 0x36]
mov esi, dword [esp + 0x74]
cmp al, cl
je 0x4d5542
cmp al, 0xb
je 0x4d5536
cmp cl, 0xb
je 0x4d5536
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push esi
call fcn.004d7b40
add esp, 0xc
cmp byte [ebp + 0x36], 0xb
jne 0x4d5542
mov al, byte [edi + 0x36]
mov byte [ebp + 0x36], al
cmp byte [esp + 0x9c], 2
jne 0x4d5558
mov eax, dword [ebp + 0x38]
and eax, 0xfffffffc
xor eax, 2
mov dword [ebp + 0x38], eax
cmp byte [esi + 0xd8], 2
mov ebx, dword [esp + 0x14]
jb 0x4d575b
mov eax, dword [esi + 0xf8]
mov dword [edi + 0x14], eax
mov dword [esi + 0xf8], edi
jmp 0x4d57b9
mov eax, dword [edi + 0x18]
push edi
push dword [edi]
add eax, 0x18
push eax
call fcn.004e49f0
add esp, 0xc
test eax, eax
je 0x4d55a1
push ebx
call fcn.004e9170
add esp, 4
jmp 0x4d575b
or dword [ebx + 0x18], 1
jmp 0x4d571d
test byte [eax + 0x1c], 0x80
je 0x4d55bf
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4d5724
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x74], ebx
test esi, esi
jne 0x4d55f5
cmp dword [ebp + 0x7c], esi
jne 0x4d55e2
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x4d55e2
mov byte [ebp + 0x17], 1
push ebp
call fcn.004fe590
mov esi, eax
add esp, 4
test esi, esi
je 0x4d5289
push dword [esp + 0x1c]
push 1
push ebp
call fcn.004cd030
push 0xb8
push esi
call fcn.004fded0
push 2
push ebx
push dword [esp + 0x38]
mov dword [edi + 0x2c], eax
push 0x93
push esi
call fcn.004fdfe0
add esp, 0x28
cmp dword [esp + 0x8c], 0
je 0x4d567b
mov edx, dword [ebp + 0xd0]
add edx, dword [ebp + 0xcc]
mov eax, dword [esp + 0x2c]
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 + 0x8c], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x5853d0
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x24]
call fcn.004e8760
add esp, 0x14
mov ebx, eax
jmp 0x4d567d
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push ebx
push dword [esp + 0x78]
add ecx, ecx
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [edi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push ebp
call fcn.004e8f30
add esp, 0x1c
test ebx, ebx
je 0x4d56bc
push ebx
mov ebx, dword [esp + 0x18]
push ebx
call fcn.004d5a50
add esp, 8
jmp 0x4d56c0
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x80], 0
je 0x4d5711
push dword [esp + 0x74]
push edi
push ebp
call fcn.004f2030
push dword [esp + 0x28]
push ebp
call fcn.004d1290
add esp, 0x14
push 0
push dword [edi]
push str.name_q_AND_typeindex
push ebx
call fcn.004e8760
add esp, 0xc
push eax
push dword [esp + 0x24]
push esi
call fcn.004fe1e0
push 1
push 0
push 0xa6
push esi
call fcn.004fdf80
add esp, 0x20
push dword [edi + 0x2c]
push esi
call fcn.00508390
add esp, 8
mov eax, dword [esp + 0x80]
cmp byte [ebx + 0xb1], 0
jne 0x4d5742
test eax, eax
je 0x4d5742
cmp byte [ebp + 0xd8], 2
jb 0x4d575b
mov dword [ebp + 0xf8], edi
jmp 0x4d57b9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x18]
jmp 0x4d57c1
mov ebx, eax
test edi, edi
je 0x4d57b9
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4d5770
push eax
push ebx
call fcn.004db740
add esp, 8
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4d5781
push eax
push ebx
call fcn.004a90a0
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4d5792
push eax
push ebx
call fcn.004d5a50
add esp, 8
test byte [edi + 0x38], 0x10
je 0x4d57a9
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4d57a9
push eax
push ebx
call fcn.004d5a50
add esp, 8
push edi
push ebx
call fcn.004d5a50
add esp, 8
jmp 0x4d57b9
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
add ecx, 8
test edx, edx
je 0x4d57df
nop dword [eax + eax]
cmp byte [edx + 0x36], 5
je 0x4d582c
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x4d57d0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x90]
test esi, esi
je 0x4d57f8
push esi
push ebx
call fcn.004db740
add esp, 8
test ebp, ebp
je 0x4d5806
push ebp
push ebx
call fcn.004a90a0
add esp, 8
push dword [esp + 0x80]
push ebx
call fcn.004f7ff0
add esp, 8
test edi, edi
je 0x4d5824
push edi
push ebx
call fcn.004d5a50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4d57df
cmp byte [eax + 0x36], 5
je 0x4d57df
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 0x4d5833
jmp 0x4d57df
mov ebp, dword [esp + 0x84]
jmp 0x4d57e3