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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov edi, dword [esi]
mov dword [esp + 0x14], edi
cmp byte [edi + 0x57], 0
jne 0x100617a0
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
je 0x1006154a
mov edi, dword [edi + 0x10]
xor ecx, ecx
cmp dword [edi + 0xc], edx
lea eax, [edi + 0xc]
je 0x1006153b
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x10061533
add ecx, ecx
mov eax, dword [edi + ecx*8]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
jmp 0x1006154d
mov eax, dword [ecx + 0xc]
push eax
push dword [ecx + 0x10]
xor edx, edx
mov ecx, esi
call fcn.10068d60
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x1006179c
mov cl, byte [ebx + 0x2b]
cmp cl, 1
jne 0x10061593
push str.virtual_tables_may_not_be_altered
push esi
call fcn.10020b80
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
jmp fcn.100704f0
cmp cl, 2
jne 0x100615b8
push str.Cannot_add_a_column_to_a_view
push esi
call fcn.10020b80
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
jmp fcn.100704f0
mov edx, ebx
mov ecx, esi
call fcn.10060a20
test eax, eax
jne 0x1006179c
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
mov dword [esp + 0x20], 0xffff8000
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x10061606
mov eax, dword [edi + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x20], ebx
cmp dword [eax], ecx
je 0x10061602
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x100615f6
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
push 0
push 0x40
mov ecx, edi
call fcn.1001d1c0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1006179c
push 0x40
push 0
push ebp
call fcn.101062c0
mov dword [esi + 0xf4], ebp
add esp, 0xc
mov dword [ebp + 0x18], 1
mov ecx, edi
movzx eax, word [ebx + 0x22]
mov word [ebp + 0x22], ax
cwde
dec eax
cdq
and edx, 7
push 0
lea esi, [edx + eax]
sar esi, 3
inc esi
shl esi, 7
push esi
call fcn.1001d1c0
mov edi, eax
add esp, 8
test edi, edi
je 0x1006166f
push esi
push 0
push edi
call fcn.101062c0
add esp, 0xc
mov dword [ebp + 4], edi
push dword [ebx]
mov edi, dword [esp + 0x18]
push str.sqlite_altertab__s
push edi
call fcn.1001fbf0
mov ecx, dword [ebp + 4]
add esp, 0xc
mov dword [ebp], eax
test ecx, ecx
je 0x1006179c
test eax, eax
je 0x1006179c
movsx eax, word [ebp + 0x22]
shl eax, 4
push eax
push dword [ebx + 4]
push ecx
call fcn.10107750
xor edx, edx
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], edx
cmp ax, word [ebp + 0x22]
jge 0x1006176d
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov edi, dword [ebp + 4]
add edi, ecx
mov ebx, dword [edi]
test ebx, ebx
jne 0x100616d9
mov dword [edi], ebx
xor cl, cl
jmp 0x10061746
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100616e0
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x30], eax
call fcn.1001d1c0
mov esi, eax
add esp, 8
test esi, esi
je 0x10061713
push dword [esp + 0x28]
push ebx
push esi
call fcn.10107750
add esp, 0xc
xor cl, cl
mov dword [edi], esi
test esi, esi
jne 0x10061721
mov edx, dword [esp + 0x18]
jmp 0x10061746
mov al, byte [esi]
test al, al
je 0x10061742
nop word [eax + eax]
movzx eax, al
lea esi, [esi + 1]
add cl, byte [eax + 0x1012c958]
mov al, byte [esi]
test al, al
jne 0x10061730
mov edx, dword [esp + 0x18]
mov byte [edi + 0xa], cl
inc edx
mov ecx, dword [esp + 0x24]
movsx eax, word [ebp + 0x22]
add ecx, 0x10
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
cmp edx, eax
jl 0x100616c8
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x34]
mov ecx, edi
push 0
call fcn.10057e80
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ebp + 0x34], eax
add ecx, ecx
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x18], 1
mov edx, dword [esp + 0x10]
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
jmp fcn.100704f0