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

Disassembly:
sub esp, 0x14
push ebx
push esi
mov esi, dword [esp + 0x20]
mov ebx, dword [esi]
mov dword [esp + 0x20], ebx
cmp byte [ebx + 0x57], 0
jne 0x10107b7d
mov eax, dword [esp + 0x24]
push edi
add eax, 8
push eax
push 0
push esi
call fcn.10124770
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
je 0x10107b7c
mov cl, byte [edi + 0x2b]
cmp cl, 1
jne 0x10107975
push str.virtual_tables_may_not_be_altered
push esi
call fcn.10114f40
add esp, 8
pop edi
push dword [esp + 0x24]
push ebx
call fcn.10134080
add esp, 8
pop esi
pop ebx
add esp, 0x14
ret
cmp cl, 2
jne 0x1010799c
push str.Cannot_add_a_column_to_a_view
push esi
call fcn.10114f40
add esp, 8
pop edi
push dword [esp + 0x24]
push ebx
call fcn.10134080
add esp, 8
pop esi
pop ebx
add esp, 0x14
ret
push edi
push esi
call fcn.100f1d00
add esp, 8
test eax, eax
jne 0x10107b7c
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
mov dword [esp + 0x10], 0xffff8000
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x101079f0
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x101079ec
nop
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x101079e0
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x24]
push ebp
push 0
push 0x40
push ebx
call fcn.10112e00
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x10107b7b
push 0x40
push 0
push ebp
call fcn.1016bd70
mov dword [esi + 0xf0], ebp
mov dword [ebp + 0x18], 1
movzx eax, word [edi + 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
push ebx
call fcn.10112e00
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10107a55
push esi
push 0
push edi
call fcn.1016bd70
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov dword [ebp + 4], edi
push dword [esi]
push str.sqlite_altertab__s
push ebx
call fcn.10124b40
mov ecx, dword [ebp + 4]
add esp, 0xc
mov dword [ebp], eax
test ecx, ecx
je 0x10107b7b
test eax, eax
je 0x10107b7b
movsx eax, word [ebp + 0x22]
shl eax, 4
push eax
push dword [esi + 4]
push ecx
call fcn.1016b7f0
xor edx, edx
xor eax, eax
add esp, 0xc
mov dword [esp + 0x10], edx
cmp ax, word [ebp + 0x22]
jge 0x10107b4d
xor ecx, ecx
mov dword [esp + 0x18], ecx
nop
mov edi, dword [ebp + 4]
add edi, ecx
mov ebx, dword [edi]
test ebx, ebx
jne 0x10107ac1
mov dword [edi], ebx
xor cl, cl
jmp 0x10107b26
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107ac6
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push dword [esp + 0x30]
mov dword [esp + 0x2c], eax
call fcn.10112e00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10107af9
push dword [esp + 0x20]
push ebx
push esi
call fcn.1016b7f0
add esp, 0xc
xor cl, cl
mov dword [edi], esi
test esi, esi
jne 0x10107b07
mov edx, dword [esp + 0x10]
jmp 0x10107b26
mov al, byte [esi]
test al, al
je 0x10107b22
nop dword [eax]
movzx eax, al
lea esi, [esi + 1]
add cl, byte [eax + 0x1018ff38]
mov al, byte [esi]
test al, al
jne 0x10107b10
mov edx, dword [esp + 0x10]
mov byte [edi + 0xa], cl
inc edx
mov ecx, dword [esp + 0x18]
movsx eax, word [ebp + 0x22]
add ecx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
cmp edx, eax
jl 0x10107ab0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
push 0
push dword [esi + 0x34]
push ebx
call fcn.10119a30
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [ebp + 0x34], eax
add ecx, ecx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [ebp + 0x3c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x18], 1
pop ebp
pop edi
push dword [esp + 0x24]
push ebx
call fcn.10134080
add esp, 8
pop esi
pop ebx
add esp, 0x14
ret