Function at 0x467350
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, ecx
mov dword [esp + 0x14], edx
push esi
push edi
mov dword [esp + 0x30], ebx
mov esi, dword [ebx]
mov dword [esp + 0x28], esi
cmp byte [esi + 0x57], 0
jne 0x467bb0
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
je 0x4673a3
mov esi, dword [esi + 0x10]
xor ecx, ecx
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x467398
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x467390
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov ecx, dword [esp + 0x1c]
jmp 0x4673a6
mov eax, dword [ecx + 0xc]
push eax
push dword [ecx + 0x10]
xor edx, edx
mov ecx, ebx
call fcn.0046be70
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
je 0x467bac
mov edx, edi
mov ecx, ebx
call fcn.00463140
test eax, eax
jne 0x467bac
xor edx, edx
mov ecx, str.view
cmp byte [edi + 0x2b], 2
cmovne ecx, edx
cmp byte [edi + 0x2b], 1
jne 0x4673f0
mov ecx, str.virtual_table
jmp 0x4673f4
test ecx, ecx
je 0x46741e
push dword [edi]
push ecx
push str.drop_column_from
push str.cannot__s__s___s_
push ebx
call fcn.0041c910
mov edx, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0x28]
call fcn.00473f40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, esi
mov ecx, dword [esp + 0x28]
call fcn.0046c890
mov dword [esp + 0x34], eax
test eax, eax
je 0x467bac
mov edx, eax
mov ecx, edi
call fcn.0048f2b0
mov dword [esp + 0x38], eax
test eax, eax
jns 0x46745d
push esi
push str.no_such_column:___T_
push ebx
call fcn.0041c910
add esp, 0xc
jmp 0x467b9f
mov ecx, eax
mov eax, dword [edi + 4]
shl ecx, 4
mov dword [esp + 0x40], ecx
movzx eax, word [ecx + eax + 0xe]
test al, 9
je 0x467499
push dword [esp + 0x34]
test al, 1
mov ecx, str.UNIQUE
mov eax, str.PRIMARY_KEY
cmove eax, ecx
push eax
push str.cannot_drop__s_column:___s_
push ebx
call fcn.0041c910
add esp, 0x10
jmp 0x467b9f
cmp word [edi + 0x22], 1
jg 0x4674b7
push dword [esp + 0x34]
push str.cannot_drop_column___s_:_no_other_columns_exist
push ebx
call fcn.0041c910
add esp, 0xc
jmp 0x467b9f
mov ecx, dword [edi + 0x3c]
mov edi, 0xffff8000
test ecx, ecx
je 0x4674db
mov eax, dword [esp + 0x28]
xor edi, edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4674db
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x4674d3
mov eax, dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x34]
add ecx, ecx
mov edx, 0x1a
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ecx*8]
mov ecx, ebx
mov eax, dword [esp + 0x18]
push dword [eax]
push esi
call fcn.0046aec0
add esp, 0xc
test eax, eax
jne 0x467b9f
push 0
push 0x504da5
cmp edi, 1
mov byte [ebx + 0x10], 1
sete al
push eax
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push ebx
mov dword [esp + 0x60], eax
call fcn.0046b970
add esp, 0x1c
cmp edi, 1
je 0x467569
push 0
push 0x504da5
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push ebx
call fcn.0046b970
add esp, 0x14
push esi
push esi
push str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_quotefix__Q__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
push ebx
call fcn.0046b970
push str.UPDATE_temp.sqlite_master_SET_sql__sqlite_rename_quotefix_temp__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
push ebx
call fcn.0046b970
add esp, 0x18
jmp 0x467579
push esi
push esi
push str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_quotefix__Q__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
push ebx
call fcn.0046b970
add esp, 0x10
mov eax, dword [esp + 0x14]
push dword [eax]
push dword [esp + 0x3c]
push edi
push esi
push str.UPDATE___w_.sqlite_master_SET_sql__sqlite_drop_column__d__sql___d__WHERE__typetable_AND_tbl_name_Q_COLLATE_nocase_
push ebx
call fcn.0046b970
push 2
mov edx, edi
mov ecx, ebx
call fcn.00463220
add esp, 0x1c
mov byte [ebx + 0x10], 1
push 1
push str.after_drop_column
push dword [esp + 0x4c]
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push ebx
call fcn.0046b970
add esp, 0x1c
cmp edi, 1
je 0x4675d8
push 1
push str.after_drop_column
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push ebx
call fcn.0046b970
add esp, 0x14
cmp dword [ebx + 0x24], 0
jne 0x467b9f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 4]
test byte [ecx + eax + 0xe], 0x20
jne 0x467b9f
mov esi, dword [ebx + 8]
xor edx, edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], edx
test esi, esi
jne 0x467627
cmp dword [ebx + 0x78], edx
jne 0x46761e
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x46761e
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00440600
mov esi, eax
mov eax, dword [ebx + 0x28]
mov edx, eax
push 0x71
push dword [esp + 0x18]
mov dword [esp + 0x14], eax
lea ecx, [eax + 1]
mov dword [ebx + 0x28], ecx
mov ecx, ebx
push edi
call fcn.0047f560
mov ecx, dword [esi + 0x6c]
lea edi, [esi + 0x68]
add esp, 0xc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x70], ecx
jg 0x46767b
push 0
push 0
push dword [esp + 0x14]
mov edx, 0x24
mov ecx, esi
call fcn.00440850
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4676b1
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [esp + 0x2c], edi
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x2c]
mov edi, dword [esp + 0x14]
inc eax
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x10], eax
test byte [edi + 0x1c], 0x80
jne 0x467733
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4676f1
push 0
push eax
push edx
mov edx, 0x87
mov ecx, esi
call fcn.00440850
movsx ecx, word [edi + 0x22]
add esp, 0xc
add ecx, dword [ebx + 0x2c]
xor edx, edx
xor edi, edi
jmp 0x4677f8
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
xor edx, edx
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
movsx ecx, word [edi + 0x22]
add ecx, dword [ebx + 0x2c]
xor edi, edi
jmp 0x4677f8
mov edx, dword [edi + 8]
mov dword [esp + 0x18], edx
test edx, edx
je 0x467754
nop
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x467750
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x467740
mov dword [esp + 0x18], edx
movzx eax, word [edx + 0x34]
xor edi, edi
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [ebx + 0x2c], ecx
movzx eax, word [edx + 0x32]
mov ebx, eax
mov dword [esp + 0x40], ebx
xor ebx, ebx
cmp bx, ax
mov ebx, dword [esp + 0x30]
jae 0x4677ed
mov ebx, dword [esp + 0xc]
nop dword [eax]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4677a7
mov eax, dword [esp + 0x10]
mov edx, 0x5e
inc eax
mov ecx, esi
add eax, edi
push eax
push edi
push ebx
call fcn.00440850
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4677d9
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x10]
inc eax
mov dword [ecx + 0x10], 0
add eax, edi
mov dword [ecx + 0xc], eax
movzx ecx, word [edx + 0x32]
inc edi
cmp edi, ecx
jl 0x467780
mov ebx, dword [esp + 0x30]
mov eax, ecx
mov ecx, dword [ebx + 0x2c]
jmp 0x4677f1
mov eax, dword [esp + 0x40]
movzx edi, ax
mov dword [esp + 0x20], edi
lea eax, [ecx + 1]
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x24], eax
xor eax, eax
cmp ax, word [ecx + 0x22]
jge 0x467976
mov dword [esp + 0x40], eax
xor ebx, ebx
cmp ebx, dword [esp + 0x38]
je 0x46795c
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
test byte [eax + edx + 0xe], 0x20
mov edx, dword [esp + 0x18]
jne 0x46795c
test edx, edx
je 0x4678b4
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x467866
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
cmp bx, word [eax]
je 0x4678e8
inc ecx
add eax, 2
cmp ecx, edx
jl 0x467855
or edi, 0xffffffff
xor eax, eax
test edx, edx
je 0x46788d
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
movzx ebx, bx
mov ecx, dword [ecx + 4]
nop dword [eax]
cmp bx, word [ecx]
je 0x4678f5
inc eax
add ecx, 2
cmp eax, edx
jl 0x467880
or ecx, 0xffffffff
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
movzx eax, word [eax + 0x32]
cmp edi, eax
jl 0x467954
movsx eax, cx
xor ecx, ecx
cmp edi, eax
setg cl
sub edi, ecx
mov ecx, dword [esp + 0x14]
add edi, dword [esp + 0x10]
movsx eax, word [ecx + 0x20]
inc edi
cmp ebx, eax
jne 0x467937
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4678fa
push 0
push edi
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.00440850
mov edi, dword [esp + 0x2c]
add esp, 0xc
inc edi
mov dword [esp + 0x20], edi
jmp 0x467958
movzx eax, cx
movsx edi, ax
xor eax, eax
jmp 0x46786f
movzx ecx, ax
jmp 0x467890
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
inc edi
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esp + 0x20], edi
jmp 0x467958
push edi
push ebx
push dword [esp + 0x14]
mov edx, ecx
mov ecx, esi
call fcn.0045e220
mov edi, dword [esp + 0x2c]
add esp, 0xc
inc edi
mov dword [esp + 0x20], edi
jmp 0x467958
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
movsx eax, word [ecx + 0x22]
inc ebx
add dword [esp + 0x40], 0x10
mov dword [esp + 0x3c], ebx
cmp ebx, eax
jl 0x467820
mov ebx, dword [esp + 0x30]
test edi, edi
jne 0x4679dd
inc dword [ebx + 0x2c]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x6c]
lea edi, [ebx + 1]
cmp dword [esi + 0x70], ecx
jg 0x4679a7
push 0
push edi
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.00440850
add esp, 0xc
mov edx, 1
jmp 0x4679e5
lea eax, [ecx + 1]
mov edx, 1
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4679e5
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x6c]
lea edi, [ebx + 1]
cmp dword [esi + 0x70], ecx
jg 0x467a0b
push dword [esp + 0x24]
mov ecx, esi
push edx
push edi
mov edx, 0x61
call fcn.00440850
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x467a3a
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x467afe
movzx ebx, word [eax + 0x32]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x40], ebx
cmp dword [esi + 0x70], edx
jg 0x467a72
push edi
push dword [esp + 0x28]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x14]
call fcn.00440850
add esp, 0xc
mov edx, eax
jmp 0x467aa5
mov ebx, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x467abc
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x467ad7
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x44]
mov ecx, dword [esi + 0x6c]
lea edx, [edi + 1]
cmp dword [esi + 0x70], ecx
jg 0x467b52
push 0
push edx
push ebx
mov edx, 0x27
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x467b81
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x467b1e
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, esi
push edx
push ebx
mov edx, 0x80
call fcn.00440850
add esp, 0xc
jmp 0x467ac0
mov ebx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x467ac0
mov edi, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x467b93
mov eax, 0x514d18
jmp 0x467b9c
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
call fcn.00418b80
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
call fcn.00473f40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret